I am assigned to create an application (part of a bigger one) which would automate certain process. Basically what the application does is select records from DB and do certain operation on data then connect to a third party site and post the data there. Now we have more than one external vendor to connect to and the data has to processed accordingly, also the DB is populated by external entries. What I am planning to do is
1. Poll the Db at regular interval (1 sec as the response has to be fast)
2. Create Message listeners for each Vendor.
3. Push the data retrieved from DB in JMS using point to point messaging because the listener can to down and we need to persist the data.
4. The listener requests a thread (containing a proprietary workflow) from the thread manager, passes the data to it and executes it. Multithreading is added as there may be many incoming requests and processing each approx 1 min, and we need a really fast system.
This would be deployed in Tomcat on windows machine. Can anyone please point me the mistakes/loopholes in above solution, or suggest a better solution.
Tags
Use the search field to
find all types of content in My developerWorks with that tag.
Use the slider bar to see more or fewer tags.
Popular tags shows the top tags for this particular type of content or application that you're viewing.
My tags shows your tags for this particular type of content or application that
you're viewing.