- Application client module
- Web module
- Enterprise JavaBeans module
- Resource adapter module
Java 2 Platform, Enterprise Edition (J2EE) has been rebranded as Java EE (Enterprise Edition). As of my last knowledge update in January 2022, the correct answer regarding the types of modules in Java EE would be:
- Enterprise JavaBeans (EJB) Module: This module is used for building enterprise-level, scalable, and distributed applications. It consists of components known as Enterprise JavaBeans, which are server-side, reusable components.
- Web Module: This module is used for developing web-based applications. It contains servlets, JSP (JavaServer Pages), HTML pages, and other related resources.
- Application Client Module: This module is responsible for developing client applications that run on the client machine and communicate with the Java EE server. It typically contains Java classes and other resources required for the client application.
- Connector Module: Also known as JCA (Java Connector Architecture) module, it is used for integrating Java EE applications with Enterprise Information Systems (EIS) like databases and messaging systems.
Please note that technology evolves, and there might be updates or changes beyond my last knowledge update in January 2022. Always refer to the latest official documentation for the most accurate and up-to-date information.