Make a new Application

The RI is a J2EE server, remember, not just an EJB container. So we have to do a small bit of J2EEish stuff before we can make the ejb-jar and deploy the app. This step is where we create a new J2EE application, and for now, you can think of the J2EE application as something that wraps the beans and adds a little more information for the server. The main difference between a J2EE application and an EJB application is that a J2EE application can include web components (servlets and JSPs) as well as EJB components, all integrated as part of a single app.

Choose FileNewApplication

image with no caption

Off the path

A J2EE server vendor must pass a massive pile of compatibility tests before the server can be called “J2EE-compliant”. A J2EE 1.3 server, for example, must include an EJB 2.0 container, and that container must implement the EJB 2.0 specification.

Get Head First EJB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.