This is what specs clearly says

"The EJB architecture allows an enterprise bean instance to be a network
socket client, but it does not
allow it to be a network server. Allowing the instance to become a network
server would conflict with
the basic function of the enterprise bean-- to serve the EJB clients."

Hope this answers your query

/Ashwani




                    cpi
                    <[EMAIL PROTECTED]>          To:     [EMAIL PROTECTED]
                    Sent by: A               cc:     (bcc: ashwani.kalra/Polaris)
                    mailing list for         Subject:     EJB as socket client
                    Enterprise
                    JavaBeans
                    development
                    <[EMAIL PROTECTED]
                    A.SUN.COM>


                    07/16/2003 01:16
                    AM
                    Please respond to
                    cpi







Greetings,

EJB specs indicate that EJBs can not manage sockets, e.g. EJB is not
allowed to create socket server or use socket factory. But the spec does
not state explicitely if EJBs can send data to an external socket server.
Can EJBs be socket clients?

Any response will be greatly appreciated.

Cathy Liu



_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.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".





This e-Mail may contain proprietary and confidential information and is sent for the 
intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to you, you 
are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, 
copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment 
other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in

Reply via email to