How many types of server session pool are there?
A server session pool is collection of server sessions that are wrappers around sessions. In JMS, there are two types of sessions. These are topic session as well as queue session. Thus, we provide a Factory class to create two types of server session pools. One is designed specifically to take care messages published to a topic. The another one is meant for handling messages in a queue. These two types are mutually exclusive and should never be used together.