|
 |
|
 |
 |
Building Java Enterprise Applications, Vol. 1: Architecture (O'Reilly Java)
|
by Brett McLaughlin
Sales Rank: 780094
|
List Price: $39.95
$35.96
At Amazon

|
|
Paperback: 318 pages
Publisher: O'Reilly Media, Inc.; 1st edition March 2002
Language: English
ISBN-10: 0596001231
ISBN-13: 978-0596001230
Product Dimensions:
9.2 x 7.1 x 0.8 inches
Shipping Weight: 1.1 pounds
Product Review
Aimed at the more experienced Java developer, Building Java Enterprise Applications provides a detailed tour of the best practices for today's J2EE architecture. Filled with particularly good advice on using Enterprise JavaBeans (EJBs) and LDAP directory services, this title lays the groundwork for building the next generation of Java software.
As volume one of a planned three-volume series, this book centers on "blueprints" for using the best of J2EE technologies for creating scalable software. The focus here is on a meaningful, single practical case study on a database for a brokerage house. The selection of leading-edge technologies (EJB and LDAP) are what real Java developers are likely to face on the job, and the author's knowledgeable and thorough explanation of all the relevant details of implementing the sample system sets a high standard.
Early sections define the scope and requirements of the model database and directory server. The author then turns to implementing the database, including building tables. (Actual SQL for different databases including Oracle and MySQL is included in an appendix.) Similarly, the "real" details of modeling a directory server (using LDAP) is set out to show how users, passwords, and other information can be leveraged across a larger organization. After the groundwork is in place, this text zeroes in on using Enterprise JavaBeans (EJB) 2.0 to model each business entity in the system (as well as application logic). Standout material shows off building an entity EJB with multiple interfaces, classes, and deployment descriptors all clearly presented.
The use of the manager session bean to hide the details of JNDI and LDAP comes next, and this bit of intellectual property will surely justify the price of this book for anyone seeking to combine EJBs and LDAP. From here, the application logic gets filled in using other EJB features (like session beans, both stateful and stateless). A later chapter adds asynchronous processing abilities using the Java Message Service (JMS) and the new message bean type, new for EJB 2.0. The assembled system then gets a simple front end to test it out, though the focus clearly is on the data tier. (More on user interfaces is promised in the second volume of this series, which will concentrate on Web applications.)
Useful appendices provide the nuts and bolts of running actual software, like OpenLDAP, a free directory server, BEA WebLogic, plus full source code for all beans discussed in this text. All in all, this book is a worthwhile choice for understanding the right ways for designing on the Java platform today when it comes to higher-end enterprise software. --Richard Dragan
Topics covered: Introduction to architecture for Java Enterprise applications; case study for a client/broker database for a brokerage with scheduling support, data, business, and presentation layers explained; primer for database design (including SQL, constraints, and tables); designing an LDAP directory (plus directory hierarchies); Enterprise JavaBean 2.0 basics (remote, local, and local home interfaces, plus primary keys); EJB deployment descriptors; implementing sequences for new records in EJBs (a sequence bean); using a manager EJB for JNDI/LDAP processing; connection sharing for performance; adding sample data; deployment; using patterns for business logic with EJBs (the Facade pattern); stateful vs. stateless beans; asynchronous processing and message beans (including JMS basics); extending the data architecture for Web applications (and Web services); appendices for sample SQL scripts and database-specific hints for MySQL, Oracle, and PostgreSQL; and a reference to running OpenLDAP, iPlanet Directory Server, and BEA WebLogic Application Server.
Product Description
What are the key decisions and tradeoffs you face as you design and develop enterprise applications? How do you build the back end so that it not only handles your current needs but is flexible enough to allow your system to evolve as your needs expand? Answer these questions and many more with Building Java Enterprise Applications, an advanced guide to building complex Java Enterprise Applications from the ground up that addresses design issues along the way. These practical books take a step back from detailed examination of the APIs and focus on the entire picture, so you can put the pieces together and build something that works! This book explores the infrastructure issues so important to good application design. It isn't just a book about doing things with Entity Beans, JDBC and JMS and JNDI. It takes you step by step through building the back end, designing the data store so that it gives you convenient access to the data your application needs; designing a directory; figuring out how to handle security and where to store security credentials you need; and so on. On top of this, it shows -- as easily as possible --how to build the entity bean layer that makes information available to the rest of the application. Throughout this guide, author Brett McLaughlin uses his wealth of real-world experience with enterprise development to show you one step at a time how to design and build a comprehensive enterprise application from the ground up, starting with the back end.
Customer Reviews & Comments
I have been programming with Java for over 6 years now and have been teaching Java, J2EE for almost just as long. In my role as lead developer, architect, teacher, and mentor, I am always looking for good books that I can recommend that really teaches people how to write good code. In the J2EE arena, I've had two favorites that I always recommend - Core J2EE Patterns: Best Practices and Design Strategies by Deepak Alur and Designing Enterprise Applications with the J2EE Platform by Inderjeet Singh. I love the way those books are written and I find the same traits in this book. I'm going to have to add this book that list as Brett has written a great book. In the 1st book of the 3-book series, Brett walks the reader through the architectural issues developers typically face when they start on a new project. The 2nd book in this series will deal with Web Applications and the 3rd book will deal with the concept of Web Services. The book starts off where the developer(s), working for a fictional company gets a set of requirement for an application. As you read the book, you go through all of the steps of the software development process and discovering how the different J2EE technologies work together to make up the final solution. The book is aimed at experienced developers who don't mind wading through hundreds of lines of code. The goal here is to explore and understand concept using code and is not meant for the uninitiated. The author arms the readers with tips, tricks, techniques that make up a good design based on real-world experience which makes this book a really good resource for any enterprise developer.
Comment | Permalink |
(Report this)
|
Building Java Enterprise Applications, Vol. 1: Architecture (O'Reilly Java)
List Price: $39.95
Available from Amazon
Price: $35.96

| |
|
|
|
|