Author/s : Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan
Publisher : Manning Publications
Category :
Enterprise JavaBeans,
J2EE
Review by : Jaikiran Pai
Rating : 9 horseshoes
I had heard very good things about the first edition of EJB3 in Action, so when I got this book, I was very curious to see how the second edition fares. I have been dealing with EJBs for many years now, since the
EJB 2.x days, so the topic being covered in this book wasn't new to me.
The back of the book's cover page states that this is a fast-paced tutorial for
Java EE developers. Having now read the book, I can say that it truly is fast paced and I never felt bored while reading through the chapters. Even though it's fast paced, it does a very good job in explaining the various aspects of EJB in a very concise and clear way with relevant code snippets. Unlike some other books, where sometimes the code is just dumped within the chapters, I found that this book does a very good job in just placing the relevant few lines of code snippets thus helping understand whatever is being explained.
The other good thing I liked about this book is that it doesn't isolate itself in explaining just EJBs, instead it does a very good job in explaining EJBs in the context of the whole Java EE ecosystem. For example, it does a very good job explaining how CDI and EJBs can co-exist in a Java EE environment. Personally, I found this aspect of the book to be the best.
I skipped the JPA chapters in this book, since I wasn't too interested about the JPA stuff.
Interestingly, there's also a chapter on WebSockets where the authors explain how EJBs can be injected and used in the server endpoints of a WebSocket, after giving a overview of WebSockets.
The book uses a ActionBazaar sample application through its chapters to explain various aspects of EJBs and Java EE ecosystem. So the readers get to understand how various parts tie in together within the application.
Overall, this is a very good book for anyone who wants to learn EJBs. Not overwhelming and a very concise explanation of EJBs.
More info at Amazon.com