Explain JMS API Architecture.

A JMS application is consisted of the following parts as shown in the figure at the end of this post:

-JMS Provider is a messaging system that implements the JMS interfaces and provides administrative and control features.
-JMS Clients are any Java EE application component except Applets.
-Messages are objects that exchange information between JMS clients.
-Administrative objects are preconfigured JMS objects created by an administrator for the use of clients.

Administrative tools bind destinations and connection factories into a JNDI namespace. A JMS client can then use resource injection to access the administered objects in the namespace and then establish a logical connection to the same objects through the JMS provider.

Image Source:java.sun.com



Interview Questions On Java,Java EE Copyright © 2018. Reads: best tracker