Hi

If I remember right, EJBs can not use java.net.ServerSocket, but they can very
well use java.io.Socket. See section 18.1.2 of EJB spec.

--
shiv

[EMAIL PROTECTED]


Gustavo E Tenrreiro wrote:

> the ejb1.1 specs state that an ejb must not listen, read or write to a
> socket.
>
> In the following case:
>
>   ejb A has a method "M" that instanciates a class B, and B opens a socket
> and reads from it.
>
>  is A consider to be opening the socket as well, or is this legal and you
> can say that A did not open a socket even though B did.
>
> Thanks
>
> Gustavo E Tenrreiro
>
> [EMAIL PROTECTED]
>
> work: (650) 413-5565
> cell  : (408) 373-8595
> home: (408) 225-7097
>
> ===========================================================================
> 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!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.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