Let's now create the Course Management application that we created in Chapter 4, Creating JEE Database Applications, this time using EJBs. In Chapter 4, Creating JEE Database Applications, we created service classes (which were POJOs) for writing the business logic. We will replace them with EJBs. We will start by creating Eclipse projects for EJBs.
Creating a Course Management application using EJB
Creating EJB projects in Eclipse
EJBs are packaged in a JAR file. Web applications are packaged in a Web Application aRchive (WAR). 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...