O'Reilly logo

Java™ Oracle® Database Development by David J. Gallardo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Packaging and Deploying the EJB—Overview

Once we have the bean working in the JDeveloper environment, we can package it in preparation for deployment to an application server. We'll do this by using JDeveloper in the next section, but first, let's take a look at the steps that would be involved were we to do it manually.

The J2EE specification defines a way to package Web applications and EJB applications into modules and a way to package these modules into an enterprise application. An enterprise application is packaged in an EAR file. The EAR file, in turn, can contain either EJB modules packaged as JAR files, Web applications packaged as WAR files, or both.

  • Enterprise application— EAR file

  • EJB module— JAR file

    • EJBs (Java classes)

    • Deployment ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required