File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Understanding ServerSessionPool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Understanding ServerSessionPool " Watch "Understanding ServerSessionPool " New topic

Understanding ServerSessionPool

faiza athar
Ranch Hand

Joined: Oct 30, 2001
Posts: 136
What is the difference b/w :
ServerSessionPool, which is used to process msgs concurrently,
having multiple sessions or receivers for a single queue.
Whats the benefit of this ServerSessionPool???
Seenu Reddy
Ranch Hand

Joined: Apr 03, 2002
Posts: 108
hi faiza,
the basic diffrence between the sessionpool over queue/topic is provide convinent way to deploy asynchronous listeners to wl server with out have to set up and tear down the JMS infrastructure. for each session pool u create, weblogic allocates a thread and jms session for the message listener u provide. so weblogic handles the jms infrastructure for u, so there's no need to obtain server context, connection's,sessions or any ther jms infrastructere.
before using conside two things.
1.prticipants in a session pool consume messages concurrently so message ordering is not garunted.
2.there is no way to predict which particent in pool will recieve any given message,so session pools only used for "stateless" conversations, in which the identity of messge's recipient doesn't matter.
i hope it solves...

Thanks,<br />Seenu<br />SCJP1.4,SCBCD1.3,Next-->SCWCD1.4
I agree. Here's the link:
subject: Understanding ServerSessionPool
It's not a secret anymore!