This content has been marked as final.
Show 2 replies
-
1. Re: MDB working as a singleton vs MBean
pra Dec 10, 2001 4:53 AM (in response to siocnarf)Hi, I have to admit that I am not shure what you are after, but I know this much:
1. An MDB with a pool size set to one, and listening on a queue should receive its messages in the order they where sent.
2. To create a singleton you could use a singleton deployment descriptor for a session bean, to get only one active instance (JBoss specific - look into the manual).
//Peter -
2. Re: MDB working as a singleton vs MBean
siocnarf Dec 10, 2001 5:32 AM (in response to siocnarf)Hi Peter,
Thanks for your answer.
Actually, my question was only about the different means to create singleton beans. :-)
I think I'd probably write the MDB.