Hi, I remember implementing Drools in .net, using IKVM, but I am not able to retrieve the code (nor retrieve my memory) at the moment.
When I read my short explanation of the way I implemented it, I am not convinced that I used IKVM to convert any native drools libraries. In stead, it appears as if only my original Java-implementation is converted (with all desired functions present). At least, that would explain why you would be able to disregard all warnings (as Drools engine still runs in java). If you would like to use an Object from the Drools-jars, then you probably cannot disregard the warnings when converting the jars. However, I have never tried to fully achieve this. Imo, there are a number of ways forward from here (choose as you prefer) 1) Try to ikvmc the entire drools library, carefully adding all dependancies and fixing wrong convertions 2) Try to contact an other member of this community: Corneil (du Plessis?), who achieved a drools implementation with IKVM. I am not sure to what extent he converted all the jars. 3) Try using jni4net Regards, Frank rahultechie wrote: > > Hi, > > I am trying to access JAVA drools 5.1 in .net. To convert binary files of > JAVA drools 5.1 in .net, I use ikvm-0.46.0.1 tool. > > I referred these dlls in my .net application and tried to write JAVA code > (referring to > http://techgrafitti.wordpress.com/2011/02/21/drools-%E2%80%93-getting-started-hello-world-example/ > link ) in my .net application. > > But not able to refer StatefulSession class from > "org.drools.StatefulSession" namespace. Actually not able to find > "org.drools.StatefulSession" namespace from "drools-core-5.1.1.dll". > > While converting jar to dlls I got lots of warning, after Googling I found > that we have to neglect these warnings. > > Have any body already wrote such code? > Please share the dlls if you are able to run the rules in .net using > latest drools 5.1. > If possible please share me the code (if your code is not similar to the > code referred in above link). > -- View this message in context: http://drools.46999.n3.nabble.com/How-to-convert-and-use-JAVA-drools-5-1-in-net-tp3005775p3006664.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users