Java Enterprise Best Practices (E-BOOK) [Elektronisk resurs].

By: Authors, O'ReillyPublisher: Sebastopol : O'Reilly Media, Inc., 2010Description: 1 online resource (290 p.)ISBN: 978-1-4493-9087-7; 978-1-4493-9087-7Subject(s): Java (Computer program language) | Object-oriented programming (Computer science) | Web servers | Java Enterprise Best Practices (E-BOOK)Genre/Form: Electronic books.DDC classification: 005.133 Online resources: Click here to access online | Click here to access online
Contents:
Choosing between Type 2 and Type 4 driversUse DataSource Whenever Possible; Leverage Proprietary Connection Properties; Pool Database Connections; Design; Separate Application, Persistence, and JDBC Logic; Avoid Long-Lived Transactions; Do Not Rely on Built-in Key Generation; Don't Be Afraid to Use Optimistic Concurrency; Code; Use PreparedStatement; Leverage PreparedStatement Pooling; Question Using Nonstandard SQL; Delay Access to Metadata; Reference Columns by Number; Navigate a ResultSet Forward Only; Close Statements and Result Sets; Thread JDBC Code in Swing Applications
Don't Be Afraid to Use Helper Classes
Handle Exceptions in EJB Code CorrectlyKnow When to Use Compound Primary Keys; Know How to Handle Large Queries; Use Dirty Flags in ejbStore; Use Lazy Loading; Cache JNDI Lookup Objects; Use Business Delegates for Clients; Write Dual CMP/BMP Entity Beans; Create Domain Object Factories; Deployment and Packaging; Create a Build Environment; Separate Components and Create Shared Libraries; Write Testing and Diagnostics Code; Servlet Best Practices; Working Effectively with Servlets; Choose the Right Servlet Framework; Tips for selecting a framework; High-profile frameworks
Minimize Database Calls and Perform Lazy-LoadingCache Lookup Tables; Use wasNull(??) Checks; General Database; Always Optimize SQL Before Other Optimizations; Do Not Store Binary Data in Database; Normalize First, Denormalize Later; Do Not Use Primary Keys with Real-World Meaning; XML Best Practices; XML Authoring; Use Entity References; Use Parameter Entities; Use Elements Sparingly, Attributes Excessively; SAX; Use the InputSource Class Correctly; Understand How SAX Handles Entity Resolution; Consider Using Partial Validation; DOM; Bootstrap DOM Correctly; DOM Levels 1 and 2; DOM Level 3
Table of Contents; Preface; Audience; Organization; Conventions Used in This Book; How to Contact Us; Acknowledgments; Introduction to Java Enterprise Best Practices; How Does a Best Practice Come About?; Can Best Practices Be Arguable?; What's in This Book?; About the Practices Themselves; Enterprise Java Programming Resources Online; EJB Best Practices; Design; Know When to Use EJBs; Use Standard Design Architecture; Use CMP Entity Beans; Use Design Patterns; Session fa硤e; Value objects; Implementation; Use Local Interfaces for Entity Beans; Use Business Interfaces
Use Pre-Encoded CharactersLoad Configuration Files from the Classpath; Think of Sessions as a Local Cache; Architecture of a shopping cart; When to use sessions; Don't Use SingleThreadModel; Caching with Servlets; Pregenerate Content Offline and Cache Like Mad; Pregeneration tools; Cache on the client; Cache at the proxy; Cache on the server; ?.?.?.?Or don't cache at all; Other Servlet Tips; Use Content-Disposition to Send a File; Hire a UI Designer; JDBC Best Practices; Configuration; Avoid Type 1 and Type 3 Drivers; When to use a Type 1 or Type 3 driver
Summary: Java developers typically go through four "stages" in mastering Java. In the first stage, they learn the language itself. In the second stage, they study the APIs. In the third stage, they become proficient in the environment. It is in the fourth stage --"the expert stage"-- where things really get interesting, and Java Enterprise Best Practices is the tangible compendium of experience that developers need to breeze through this fourth and final stage of Enterprise Java mastery. Crammed with tips and tricks, Java Enterprise Best Practices distills years of solid experience from eleven expe
Tags from this library: No tags from this library for this title. Log in to add tags.
Item type Current location Home library Collection Call number URL Status Date due Barcode Item holds
Book Book Military College of Signals (MCS)
Military College of Signals (MCS)
NFIC 005.133 SEB (Browse shelf) Link to resource Available MCSEB-1959
Total holds: 0

Description based upon print version of record.

Choosing between Type 2 and Type 4 driversUse DataSource Whenever Possible; Leverage Proprietary Connection Properties; Pool Database Connections; Design; Separate Application, Persistence, and JDBC Logic; Avoid Long-Lived Transactions; Do Not Rely on Built-in Key Generation; Don't Be Afraid to Use Optimistic Concurrency; Code; Use PreparedStatement; Leverage PreparedStatement Pooling; Question Using Nonstandard SQL; Delay Access to Metadata; Reference Columns by Number; Navigate a ResultSet Forward Only; Close Statements and Result Sets; Thread JDBC Code in Swing Applications

Don't Be Afraid to Use Helper Classes

Handle Exceptions in EJB Code CorrectlyKnow When to Use Compound Primary Keys; Know How to Handle Large Queries; Use Dirty Flags in ejbStore; Use Lazy Loading; Cache JNDI Lookup Objects; Use Business Delegates for Clients; Write Dual CMP/BMP Entity Beans; Create Domain Object Factories; Deployment and Packaging; Create a Build Environment; Separate Components and Create Shared Libraries; Write Testing and Diagnostics Code; Servlet Best Practices; Working Effectively with Servlets; Choose the Right Servlet Framework; Tips for selecting a framework; High-profile frameworks

Minimize Database Calls and Perform Lazy-LoadingCache Lookup Tables; Use wasNull(??) Checks; General Database; Always Optimize SQL Before Other Optimizations; Do Not Store Binary Data in Database; Normalize First, Denormalize Later; Do Not Use Primary Keys with Real-World Meaning; XML Best Practices; XML Authoring; Use Entity References; Use Parameter Entities; Use Elements Sparingly, Attributes Excessively; SAX; Use the InputSource Class Correctly; Understand How SAX Handles Entity Resolution; Consider Using Partial Validation; DOM; Bootstrap DOM Correctly; DOM Levels 1 and 2; DOM Level 3

Table of Contents; Preface; Audience; Organization; Conventions Used in This Book; How to Contact Us; Acknowledgments; Introduction to Java Enterprise Best Practices; How Does a Best Practice Come About?; Can Best Practices Be Arguable?; What's in This Book?; About the Practices Themselves; Enterprise Java Programming Resources Online; EJB Best Practices; Design; Know When to Use EJBs; Use Standard Design Architecture; Use CMP Entity Beans; Use Design Patterns; Session fa硤e; Value objects; Implementation; Use Local Interfaces for Entity Beans; Use Business Interfaces

Use Pre-Encoded CharactersLoad Configuration Files from the Classpath; Think of Sessions as a Local Cache; Architecture of a shopping cart; When to use sessions; Don't Use SingleThreadModel; Caching with Servlets; Pregenerate Content Offline and Cache Like Mad; Pregeneration tools; Cache on the client; Cache at the proxy; Cache on the server; ?.?.?.?Or don't cache at all; Other Servlet Tips; Use Content-Disposition to Send a File; Hire a UI Designer; JDBC Best Practices; Configuration; Avoid Type 1 and Type 3 Drivers; When to use a Type 1 or Type 3 driver

Java developers typically go through four "stages" in mastering Java. In the first stage, they learn the language itself. In the second stage, they study the APIs. In the third stage, they become proficient in the environment. It is in the fourth stage --"the expert stage"-- where things really get interesting, and Java Enterprise Best Practices is the tangible compendium of experience that developers need to breeze through this fourth and final stage of Enterprise Java mastery. Crammed with tips and tricks, Java Enterprise Best Practices distills years of solid experience from eleven expe

There are no comments on this title.

to post a comment.
© 2023 Central Library, National University of Sciences and Technology. All Rights Reserved.