You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Satish <sa...@nunet-tech.com> on 2003/07/30 11:16:05 UTC

mailet - to - ejb performance issue

I am developing an application that does the following:
1. All the emails received at JAMES are to be stored in database,
checked for some filter rules and then sent to the user SMS.

I have two options to do this.
1. Mailet --> Web Service --> EJB

2. Mailet --> EJB directly.

The logic of storing into database, checking filter rules resides in
EJBs.

In option 1, mailet simply passes the Message to web service. It does
nothing else.

In option 2, mailet invokes EJB and passes the message object.

Which option is better in terms of performance?


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org