[rules-dev] Drools on android

Justin King justin.matthew.king at gmail.com
Mon Apr 19 01:07:22 EDT 2010


I thought the RETE tree should be no problem, as its just some in memory
structure. I was thinking the right hand side of the rules would be the
issue as java classes are generated for those. My thoughts were the
generated java bytecode would not be compatible with Android.

On Mon, Apr 19, 2010 at 1:25 PM, Mauricio Salatino <salaboy at gmail.com>wrote:

> When I think about this in the past I was thinking about an interpreted
> version of the RETE algorithm and not a compiled one.
> That's my two cents, I think that the most important thing here is to
> maintain the concepts and to be able to share the execution.
> I think that right now with the work that I'm doing in Drools Grid this is
> probably easier than in the past.
>
>
> On Sun, Apr 18, 2010 at 10:32 PM, Justin King <
> justin.matthew.king at gmail.com> wrote:
>
>> I was under the impression that the problem might lie in the rules being
>> compiled at runtime into java bytecode (and not the required dalvik)? I'm
>> attempting to port over a framework that uses both Drools and Javassist and
>> I was thinking both libraries are going to cause the same problems. Am I on
>> the right track here?
>>
>>
>> On Fri, Apr 16, 2010 at 9:52 PM, Salaboy <salaboy at gmail.com> wrote:
>>
>>> A year ago I though to write a simple port, exposing the same APIs as
>>> drools for android and iPhone. I think it might work, if we create an
>>> integration layer that let us do simple inferences on the phone and
>>> communicate with a drools service for more advanced stuff.
>>>
>>> - Ing. Mauricio Salatino -
>>>
>>> On Apr 16, 2010, at 2:04, Michael Neale <michael.neale at gmail.com> wrote:
>>>
>>> I imagine a challenge would be drools generation of bytecode via asm etc.
>>> Not sure how that works on phone with no dalvik compiler.
>>>
>>> If rules precompiled (keep think smaller for dalvik), and class
>>> generation not happening, it might just work.
>>>
>>> Sent from my phone.
>>>
>>> On 16/04/2010, at 3:16 PM, Justin King < <justin.matthew.king at gmail.com>
>>> justin.matthew.king at gmail.com> wrote:
>>>
>>> Hi All,
>>>
>>> I'm wondering if anyone has tried to use drools in a google android
>>> application, and if so what problems did you have? I'd also be interested to
>>> know if its even possible!
>>>
>>> Thanks!
>>>
>>> --
>>> Regards,
>>>
>>> Justin King
>>> PhD Candidate
>>> Faculty of Information and Communication Technologies
>>> Swinburne University of Technology
>>> <http://www.ict.swin.edu.au/ictstaff/justinking><http://www.ict.swin.edu.au/ictstaff/justinking>
>>> http://www.ict.swin.edu.au/ictstaff/justinking
>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Justin King
>>> PhD Candidate
>>> Faculty of Information and Communication Technologies
>>> Swinburne University of Technology
>>> <http://www.ict.swin.edu.au/ictstaff/justinking><http://www.ict.swin.edu.au/ictstaff/justinking>
>>> http://www.ict.swin.edu.au/ictstaff/justinking
>>>
>>> _______________________________________________
>>> rules-dev mailing list
>>> <rules-dev at lists.jboss.org>rules-dev at lists.jboss.org
>>>  <https://lists.jboss.org/mailman/listinfo/rules-dev>
>>> https://lists.jboss.org/mailman/listinfo/rules-dev
>>>
>>> _______________________________________________
>>> rules-dev mailing list
>>> rules-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-dev
>>>
>>>
>>> _______________________________________________
>>> rules-dev mailing list
>>> rules-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-dev
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Justin King
>> PhD Candidate
>> Faculty of Information and Communication Technologies
>> Swinburne University of Technology
>> http://www.ict.swin.edu.au/ictstaff/justinking
>>
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-dev
>>
>>
>
>
> --
> - http://salaboy.wordpress.com
> - http://www.jbug.com.ar
> - Salatino "Salaboy" Mauricio -
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>


-- 
Regards,

Justin King
PhD Candidate
Faculty of Information and Communication Technologies
Swinburne University of Technology
http://www.ict.swin.edu.au/ictstaff/justinking
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20100419/13b935e3/attachment-0001.html 


More information about the rules-dev mailing list