Differences
This shows you the differences between two versions of the page.
Next revision
|
Previous revision
Next revision
Both sides next revision
|
prolog_integration [2010/03/02 12:17] michal_bida created |
prolog_integration [2010/05/16 23:11] 127.0.0.1 external edit |
<th> </th> | <th> </th> |
<th><font color="default" style="font-weight:normal;"> | <th><font color="default" style="font-weight:normal;"> |
Your goal is to adapt <A href=http://alice.unibo.it/xwiki/bin/view/Tuprolog/>tuProlog</A> to be able to unify Java beans. We already have a prototype that translates plain Java objects (or POJOs if you prefer) into Prolog facts. Now the big step would be to dig into tuProlog implementation and change it so that the serialization into Prolog facts is not necessary. After all, annotated POJO may fully represent a Prolog fact treating 'null' value as an anonymous variable! Of course there are few obstacles, for instance, every null seems to be a different variable... such issues would be up to you to solve.<br/><br/> | Your goal is to adapt</html> [[http://alice.unibo.it/xwiki/bin/view/Tuprolog/|tuProlog]]<html> to be able to unify Java beans. We already have a prototype that translates plain Java objects (or POJOs if you prefer) into Prolog facts. Now the big step would be to dig into tuProlog implementation and change it so that the serialization into Prolog facts is not necessary. After all, annotated POJO may fully represent a Prolog fact treating 'null' value as an anonymous variable! Of course there are few obstacles, for instance, every null seems to be a different variable... such issues would be up to you to solve.<br/><br/> |
Further readings: <A href=http://tuprolog.alice.unibo.it/>tuProlog</A>, <A href=http://www.sics.se/sicstus/docs/4.1.1/html/sicstus/Interfacing-_002eNET-and-Java.html>Java Beans in SICStus Prolog</A> | Further readings:</html> [[http://tuprolog.alice.unibo.it/|tuProlog]], [[http://www.sics.se/sicstus/docs/4.1.1/html/sicstus/Interfacing-_002eNET-and-Java.html|Java Beans in SICStus Prolog]]<html> |
</tr> | </tr> |
</table></html> | </table></html> |
| |