>-----Original Message-----
>From: Raghavendran_c [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, May 15, 2001 5:24 PM
>
>Hi,
>        I am planning to develop an IMAP4 mail server. For this
>I intend to use Servlets.

Don't. There have been various
 attempts to do this sort of thing
build ftp/smtp/pop servers ontop
of the generic servlet framework.
None of them (afaik) were successful.
There are 2 problems
        1)State. The servlet model
assumes that there is a strict
request/response pair, with no
state carried over to the next
response. (ok, there is the session
but that is at heart done by the
client). The only other protocol
that works like this that I can think
 of is snmp, and you can't even say
that, since it has things like traps
(unsolicited responses) and
retries on timeout.
2) All the servlet engines are optimized for http. If you try to
run a different protocol, you will
trip over this stuff (https,1.1 etc).

I don't even know of a servlet engine that talks wap/wsp and you'd think
that was a natural step.

Overall you do best to use servlets
as a gateway to imap, or write your
own imap engine, perhaps taking
some ideas from the servlet world.
Tim

http://www.westpoint.ltd.uk/

Internet reconnaissance services.

___________________________________________________________________________
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