[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-user
Subject:    mailet - to - ejb performance issue
From:       "Satish" <satish () nunet-tech ! com>
Date:       2003-07-30 9:28:05
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic