Adding EJB to an existing project
posted 6 years ago
I have an existing project that through a browser connects to a database (registrar) and using JSF pages can list (find all) for each table in the database (student, course, and enrollment). The program can also add an enrollment, add a student or add a course along with search for a student by partial first name and search for a course by partial course name. I am supposed to package all of the Database Accessing Code from Phase 3 DB2(current code) into at least 3 Enterprise Java Beans (1 for each table), modeled after the EJBs in the Hibernate documentation and tutorials. The Java Server Page from Phase 3 DB 2 will be used to exercise this extension. The problem is that I do not know how to add these EJB's and that I already have 9 jsp's so I am not sure which one that we are to use to exercise this extension. I can post my complete code as a zip file since it is rather large.