Hi ,
I came across this particular problem the other day
and was directed to section 18.1.2 of the EJB 1.1 spec. part
of which you have quoted.
This states that a bean may not be a Socket server which would
include listening on or accepting connections on a socket.
However it does say that the bean may be a network Socket client
which would allow you to open a network socket connection and
read from it. This appears to be what you want to do and is therefore
legal according to the spec.
regards
Duncan
-----Original Message-----
From: anurag mandloi [mailto:[EMAIL PROTECTED]]
Sent: 30 March 2000 02:54
To: [EMAIL PROTECTED]
Subject: Re: [EJB-INT] Sockets and EJB's
As per the EJB spec this is not legal. Ultimately it is the bean which will
be involved in the socket communication. And different vendor may behave
differently in such case.
-Anurag
>From: Gustavo E Tenrreiro <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Sockets and EJB's
>Date: Wed, 29 Mar 2000 12:25:13 -0800
>
>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".
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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".
===========================================================================
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".