This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Implementation of JMS interface methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Implementation of JMS interface methods" Watch "Implementation of JMS interface methods" New topic
Author

Implementation of JMS interface methods

Shinelin Samuel
Ranch Hand

Joined: Mar 01, 2010
Posts: 55
There are lot Interface methoods that which J2EE APIs provide. Ex: QueueConnectionFactory, QueueConnection, QueueSession by JMS.

I want to know, how and where the methods within these Interfaces are implemented? (ex: QueueConnectionFactory.createQueueConnection().)

Someone please assist me on this...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
That's in the source code of JMS servers like OpenJMS, OpenMQ and ActiveMQ.


Ping & DNS - updated with new look and Ping home screen widget
Shinelin Samuel
Ranch Hand

Joined: Mar 01, 2010
Posts: 55
Thanks Dittmer for your response. Now I would like to go little more, please let me know if my understanding is correct.

Let us consider this example.

// The appserver connects to the the JMS provider/server using the jms configuration. Then the JMS server returns a QueueConnection, back to the Java client. ??
// Here appserver acts as an interface between the JMS client and server.
QueueConnectionFactory queueConnectionFactory = (QueueConnectionFactory) context.lookup("jms/SampleQCF");

//The appserver identifies the implementation for this method, on the JMS server and makes a call??
queueConnection = queueConnectionFactory.createQueueConnection();
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Implementation of JMS interface methods
 
Similar Threads
Reg. Collection
Home and Remote Interface
wat clarification on marker interface and it use
wat is marker interface and it's use
Understanding DBClient in Max's book