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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
