A Java EE application that uses an EJB container must communicate with a legacy system developed using non-Java technologies.
Which two Java EE technologies can be used in the integration tier of the application? (Choose two.)
Click on the arrows to vote for the correct answer
A. B. C. D.AB.
The integration tier of a Java EE application is responsible for integrating with external systems or services, which may use non-Java technologies. In this scenario, we need to find two Java EE technologies that can be used to integrate the Java EE application with the legacy system.
A. JMS: Java Message Service (JMS) is a Java EE technology that provides a way to send messages between distributed systems. JMS can be used to communicate with the legacy system by sending and receiving messages through a messaging provider. The messaging provider can be configured to use a protocol that the legacy system understands, such as the IBM MQ protocol.
D. JCA: Java Connector Architecture (JCA) is a Java EE technology that provides a standard way to connect to Enterprise Information Systems (EIS). EIS are typically legacy systems that use non-Java technologies. JCA provides a resource adapter that can be used to connect to the EIS and access its resources. The resource adapter can be configured to use a protocol that the legacy system understands, such as the JDBC protocol.
B. JSF: JavaServer Faces (JSF) is a Java EE technology that provides a framework for building user interfaces for web applications. JSF is not suitable for integration with the legacy system because it is a UI framework and does not provide any integration capabilities.
C. JPA: Java Persistence API (JPA) is a Java EE technology that provides a standard way to manage persistence in Java applications. JPA is not suitable for integration with the legacy system because it is a persistence technology and does not provide any integration capabilities.
Therefore, the correct answers are A. JMS and D. JCA, as they provide integration capabilities for Java EE applications to communicate with legacy systems.