Skip to main content

Book review - Beginning EJB 3 (Java EE 7 Edition)

The book "Beginning EJB 3 Java EE 7 Edition" is one of the best book for a Java developer who wants to get in to Java EE programming. The contents are well structured and you may find smooth flow of topics as you move forward. The book also contains many useful code samples which may help you to grasp the concepts quickly. The book start off with an introduction to EJB3. You will get a chance to learn all necessary things related to EJB in the first two chapters. Then the book discusses the Java Persistence API in simple terms. This is followed by MDB and Web Services. A full chapter is dedicated to discuss interaction between various Java EE components such as session beans, entities, MDB and web services. This book also discusses transaction management in great detail which is good enough to meet most of the generic use cases. Another interesting topic that you may find in this book is Context and Dependency Injection. This is presented in a very simple and easy to follow way.

One thing that I felt missing while scanning though the chapters is that a serious 'technical editing' phase before putting the contents in to production. I feel that publisher had not taken technical review phase seriously. Some topics could have been explained in a little more deeper and some topics could have been cut short.

Overall the "Beginning EJB 3: Java EE 7 Edition" is one of the best book available today in the market for a Java developer who wants to learn Java EE stack.


Popular posts from this blog

How to set Bind Variable Values at runtime ?

In this post I'm sharing a couple of approaches for programmatically setting bind variables values at run time. This post is an attempt to explain 'When to use what ?'[ In case if you are familiar with 'Bind Variables' in ADF BC, please refer Section 5.10, Working with Bind Variables in Fusion Developer's Guide ]

1. Set the Bind Variable value using RowSet::setNamedWhereClauseParam(...)

You can use use the setNamedWhereClauseParam(...) method on the ViewObject interface (which extends oracle.jbo.RowSet) to set the value for bind variables. Please note this sets the value on default RowSet. In other words, this doesn't have any effect on the secondary RowSets that you/system generates.
ViewObject vo = am.findViewObject("EmployeesView1"); vo.setNamedWhereClauseParam("bindVarDeptId", new Number(10)); vo.executeQuery();
2. Set the Bind Variable value using ViewObject's VariableValueManager::setVariableValue(...)

VariableValueManager Ma…