Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

any other protocols for servlets besides HTTP?

 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi:
I know that HttpServlet extends GenericServlet and similarly
the Request and Response have a generic parents as well.
I was wondering if there are any other known class which
extend GenericServlet. Not necessarily open source, but
has anyone heard of anyother implementations?
Any links/pointers/articles are greatly appreciated.
Thanks.
- satya
 
Jimi Rock
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I think that no such classes.
What I am sure about is that servlets are designed to work within a request/response processing model in which a client sends a request message to a server and the server responds by sending back a reply message. Requests can come in the form of an :
HTTP
URL
FTP
more about servlet: http://developer.java.sun.com/developer/onlineTraining/Servlets/Fundamentals/servlets.html
I hope this helps.
Jimi.
 
Jimi Rock
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note that all java classes and their methods are available in the following link: http://java.sun.com/j2se/1.3/docs/api/index.html
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jimi:
Thanks for your response. I found what I am looking for.
As I understand, currently the API supports only HTTP
protocol, since it is mostly used etc etc.....
Also, protocols like SMTP, FTP, POP etc can be supported.
What caught my attn. was
[b]or a custom protocol.[/b
and this made me curious to ask if anyone has heard of any.
Thanks.
- satya
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic