geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Angus" <da...@apache.org>
Subject RE: Geronimo standard Sun-API jars (JavaMail)
Date Mon, 11 Aug 2003 09:37:27 GMT

> Anyone know why the Maillet API didn't subclass Servlet, BTW? I'd have
> thought that
>
> public class Maillet extends GenericServlet {
>    public void service(SMTPRequest request, SMTPResponse) throws
> ServletException, IOEXcception {
>    }
> }
>
> would have been a really good way to handle incoming SMTP messages
> (viewing the Request/Response pair as a 'channel' rather than a one-off
> HTTP input/output).

Mailet provides for asynchronous processing of mail messages not
request-response handling.
That aside Servlet now contains some parts which an asynchronous mail API
would not be easily able to implement.

d.


Mime
View raw message