Hi,

Why do you need to use stateful bean? Can you please elobarate?
If all the operations like getting the IDs from entity A, and using them to
get all the IDs from entity B ..etc, are part of a single client request,
can you  use stateless session bean?

- Raj.

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of shravan
> Sent: Wednesday, November 01, 2000 12:18 PM
> To: [EMAIL PROTECTED]
> Subject: Re: stateless vs stateful?
>
>
>     make use of stateful session beans
> shravan
>
>
>
>
> -----Original Message-----
> From: Jianguo Wang <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Wednesday, November 01, 2000 5:08 PM
> Subject: stateless vs stateful?
>
>
> >Hi,
> >
> >I am having a design issue in my project as follows,
> >
> >I have three entity beans (A, B, C) corresponding to three tables. I want
> to use
> >a session bean to get an ID_from_A, and then use this ID_From_A
> to access B
> >in order to get all IDs_From_B related to the ID_From_A, and
> then use these
> >IDs_From_B to access C in order to get data related to all IDs_From_B.
> >
> >Can anyone give me a suggestion;
> >1. A session is practical to do this task?
> >2. If it is, stateless or stateful?
> >
> >Thanks a lot.
> >
> >-Jianguo
> >
> >=================================================================
> ==========
> >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".
> >
>
> ==================================================================
> =========
> 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".
>

===========================================================================
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