Core J2EE Patterns: Best Practices and Design Strategies
Over the last few years, Java 2 Platform, Enterprise Edition (J2EE) technology has emerged and matured as a standard platform for building enterprise applications. While the platform has matured into a solid offering for developing and deploying enterprise applications, it does offer its challenges. As developers, often we confuse learning the technology with learning to design with the technology. In this book, senior architects from the Sun Java Center, Sun's Java consulting organization share with the reader their cumulative design experience with and expertise on J2EE technology.
The primary focus of the book is on patterns, best practices, design strategies, and proven solutions using the key J2EE technologies including JavaServer Pages (JSP), Servlets, Enterprise Java Beans (EJB), and Java Message Service (J.M.S) API. Other ancillary technologies like JDBC and JNDI are also discussed as relevant to their usage in these patterns. The J2EE Patterns catalog with 16 patterns and numerous strategies is presented to document and promote best practices for these technologies.
In addition to the patterns and strategies, the book offers the following:
Core J2EE Patterns delivers:
検索結果1-3 / 25
Embedding Service Lookup in Clients Problem Summary Clients and
presentation tier objects frequently need to look up the enterprise beans. In an
EJB environment, the container uses JNDI to provide this service. Putting the
burden of ...
To interact with these components, clients must either locate the service
component (referred to as a lookup operation) or create a new component. For
instance, an EJB client must locate the enterprise bean's home object, which the
The process to look up and create components involves a vendor-supplied
context factory implementation. This introduces vendor dependency in the
application clients that need to use the JNDI lookup facility to locate the
enterprise beans ...