Stefan Zoerner wrote:
Hi Jürgen!
Juergen Weber wrote:
Listening on a socket is kind of misbehaviour for web applications. It
were better if the app server would control the socket listener.
See http://issues.apache.org/bugzilla/show_bug.cgi?id=39862
This is really interesting!
Please note that the described example is just a case study on how
simple it is to embed ApacheDS. One option to mitigate this
misbehavior would be to simply not start the network protocol, and
interact with ApacheDS solely in process like the RootDseServlet in
the example does.
Exactly. Embedding the server will also improve the performances a lot,
as you won't have any need to encode/decode LDAP requests.
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org