[jboss-user] [Beginners Corner] - Re: Is JBoss right for the job?

jwenting do-not-reply at jboss.com
Sun Feb 18 10:12:23 EST 2007


You would certainly have to rewrite the whole thing (or at least greatly modify it) if you want to do something like that.

Load balancing and clustering is done on a request/response basis, with the cluster admin server determining which member of the cluster gets to handle a request.
If I understand your system correctly it works the other way around, monitoring a remote system for the presence of data and then retrieving and processing it.
To make that run in multiple simultaneous processes you'd need to have some way to divide the job between those processes (for example, for a massive dataconversion you could divide it based on the primary key of the main table processed).

If the files are presented to your system by an external system a clustered environment is easier to set up, as the cluster server will now select the least busy (for example, based on configuration) server to process the request.
But you'd still need to modify your system to work inside JBoss for that, which probably would mean rewriting it as servlets and/or EJBs.

The core system would now no longer monitor the remote system for the availability of data, but would only process it.
A new system would sit in front of your clustered servers, monitor for new data to become available, and send a request to the clustered processing servers for that data to be processed (handing just the filename maybe of the file to be processed and getting a status message back at some point when processing is complete).


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018511#4018511

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018511



More information about the jboss-user mailing list