AFAIK, a stateful session bean means, for a client, it
is the same, in the 1st point, the loginCheck.jsp
create the Object, in the 2nd point, an other JSP try
to retrieves the object... I begin to see where does
the problem comes from. But how to do what I intend
to?
It's not the same HTTP request (2 different business
methods)
half a second because the JSP is being compiled ;)
thanks for the answer :)
Wonder Sonic
--- Stephen Coy <[EMAIL PROTECTED]> a �crit�:
> How do you know that you are getting the same
> instance of the SFSB on
> the second call?
>
> Is the second call on the same JSP and responding to
> the same HTTP
> request?
> If not, how are you caching the instance reference
> between requests?
>
> Half a second seems like a long time to be
> processing the same page.
>
>
> Steve Coy
>
> On Friday, September 27, 2002, at 06:06 PM, wonder
> sonic wrote:
>
> > Hello,
> > I've spent about 4 hours on this but I couldn't
> find
> > the problem.
> > I've got a local SFSB with one attribut : an
> Object
> > (that implements the Serializable interface).
> > I use it from a JSP (embedded JBOSS+Tomcat):
> >
> > -1- call to the SFSB => the attribut receives an
> > instance of the Object.
> > -2- call (about 500ms after) to the SFSB => the
> > attribut is now equals to null!
> >
> > The SFSB is configured to be used with XDoclet
> 1.1.2
> > with trans-type:"Required".
> > I've also a create method:
> >
> > public void ejbCreate() {}
> >
> > What should I do to make this work?
>
>
>
>
-------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user