O'Reilly logo

Java EE Development with Eclipse - Second Edition by Ram Kulkarni

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

Creating the CourseManagement application using EJB

Now, let's create the CourseManagement application that we created in Chapter 4, Creating a JEE Database Application by using EJBs. In Chapter 4, Creating a JEE Database Application we created service classes (which were POJOs) for writing the business logic. We will replace them with EJBs. We will start with creating Eclipse projects for EJBs.

Creating an EJB project in Eclipse

EJBs are packaged in a JAR file. Web applications are packaged in a WAR (which stands for Web Application Archive). If EJBs are to be accessed remotely, then the client needs to have access to business interfaces. Therefore, EJB business interfaces and shared objects are packaged in a separate JAR, called EJB client JAR. ...

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