hi pranav .
I am Rajnish Here. I am also Working on EJB components. May be i may be able
to help u.
As u said there are two methods in your Remote interface.Lets talk in 5.1
Weblogic and EJB1.1, as i am working on that. You first tested the bean by
making the first Deployer jar (lets say Basic_name.jar) and maintained the
Conversational state under the JNDIname, the checkbox. Now you did the ejbc
to get the secound jar(lets say Ejb_name.jar).YOu run the prog and u ge6t
the value frm the secound maethod.. Ritght?

When u test on the stateless .. the u hv to save the other
jar(Basic_name.jar)without the conversational state.. ie..Basic2_name.jar..
and then do the ejbc with Ejb2_name.jar.

In this way you hv to change the structure of the first jar and go ahead
with the bean implementation..

I hope this works if not you can mail me at [EMAIL PROTECTED]
for further clarification..

Rajnish.



>From: pranav shah <[EMAIL PROTECTED]>
>Reply-To: A mailing list for Enterprise JavaBeans development
><[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: "problem with session bean"
>Date: Fri, 6 Apr 2001 14:41:13 -0000
>
>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".
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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".

Reply via email to