5 of 5 people found the following review helpful
5.0 out of 5 stars
Does exactly what it says on the cover..., 21 May 2003
I initially bought the Teach yourself J2EE book but found that it only really focused on the deployment aspect of EJB's rather than the actual creation of them. However, this book is great in that it assumes that you are a total novice with EJB's, J2EE, and application servers. The given explanations are clear and step by step guide lines are provided along the way to ensure that you get all of the demo applications working.
The book starts simply by explaining the how EJBs fit within the J2EE architecture and how to use JNDI with a Datasource, it then goes on to provide detailed explanations of Stateless and Stateful Session Beans, Enity Beans, and Message Beans. Both Bean and Container Managed Persitence is covered in detail as is Container Managed Relationships, and Transaction Processing using JDBC and JTA. The authors briefly touch on the subject of security, which I feel could have been covered in a bit more depth, maybe at the expense of the chapter on Java Mail.
Each chapter concludes with the building and deployment of a demo application into either JBoss or WebLogic. Build scripts are provided so the deployment is effortless and worked fine in my environment (J2EE 1.3, JBoss, and MySQL)
Having read this book I now have an understanding of the strengths and weaknesses of EJB's and when each should be used. All I need to do now is put this knowledge to the test and start building some real world examples ;-)