soft designer wrote:
>
> Hi,
>
> I am thinking of writing a Stateful bean to keep track of
> a message queue. Since the message queue would get pretty
> big at times, is there a retriction on the size of the
> queue the bean can store when it passivates? BTW, I am
> using WebLogic 5.1.
>
> Thanks for your help in advance.
>
> Dennis
This seems like an unnatural act to me. A stateful session bean is
non-persistent, so data would get lost if the server failed. Also, a session
bean can have only one "client" - typically a queue has multiple putters and one
or more getters (however the definition of "client" is somewhat vague - quite
possibly some servers will regard any program that knows the right object
reference to be part of the client)
Regarding size, there probably is no hard restriction. However you may not like
the performance or reliability characteristics if you don't have an upper limit
on the size of the queue.
Why not use WebLogic's JMS implementation instead?
Ian McCallion
Alexis Systems Limited
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".