Note about the Example Applications

It is important to note that the example applications described in the book are written without the use of an interactive development environment (IDE). Normally, enterprise developers use a commercial IDE when developing EJB applications. An IDE generates much of the JDBC and other database access code code that is often tedious to write by hand. However, we wanted our examples to illustrate how the EJB architecture works; had we used an IDE, the code it generated would obscure the discussion of the EJB architecture. Therefore, we chose to write all the code manually. Keep this in mind and realize that because in practice, a lot of the code is generated automatically by the IDE, developing with the EJB architecture is easier than some of our code samples may indicate.

Because our goal is to illustrate the use of the EJB architecture, we wanted to keep the code relatively simple. As a result, we don't always show what some developers would consider to be the best coding practices for enterprise applications. By including code to show such practices, we would have obscured the EJB discussion. For the sake of simplicity of the code examples, we sometimes do not handle properly all exceptions thrown by the code.

The example application for this second edition is available for download at http://java.sun.com/docs/books/applyingejb/2ed/download.



Applying Enterprise Javabeans
Applying Enterprise JavaBeans(TM): Component-Based Development for the J2EE(TM) Platform
ISBN: 0201702673
EAN: 2147483647
Year: 2003
Pages: 110

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net