I have problems  caused by the speed of accessing my EJB's.

My program in a loop (based on user input and other events) accesses my EJB's. 
Basically what happens is

instantiate SLSB (home is cached, so just recreate instance)
create record in db by calling a "builer" method which accepts a value object
remove SLBS instance (the home interface stays in the cache)

The first time the SLSB is instantiated, it takes between 5s and 15s. Once that 
is done I can usually get through the above in less than 1s. Which is 
acceptable.

However, from time to time, it suddenly takes about 5s.

What could be the cause of this and how can I prevent it.

I cannot keep the SLSB instance as it is invalidated after some time.
There is only one client.
The SLSB is always removed after use.

Anybody have any ideas?

Thanks for the help
Joachim

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861003#3861003

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861003


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to