Hi Bhaskar

You can use the home factory pattern to store the reference to all the home
interfaes
so that you need not look up for the home handles again and again.
But one thing is important what Gene has asked you that what kinds of EJB's
you have in your system

Regards
Hemant



                    Gene Chuang
                    <genechuang@YAHOO       To:     [EMAIL PROTECTED]
                    .COM>                   cc:
                    Sent by: A              Subject:     Re: Can i store the 
REMOTE/HOME reference in a hashtable
                    mailing list for
                    Enterprise
                    JavaBeans
                    development
                    <EJB-INTEREST@JAV
                    A.SUN.COM>


                    07/19/02 05:14 AM
                    Please respond to
                    Gene Chuang






Depends:


1)  What kinds of ejb?  entity, SLSB or SFSB?


2)  What kind of client, in terms of session duration and frequency?


Gene


  bhaskar kumar rudrakshala <[EMAIL PROTECTED]> wrote:
 Hi,
 I have requirnment where i need to insert/delete the records through ejb,
 the process is very long. I have only four ejbs. can i store the
 home/remote
 reference in a hashmap so that i dont need to look up again and again IN
 my
 classes.

 I believe if i have a remote reference then it will clog the network as it
 is at server side.


 HelP!!!
 Thanks
 bhaskar



 _________________________________________________________________
 Send and receive Hotmail on your mobile device: http://mobile.msn.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".



Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes







-----------------------Disclaimer------------------------

The views of the author may not necessarily reflect those
of the Company. All liability is excluded to the extent
permitted by law for any claims arising as a result of the
use of this medium to transmit information by or to
IT Solutions (India) Pvt. Ltd.

We have taken precautions to minimize the risk of
transmitting software viruses, but we advise you to
carry out your own virus checks on any attachment to
this message.  We cannot accept liability for any loss or
damage caused by software viruses.

------------------------Disclaimer------------------------

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