[jboss-dev-forums] [Design of the JBoss EJB Container] - Re: Calling to develop JBoss Batch container....

AdiLev do-not-reply at jboss.com
Fri Sep 8 01:37:47 EDT 2006


In J2EE 1.4 there is a resource.spi.work that seems a good API to activate work at schedule time. JBoss support J2EE 1.4.
Next there is the layer of the batch processing itself. 
	The layer is:
		External loop in step on batch size - I call this paginaging batch proccess. It do some kind of select to retrieve arguments from a database (e.g. Customaers ID)
		This loop is responsible to set in the database the execution point it succesful commit (in page size)	
			Than there is the inner loop on the current page data
				Than there is an executing procedure (Method) that is called and process the task based on parameters that come from the current record selection
	Listener to the worker manager should be the executing inner procedure for tasks like release immidate as well the outer procedure for tasks like pause resume

I have implemented a similar thing but not using J2EE 1.4 but simply thread notification simply because the WebSphere I used is 5.0 at that time. J2EE 1.4 added release, resource.spi.work

In the Jboss above thread I suggested to create an annotaion to the inner procedure, which will create the code and calling to the above



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

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



More information about the jboss-dev-forums mailing list