You might try a stateful session bean.
-----Original Message-----
From: Eddie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 12:21 PM
To: Orion-Interest
Subject: Re: State info in EJB JMS?? >> Re: AW: EJB state question & Configurable EJB start-up

I am sorry, I just noticed that Pedro suggested to store global state through a RMI object (some dayes ago... oepss... had some sand in my eye ..;) !!???
Hmmmm did you ever manage to try this... and isn't there a better alternative ??
 
Hmmm,
Eddie
 
----- Original Message -----
From: Eddie
Sent: Tuesday, May 29, 2001 9:15 PM
Subject: State info in EJB JMS??

Ok... I have my JMS EJB up and running now.
It's a log3j wrapper to add extra functionality.
However I want to store some  information that has to be quickly available and I don't want to use a database for it.
Any advice on how I should do this ??
 
For example:
When an application sends a log message, I will log the message and send an SMS, if required.
However if the same requests will appear again after a minute or so, because the problem hasn't been solved yet, I don't want another SMS to be send. So I need tot rember this, but how can I do this ???
 
That is: a JMS EJB, is stateless and will call ejbRemove() after processing the sms, so where should I store this information ??
 
Some advice please, before I "invent" some weird solution ;)
 
 
Eddie

Reply via email to