Hi

I've been using Jonas for about a month and I works for me.
(I use Suse Linux 6.4, Jonas2.0 and now Jonas from CVS, JDK1.2.2RC4 +
javacomp)
I use stateful session beans and both container managed and bean managed
entity beans. I don't use transactions.

My problem is: 
I load an entity bean with home.findByPrimaryKey(pk).
then I call a method1 then I call a method2 
before each call the bean gets loaded and after the method the bean gets
stored and released, which makes it slow.

I thought that a bean instance is created with ejbCreate or ejbLoad and
the instance is released when there is no more reference to it.
with Jonas it seems to me that the instance is released after each method
call.

How can I make the instance persistant between method calls ?

Have a nice week

Gabor


----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to