BUY THIS BOOK
This print book is out of stock, with no immediate plans to reprint.

Safari Books Online

What is this?


Looking to Reprint this content?

Java Enterprise Best Practices

By The O'Reilly Java Authors
Edited by Robert Eckstein
December 2002
Pages: 288
ISBN 10: 0-596-00384-6 | ISBN 13: 9780596003845
starstarstarstarstar (Average of 5 Customer Reviews)

Buy 2 Get 1 Free Free ShippingGuarantee

Description

Until Java Enterprise Best Practices, advanced Java developers relied on the advice of a loose-knit community of fellow developers, time-consuming online searches for examples or suggestions for the immediate problem they faced, and tedious trial-and-error. But Java has grown to include a huge number of APIs, classes, and methods. Now it is simply too large for even the most intrepid developer to know it all. The need for a written compendium of J2EE Best Practices has never been greater. Java Enterprise Best Practices focuses on the Java 2 Enterprise Edition (J2EE) APIs. The J2EE APIs include such alphabet soup acronyms as EJB, JDBC, RMI, XML, and JMX.
Full Description

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 experts in the J2EE environment into a practical, to-the-point guide to J2EE. Java Enterprise Best Practices gives developers the unvarnished, expert-tested advice that the man pages don't provide--what areas of the APIs should be used frequently (and which are better avoided); elegant solutions to problems you face that other developers have already discovered; what things you should always do, what things you should consider doing, and what things you should never do--even if the documentation says it's ok. Until Java Enterprise Best Practices, Java developers in the fourth stage of mastery relied on the advice of a loose-knit community of fellow developers, time-consuming online searches for examples or suggestions for the immediate problem they faced, and tedious trial-and-error. But Java has grown to include a huge number of APIs, classes, and methods. Now it is simply too large for even the most intrepid developer to know it all. The need for a written compendium of J2EE Best Practices has never been greater. Java Enterprise Best Practices focuses on the Java 2 Enterprise Edition (J2EE) APIs. The J2EE APIs include such alphabet soup acronyms as EJB, JDBC, RMI, XML, and JMX.



Featured customer reviews

Write a Review


Mistake in Example,  February 14 2006
Rating: StarStarStarStarStar
Submitted by Niranjan   [Respond | View]

In chapter 2 of this book, I have found an example under header Use Business Interfaces, wherein the author has given a business interface Order, a remote interface OrderRemote and a class OrderBean. The mistake is in the signature of the class.

public class OrderBean extends Order, EntityBean ...

How can a class extend more than one interface? I suppose it is a printing mistake. The word extends should be replaced with implements.

Hope in the next edition of the book, the mistake will be fixed by the author/publisher.


Java Enterprise Best Practices Review,  March 24 2004
Rating: StarStarStarStarStar
Submitted by Ajith Kallambella   [Respond | View]



Patterns and best practices have been around for a long time. They solve problem domains not directly addressed by the language itself ie., repeatable solutions to family of application development issues -- be it architecture, deployment or testing. For a complex platform like J2EE, use of best practices can make or break a project.

Just what the doctor ordered - Java Enterprise Best Practices is a collection nuggets of wisdoms. It is a compendium of idioms classified based on various enterprise Java areas written the most acclaimed authors in the field (Jason Hunter, Bret McLaughlin, Hans Bergsten et al). Ranging from most widely used EJBs to the latest additions such as JMX and JSTL, each chapter presents the reader with most widely accepted norms of using technologies such as - EJB, Servlets, JDBC, XML, RMI, JMX, Internationalization, JSP, JavaMail. Chapters on XML and RMI are the best of the lot.

I was surprised to note the omission of JMS, given that its popularity when compared with other things such as JMX or JSTL. The last chapter on performance tuning lacks depth and reads more like hastily scribbled notes.

Can best practices be argued? Absolutely! The first chapter of the book says just that. It is important to bear that in mind while you read through the chapters.

While a seasoned J2EE developer idioms may find a few things trivial, it is quite a good reference to keep handy if you are developing real-life applications.

Ajith Kallambella

http://www.javaranch.com/contact.jsp#AjithKallambella




Java Enterprise Best Practices Review,  April 29 2003
Rating: StarStarStarStarStar
Submitted by Ravichandran Mahalingham of the Columbia Java Users Group   [Respond | View]

This book unlike other most books is made by Java

experts in their own field. the book assumes prior

knowledge of the topics and does not intend to take

a beginner from ignorance to knowledge.

this book is intended not for beginners but some

experts in the Java domain designing enterprise

level systems or even maintaining them for system

performance and ehancements.

The book is well written and all the potential

gotchas and the mistakes commonly done in application

design and development are outlined with appropriate

alternate solutions.

The book covers all aspects of java and ejb application

development and their best practices.

Overall, this a good book to have and will be used

by experienced java developers and the not so

experienced.



Read all reviews


Java Enterprise Best Practices Review,  February 25 2003
Rating: StarStarStarStarStar
Submitted by ----   [Respond | View]

Complete examples download missing! Hey, it saves on re-typing.


Java Enterprise Best Practices Review,  February 07 2003
Rating: StarStarStarStarStar
Submitted by Walter Unterberger   [Respond | View]

Nice practical tips for your daily work. Especially if you have to discuss your technical decisions with your managers and the other team members this book will give you a sound basis for your arguments.

The book consists of many small tips and advices but don't expect any kind of reference implementation.

For me the most useful chapters were JDBC Best Practices (i.e. how to use Optimistic Concurrency and implement a Sequencer object together with a very illustrative activity diagram) and Enterprise Internationalization. You pick the gems out of the text and use them immediately.




Media reviews "An excellent book. I would recommend it for every project manager and team lead so their development project can follow the industry best practices."
--Stephanie Smith, PlanoJava User Group, March 2003

Read all reviews

See larger cover