[rules-users] Spring configuration v5.1.0.M2 V/s v5.1.0

KiranP phadatarekiran at gmail.com
Wed Aug 18 09:52:14 EDT 2010


Hello Everybody,

I was dazelled by reading the post 
http://drools-java-rules-engine.46999.n3.nabble.com/5-1-0-CR1-Drools-Spring-Configuration-Changed-td997130.html
Drools-Spring-Configuration-Changed? 

I was working with Drools v5.1.0.M2 which had around 50 different Processes
and Simple configuration as :

"Configure EMF and Transaction Manager pass them to JPAKnowledgeServiceBean
and directly use it into 
my own Services - ProcessService.startprocess(); and
ProcessService.resumeService();"

this services in turn were calling simple API Provided by :
JPAKnowledgeServiceBean 

  createNew...(); 
  load...( id ) ;

and the workItemHandler to Task Assignment was taken care by the
Configuration File - drools.session.conf

now i want to upgrade to Drools v5.1.0

but for that i have to create 50 different Spring Configurations one for
each process and use a kstore (its not as easy as it looks)

then again i cannot have a single service method like
ProcessService.startProcess(processId); 
instead i have to use ProcessService.startProcessABCProcess(); then
ProcessService.startXYZProcess(processId); and so on for all the 50
processes

more over this we also have to re-create the Environment,kbase and
configuration for each process start and resume......


Dont you think that the M2 version API's were more easy and effective???????

Suggestions and Work-out are very much welcome.....

-----
Keep Working >>
KiranP
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Spring-configuration-v5-1-0-M2-V-s-v5-1-0-tp1206134p1206134.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list