hi all
i am new to EJb. i am working on weblogic server6.0 which supports EJB 2.0.i was
socked when i saw the same behaviour of stateless and stateful session bean.
The description of my program is as below
in my remote interface there are 2 methods
1>void setmyname(String)
2>String getmyname()
i am setting the name variable using setmyname method and obtaining it from
getmyname() method.
if my bean is stateful session bean then the program works as expected and return
value of getmyname() method is the variable which is set by setmyname() method.
but if the bean is stateless then also it returns the same value as stateful bean(i
think this should not be done.i may be wrong!)
what is the wrong with progrsm ?does my interpretation wrong ?does there any special
setting to be do in deployment descriptor ?
Thank you
pranav shah
_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com
===========================================================================
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".