Programming Books C Java PHP Python Learn more Browse Programming Books
  • List Price: $39.95
  • Save: $10.11 (25%)
FREE Shipping on orders over $35.
Only 20 left in stock.
Ships from and sold by
Gift-wrap available.
FREE Shipping on orders over $35.
Used: Very Good | Details
Sold by Electra Science
Condition: Used: Very Good
Comment: Used - Very Good - Paperback. Covers, corners & edges are slightly worn. Previous owner's personal library raised seal on 1st page. No other markings/writing found on pages. Tight binding, spine not creased. All pages intact. Not ex-library.
Access codes and supplements are not guaranteed with used items.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Building Java Enterprise Applications, Vol. 1: Architecture (O'Reilly Java) Paperback – March, 2002

ISBN-13: 978-0596001230 ISBN-10: 0596001231 Edition: 1st

Buy New
Price: $29.84
28 New from $2.01 42 Used from $0.01 1 Collectible from $9.98
Amazon Price New from Used from
"Please retry"
$2.01 $0.01

Frequently Bought Together

Building Java Enterprise Applications, Vol. 1: Architecture (O'Reilly Java) + Agile Java Development with Spring, Hibernate and Eclipse
Price for both: $69.17

One of these items ships sooner than the other.

Buy the selected items together

Shop the New Digital Design Bookstore
Check out the Digital Design Bookstore, a new hub for photographers, art directors, illustrators, web developers, and other creative individuals to find highly rated and highly relevant career resources. Shop books on web development and graphic design, or check out blog posts by authors and thought-leaders in the design industry. Shop now

Product Details

  • Paperback: 320 pages
  • Publisher: O'Reilly Media; 1 edition (March 2002)
  • Language: English
  • ISBN-10: 0596001231
  • ISBN-13: 978-0596001230
  • Product Dimensions: 7 x 0.8 x 9.2 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.2 out of 5 stars  See all reviews (12 customer reviews)
  • Amazon Best Sellers Rank: #3,191,147 in Books (See Top 100 in Books)

Editorial Reviews 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.

About the Author

Brett McLaughlin has been working in computers since the Logo days. (Remember the little triangle?) He currently specializes in building application infrastructure using Java and Java-related technologies. He has spent the last several years implementing these infrastructures at Nextel Communications and Allegiance Telecom, Inc. Brett is one of the co-founders of the Java Apache project Turbine, which builds a reusable component architecture for web application development using Java servlets. He is also a contributor of the EJBoss project, an open source EJB application server, and Cocoon, an open source XML web-publishing engine. He is author of the soon-to-be-released O'Reilly book, Building Java Enterprise Applications.

More About the Author

Brett D. McLaughlin is a bestselling and award-winning non-fiction author. His books on computer programming, home theater, and analysis and design have sold in excess of 100,000 copies. He has been writing, editing, and producing technical books for nearly a decade, and is as comfortable in front of a word processor as he is behind a guitar, chasing his two sons around the house, or marveling at Damages with his wife.

Miracle is Brett's first fiction novel, but his short stories and writing skills have been garnering lots of attention in 2007. He is a book reviewer for Infuze Magazine, and a regular guest lecturer in First Baptist Academy, Dallas's creative writing course. He's been asked to teach a concentrated course in Professional Writing for students intending to major in writing-related degrees. His short story 'Change of Heart' was published online at the Relief Writer's Network, and is set for inclusion in the second issue of Coach's Midnight Diner, a genre publication of Christian-influenced short stories.

Customer Reviews

3.2 out of 5 stars

Most Helpful Customer Reviews

16 of 16 people found the following review helpful By Amazon Customer on July 12, 2002
Format: Paperback
I really wanted to like this book, but I simply could not. I enjoyed Brett's Java & XML quite a bit, and my hopes for Java Enterprise Applications were quite high. The idea behind the series, to show how everything in J2EE fits together, sounded really appealing.
Alas, the book did not live up to my expectations. I am an experienced Java developer currently studying for the Sun Certified Enterprise Architect certification. For me, the contents of the book were on the verge of being trivial. I learned a little about LDAP, but the rest of the book was very much fluff, and not very filling.
Even more annoyingly, the book contains some subtle errors and bad practices, like Double-Checked Locking on page 135 ...pooling of potentially broken connections on page 139, arguments from "security through obscurity" on page 151, and suppressed exceptions on page 155. J2EE contains enough pitfalls for practitioners even without experts teaching bad practices.
This book has its good sides, too. It contains much source code, making it a fast read. The amount of source code really highlights some of the very negative aspects of EJBs (especially Entity beans), but the author did give any suggestions for improvements.
If you have just encountered J2EE and EJBs, this book might be good for you. I would rather recommend reading Monson-Haefel on EJBs and the JMS tutorial trail on
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
13 of 13 people found the following review helpful By Andrew Lukasik on August 28, 2002
Format: Paperback
I've often seen complaints about O'Reilly's editing in reviews like this. Now I know what all those folks are complaining about. The diagrams and examples in this book are just plain *BAD*. In the section on DB design I don't think there wasn't one ER diagram with out MULTIPLE errors. Where's the quality control? I would have given 4 stars if the diagrams and examples were corrct.
The textual content of the book is actually pretty good, easy to read, but a little slow paced for me. I was initially attracted to the book because of it's promise of bringing multiple J2EE concepts toghether in one read. I'm afraid tho that if I'm left to analyzing and correcting errors in areas that I'm familiar with that I'll be very confused and frustrated by errors in areas I'm not so familar with.
I will certainly scrutinize the next two volumes in the series much more closely before I consider buying.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
12 of 13 people found the following review helpful By A Customer on July 18, 2002
Format: Paperback
I was extremely disappointed by this book. I thought it was a book about how to architect Java applications. It is not. While I appreciate the book's goal of providing practical examples, it is nothing but an example of building one particular application. It's not much more than a tutorial. I want a book of principles, guidelines, best practices for building Java applications - a series of general principles that I can apply to any situation. O'Reilly books are normally great; I bought this book largely because it was from O'Reilly. Big mistake. If you want a book of general principles for how to design a Java enterprise app, Core J2EE Patterns is excellent and much better than this one.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
22 of 29 people found the following review helpful By Vinny Carpenter on April 7, 2002
Format: Paperback
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 Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
8 of 10 people found the following review helpful By Muralidhara Subbaraya on May 4, 2002
Format: Paperback
This book kept me absorbed from first to the end. I learnt lot of interesting and important stuff otherwise, I would have missed in my design. The book begins with an imaginary organization in need of computerization. Author starts with data modelling, how we could use LDAP to authentication to authorization, ejb components and usage and finally using an example of JMS. Lots of trips and techniques of good design is illustrated. The author gradually improves the design from previous chapters and and also keep changing the code accordingly. I am glad I bought this book and I am eager to see the next two book in the series.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

What Other Items Do Customers Buy After Viewing This Item?