[rules-users] Using KieScanner in drools6

ganeshneelekani ganeshneelekani at gmail.com
Wed May 21 08:53:02 EDT 2014


Hi Mark,

Thanks for suggestions.I will go through with above link
I go through with document it uses maven, I do not have any knowledge on
maven, Do I need to learn maven to develop project in drools 6 ?
I developed using changeset.xml to link java and drools, And
drools-guvnor.war, and designer.war in drools 5.4 version.

If I develop maven project  how to link maven and workbench - I felt
confusing in this,

Does following code helps





KieServices kieServices = KieServices.Factory.get();

ReleaseId releaseId = kieServices.newReleaseId( "*org.acme", "myartifact",
"1.0-SNAPSHOT*" );

KieContainer kContainer = kieServices.newKieContainer( releaseId );

KieScanner kScanner = kieServices.newKieScanner( kContainer );


// Start the KieScanner polling the Maven repository every 10 seconds

kScanner.start( 10000L )



2. I practiced  some workbench tutorial.. and its almost different from
drools 5.4,

Is there any possible of integrating drools workbench and java code, or else
I need to use any other drools war to develop application

thanks for your patience .


Regards
Ganesh N



--
View this message in context: http://drools.46999.n3.nabble.com/Using-KieScanner-in-drools6-tp4029638p4029641.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list