Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology
Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology

Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

This is the first end-to-end guide to building and maintaining fast, scalable Web applications with Java technologies. Unlike competitive books, Building Scalable Java Web Applications doesn't focus on a single technology: it shows how they all fit together -- offering practical integration techniques that encompass servlets, EJB, RMI, database design, messaging, deployment, and much more. Barish begins with an overview of the performance challenges faced by developers of enterprise Web applications and sites; then introduces key architectural techniques that lay the groundwork for optimal performance. He introduces an array of approaches to scalability and performance, including caching and replication; then takes a close look at HTTP client/server communication and Web-based request processing. The book includes in-depth, practical coverage of session management with Java servlets using Enterprise JavaBeans; application middleware alternatives such as RMI and CORBA; and database design and integration for quick Web response. Barish concludes with a detailed example application.

Table of Contents:
Preface. 1. Scalable and High-Performance Web Applications. The Emergence of Web Applications. Some Basic Definitions. The Nature of the Web and Its Challenges. Performance and Scalability. Performance. Scalability. The Internet Medium. Wide Audience. Interactive. Dynamic. Always On. Integrated. Lack of Complete Control. Measuring Performance and Scalability. Measuring Performance Other Types of Measurements. Measuring Scalability. Throughput and Price/Performance. Scalability and Performance Hints. Think End-to-End. Scalability Does Not Equal Performance. Measure Scalability by Comparison. Summary. 2. Web Application Architecture. Web Application Terminology. Application Requirements. Business Logic Requirements. Data Management Requirements. Interface Requirements. Web Requirements. Network Connectivity Requirements. Abstract Web Application Architecture. From Client to Server: Thin-Clients and Fat-Clients. Persistent Data Management. N-tier Application Architecture. The Client. The Network. The Server. Tier-Based Designs. Challenge: Efficient Middleware. Scalability and Performance Hints. Don't Always Starve Thin Clients. Use or Build Multithreaded Application Servers. Find the Right Granularity. Summary. 3. The J2EE Specification. An Overview of the Specification. Deployment Issues. Packaging. Deployment Descriptor Files. Platform Technologies and Services. Component Communication via the RMI-IIOP Protocol. Transaction Management Using the Java Transaction API. JNDI for Resource Location. J2EE and Your Architecture. Summary. 4. General Scalability and Performance Techniques. Caching/Replication. Parallelism. Redundancy. Asynchrony. Resource Pooling. Summary. 5. HTTP Client/Server Communication. The HTTP Protocol. Deployment Paradigms. Applications with Browsers as Clients. Applications without Browsers as Clients. Efficiency of the HTTP Protocol. HTTP Protocol Details. Detailed Protocol Semantics. HTTP Requests. The GET Method. The POST Method. HTTP 1.1 Caching Details. Connection Management. Performance and Scalability Hints. Use HTTP GET and POST Judiciously. Consider Using HTTP for Non-Browser Clients. Promote HTTP Response Caching. Support Persistent Connections. Summary. 6. Request Processing: Concepts and Strategies. The General Problem. Specific Challenges. Connection Management. Data Marshalling. Request Servicing. Modes of Request Processing. Synchronous. Asynchronous Communication. Scalability and Performance Implications. The Role of J2EE in Request Processing. Web Serving. Synchronous Processing with Java Servlets and Java Server Pages. Asynchronous Processing with the Java Message Service. Scalability and Performance Hints. Prefer Asynchronous Communication. Stream Data between Threads. Develop Remote Methods That Encourage Efficiency. Summary. 7. Session Management with Java Servlets. Generating Dynamic Responses. Common Gateway Interface. Extending the Web Server through Its API. Redirecting the Web Server Request. Using Servlets. Servlets and Servlet Containers. Interacting with a Servlet. Web Server and Servlet Container Integration Details. Developing Servlets. Designing the Servlet Interface. Coding the Servlet. Servlet Execution. How a Servlet Container Works. Servlets and Multithreading. Servlets and Session Management. What Is Session Management? Session Identification. Using HTTP User Authentication. Using Hidden Form Fields. Using Rewritten URLs. Using HTTP Persistent Cookies. Using the Java Servlet Session Tracking API. Deploying Servlets. Session Management with Multiple Containers. Developing Servlets with Java Server Pages. Sample JSP Page. The Structure of a JSP Page. How JSP Works. JSP Directives. So, what is JSP... really? Performance and Scalability Hints. Prefer Fine-Grain Serialization. Prefer Hardware-Based Load Balancing. Use Servlets for Session Management, not Business Logic. Think Twice about Using JSP. Summary. 8. Building Application Servers with Enterprise Java Beans. The Need for Application Servers. Application Logic and Where to Deploy It. Enterprise Java Beans: The J2EE Solution. How EJBs Work. Types of EJBs. Example Application. EJB Design. Session Beans. Entity Beans. Message-Driven Beans. EJB Implementation. Bean Development Responsibilities. Session Beans. Entity Beans. Message-Driven Beans. Client/EJB Integration. Client/EJB Communication: Behind the Scenes. Performance and Scalability Hints. Prefer Message-Driven Beans over Session Beans. When You Use Session Beans, Use Stateless Session Beans. Strive for Coarse-Grain EJB Methods. Use BMP Well or Don't Use It at All. Know Your Vendor. Summary. 9. Messaging for Efficient Enterprise Application Integration. A B2B-Style Working Example. The Java Message Service. JMS Concepts. Providers. Clients. Messages. Administrative Objects. JMS Programming Models. Model-Specific Administrative Object Interfaces. The Synchrony of Message Consumption. JMS Reliability versus Performance. Client Acknowledgment. Message Persistence. Timing Dependencies and JMS Publishing Models. Using JMS: An Example Pub/Sub Application. Developing the Message Publisher. Developing the Message Subscriber. Towards Deployment. Scalability and Performance Hints. Prefer Messaging—Both Inside and Out. Understand the JMS Efficiency versus Reliability Tradeoff. Summary. 10. Effective Database Design. Database Technology and the Relational Model. Relational Databases. Logical Database Design. Entities, Attributes, and Relationships. Physical Database Design. Tables and Rows. Constraints. Querying a Database. Querying Data. Nested Queries. Join Queries. Other Important Database Objects. Views. Stored Procedures. Triggers. Indexes. Sequences. Other Objects. Query Processing. Scalability and Performance Hints. Understand How to Use the Database. Understand When to Use the Database. Understand How Your Data Will Be Accessed. Normalize Your Data Model. Selectively Denormalize Your Model. Use Stored Procedures. Avoid Triggers and Other Implicit Execution. Know Your Vendor. Summary. 11. Using JDBC and SQL to Efficiently Query Databases. How JDBC Fits In. JDBC Concepts and Objects. An Overview of Querying with JDBC. Relevant JDBC Classes and Their Relationships. Connecting to a Database. Writing JDBC Queries. Processing a Statement. Iterating through Results. Executing Single Updates. Other Kinds of Updates: Creating Tables and Stored Procedures. Beyond the Basics. Prepared Statements. Dynamic SQL. Transaction Management. Bidirectional Results Iteration. Updateable Results. Executing Batch Updates. Scalability and Performance Hints. Use Prepared Statement When Possible. Use Batch Updates with a Remote Database. Don't Overcommit. Use Multithreading to Query in Parallel. Summary. 12. Web Services: The Future of Web Applications. What Exactly Is a Web Service? Surveying Web Service Technologies. A Quick Tour of the Technologies. Putting It All Together. XML: Self-describing Data. DTDs and Schema Languages. Parsing XML. XML-Related Technologies. Coding Web Services. Describing Web Services with WSDL. WSDL Definitions. WSDL Example. Invoking Web Services with SOAP. How SOAP Works. Using SOAP over HTTP. Registering Web Services with UDDI. UDDI Standards. The UDDI APIs. The Big Picture. The Provider Perspective. The Consumer Perspective. Scalability and Performance Challenges. Replicating and Load Balancing Remote Functions. XML Parsing Performance. Summary. Bibliography. Index.

About the Author :
Greg Barish is a consultant specializing in the design of and architecture for scalable and high-performance Web applications. He has held engineering positions at both Oracle and at Healtheon/WebMD, where he was primarily involved in the design and implementation of object-oriented, distributed application systems. Mr. Barish earned a B.S. in cognitive science from UCLA and an M.S. in computer science from the University of Southern California. 0201729563AB12172001


Best Sellers


Product Details
  • ISBN-13: 9780201729566
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 234 mm
  • No of Pages: 416
  • Weight: 860 gr
  • ISBN-10: 0201729563
  • Publisher Date: 08 Jan 2002
  • Binding: SA
  • Language: English
  • Spine Width: 23 mm
  • Width: 188 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology
Pearson Education (US) -
Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!