Thanks for your valuable information

I will truble you after trying SIP stuff

Cheers ! ! !
Jwas



"Christopher K. St. John" <[EMAIL PROTECTED]>
Sent by: "A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." <[EMAIL PROTECTED]>

06/05/02 11:40 AM
Please respond to "A mailing list for discussion about Sun Microsystem's Java Servlet API Technology."

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: GenericServlet & HttpServlet



"[Jwas J]" wrote:
>
> Why you are sayinig that a container can't support more than
> one protocol ?
>

 I'm saying I don't know of any containers that currently
support extra XXXServlet types. That doesn't mean there
aren't any, just that they aren't so popular as to have
impinged on my awareness. Also: check the archives.


> I want to implement a new protocol .. Not for commercial
> purposes but for study alone :-)
>

 Sure, why not. Take a look at the SIP stuff I mentioned
in the last message if you're looking for inspiration.
And definitely check the archives of this list for other
discussions on this topic, especially any mention of
whatever that (Apache?) project was.


> "Servlets are very specific to HTTP " Can you elaborate
> on this ..
>

 Take a look at javax.servlet.ServletRequest. It assumes
there's a content-type, a variable length body, a locale,
headers, a "scheme", etc. Not to mention the fact that
the API assumes that you're going to be using the service()
method as your only interaction with the underlying
protocol. Of course, you could map all that to a very
different underlying protocol (make a fixed body length
mandatory, hardcode the scheme, etc) but what would be the
point? It's easier to just write your own server that's
specialized for your own non-HTTP protocol.


> > "But I wouldn't be doing you a favor to
> > give you the link, even if I had it sitting around"
>
> Why ? Come on :-)
>

 I know this is going to sound obnoxious, but I don't
mean it to be: If you can't find the docs on your own,
you're not going to be able to do any Tomcat internals
development. Also, I don't have the reference handy and
don't feel like looking it up (I'd just use google and
surf around a bit on the jakarta site, and you can do
that yourself)


 Good luck, it sounds like you want to learn by
coding, which is a good thing...


--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com


___________________________________________________________________________
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



Reply via email to