Rickard �berg wrote:
> Hi!
>
> I want to embed the JSDK2.1 engine into my own server in order to
> coordinate it with other services. What class should I use to access it:
> * Shell
> * HttpServerManager
> * HttpServer
> What needs to be called? (setPort etc.)
>
> Any help (code snippets?) is appreciated!
I don't know if you will be able to do it - it seems JDSK2.1 reads data
from a socket, and it will be hard to make it work even with access to
the sources.
( no Jad - I'm just guessing :-)
It would be easier for you to use any of the existing engines that have
sources
available at least.
It would be nice for JSDK 3.0 to have a "helpers" package ( or spi?) with
base implementations for most interfaces. That will reduce the work
to implement the api and reduce the number of incompatibilities ( and
of course anyone can use it's own optimized implementation if he wish).
Something similar is done in JNDI, and it helps a lot - writing a
JNDI provider
is very easy. I don't think a servlet engine should be something very special
-
it's just an API that is supposed to work in many special servers.
The current model, with some few "universal" servlet engine might not be
the best.
Regards,
Costin
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html