• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS Administered Objects  RSS feed

 
Kalyan Mudumbai
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are "ConnectionFactory" and "Destination" administered objects?
What does the spec mean by saying that they are administered objects?
What are the advantages of having them as administered objects? (and not any other objects in the spec)?

Can someone throw light on this?

Thanks,
Kalyan.
 
james edwin
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Quote from JMS Tutorial
"Two parts of a JMS application--destinations and connection factories--are best maintained administratively rather than programmatically.".

You can view the tutorial
here
 
Kalyan Mudumbai
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks James,

Yes, that fine. What I'm asking is, what are the difficulties in maintaining them programatically? Why should some one admin them? What does the admin do?

Besides the above, I have another Question:
What makes anyone use multiple Sessions in one Connection, instead of using a Single Session to send messages? Why is there a Concept of a Session? Can't it just be Connection?

Regards,
Kalyan.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!