• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Implementation of JMS interface methods

 
Shinelin Samuel
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's in the source code of JMS servers like OpenJMS, OpenMQ and ActiveMQ.
 
Shinelin Samuel
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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();
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic