>From the EJB 1.1 Spec (18.1.2 - Programming restrictions):
"An enterprise bean must not attempt to listen on a socket, accept
connections on a socket, or use a socket for multicast.
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."
So you can't write an LDAP server using EJB but why not a client?

Luciano

-----Messaggio originale-----
Da: David Sierra Fernandez [mailto:[EMAIL PROTECTED]]
Inviato: martedì 26 settembre 2000 10.28
A: Montebove Luciano; Orion-Interest
Oggetto: Re: R: LDAP (fwd)



        I'm afraid you're wrong. One of the limitations of the enterprise
beans is that you can not manage sockets from them... you can't do any
operation related with sockets inside a enterprise bean.

        Does anyone know the way to access to the ILS from an entity
bean???

Thank you Luciano and all.


> ---------- Forwarded message ----------
> Date: Fri, 22 Sep 2000 13:51:09 +0200
> From: Montebove Luciano <[EMAIL PROTECTED]>
> Reply-To: Orion-Interest <[EMAIL PROTECTED]>
> To: Orion-Interest <[EMAIL PROTECTED]>
> Cc: Juan Angel Lorenzo del Castillo <[EMAIL PROTECTED]>
> Subject: R: LDAP
> 
> You can open a socket on any port you want. 
> Where is the problem?
> 
> Luciano
> 
> 
> -----Messaggio originale-----
> Da: David Sierra Fernandez [mailto:[EMAIL PROTECTED]]
> Inviato: venerdì 22 settembre 2000 11.56
> A: Orion-Interest
> Cc: Juan Angel Lorenzo del Castillo
> Oggetto: LDAP
> 
> 
> 
>       Hi all, I know that a ejb can make a request to an URL, send an
> e-mail, and manage other actions defined in methods of its superclasses.
> 
> I want to know if it is possible to make a request to another port
> different to http port or STMP port?. I would like to make a request to
> port 389 (ILS). This port is the default port in almost all LDAP servers.
> 
>       If it is not possible, I will have to use ASP. Any ideas would be
> appreciated.
> 
> 
> 
>       TIA
> 
>         -------------------------------------------------------------
>         David Sierra Fern ndez
>         Ingeniero Tecnico de Telecomunicaci¢n
>       PARQUE TECNOLOGICO DE BOECILLO (CEDETEL)
>         AULA RETECAL (CEDETEL)   Universidad de Valladolid
>         Campus Miguel Delibes   E-Mail: [EMAIL PROTECTED]
>         47011 Valladolid (SPAIN)
>         --------------------------------------------------------------
> 
>  -- Sierr@ --
> 
> 
> 
> 

        -------------------------------------------------------------
        David Sierra Fern ndez
        Ingeniero Tecnico de Telecomunicaci¢n
        PARQUE TECNOLOGICO DE BOECILLO (CEDETEL)
        AULA RETECAL (CEDETEL)   Universidad de Valladolid
        Campus Miguel Delibes   E-Mail: [EMAIL PROTECTED]
        47011 Valladolid (SPAIN)
        --------------------------------------------------------------

 -- Sierr@ --

Reply via email to