Monthly Archives: July 2011

Review of EJB 3.1 Cookbook by Richard M. Reese

I’ve just posted my review of “EJB 3.1 Cookbook” over on Develop In Java.

In summary:

EJB 3.1 Cookbook is an excellent resource in an EJB developer’s library. It’s not the sort of book you pick up and read from cover to cover rather a useful resource that you pick up when you think “How do I do xxx in EJB?”. With over 100 recipes this book is recommended to developers using EJB technologies.

I very much liked this book and can imagine using it frequently. You can read the whole review here.

How to improve your JPA Performance

James Sutherland has published a blog post showing how to significantly increase JPA performance.

In the post, he provides 11 different optimizations, such as pagination and query caching that can be applied to JPA.  The EclipseLink JPA 3.2 implementation of JPA is used throughout the post.

This is a good article and well worth reading by anyone that develops database systems using JPA.

Forthcoming Book Reviews

Packt Publishing have recently released two new books of interest to Java EE developers.

EJB 3.1 Cookbook and  Java EE6 With NetBeans 7 both look like good reads and Packt have graciously agreed to send me a copy of each of these books for review, which I’ll post on the site as soon as I’ve reviewed them.

Thanks to Nicole for sorting this out for me.

JBoss AS 6 Released with support for Java EE 6 Web Profile

In case you missed the announcement last week, JBoss AS 6.0 has been released for General Availability. JBoss AS 6.0 provides an fully certified implementation of the Java EE 6 Web Profile Specification (JSR-316).

So, what does this give to Java EE developers exactly? JBoss AS 6.0 is the latest in the line of community supported Java EE application servers. From the first milestone release to the final release of AS 6 has taken nearly a year of development and testing.

JBoss AS is easy to install (simply unzip it) and run requiring only a compatible JDK to run. Configuration and management of JBoss AS can be done either via the excellent web based Administration Console, via XML file manipulation (this is particularly useful for integration with Maven or Ant) or via the command line Twiddle tool.

The Java EE Web Profile was designed to provide developers with all the tools that they need to build Rich Internet Applications. The Web Profile Specification describes the profile as offering:

a reasonably complete stack, composed of standard APIs, and capable out-of-the-box of addressing the needs of a large class of web applications.

The web profile mandates that the following APIs are available to developers:

  • Servlet 3.0
  • Java Server Pages (JSP) 2.2
  • Expression Language (EL) 2.2
  • Debugging Support for Other Languages 1.0
  • Standard Tag Library for Java Server Pages (JSTL) 1.2
  • Java Server Faces (JSF) 2.0
  • Common Annotations for the Java Platform
  • Enterprise Java Beans (EJB) 3.1 Lite
  • Java Transaction API (JTA) 1.1
  • Java Persistence API (JPA) 2.0
  • Bean Validation 1.0
  • Managed Beans 1.0
  • Interceptors 1.1
  • Contexts and Dependency Injection for the Java EE Platform 1.0 (CDI) 1.0
  • Dependency Injection for Java 1.0

JBoss AS 6 can be downloaded from here.