In this section, we will learn how to create JEE projects with EJBs using Maven. Creating Maven projects may be preferable to Eclipse JEE projects because builds can be automated. We have seen many details of creating EJBs, JPA entities, and other classes in the previous section, so we won't repeat all that information here. We have also learned how to create Maven projects in Chapter 2, Creating a Simple JEE Web Application, and Chapter 3, Source Control Management in Eclipse, so the basic details of creating a Maven project will not be repeated either. We will focus mainly on how to create EJB projects using Maven. We will create the following projects:
- CourseManagementMavenEJBs: This project contains EJBs
- CourseManagementMavenEJBClient: This project contains shared interfaces and objects between an EJB project and the client projects...