|
|
Index
| Recent Threads
| Who's Online
| User List
| Search
| Help
| |
|
Forum has been closed down This forum has been closed down due to extensive spamming activities. Please use the mailing list instead. |
![]() |
openRDF.org Forum » AliBaba & Elmo: Help » Thread: Updating RDF Repo with Plain Java Beans? |
|
Total posts in this thread: 3 |
[Add To My Favorites] [Watch this Thread] |
| Author |
|
|
Mar 19, 2008 5:54:05 PM
sisbell Member
|
I have a specific problem and I wonder if there are any standard/recommended solutions and/or libraries for solving it. I have A.jar that contains plain java beans classes. I generate A.owl using the codegen. Then I generate A-concepts.jar, jar of elmo concepts (annotated interfaces), from the A.owl. I need to populate the RDF repo reading xml files, which are unmarshalled from an XML document to the java bean objects. Can I use the plain java beans directly in updating of the RDF repo (I also have A.owl). Or do I need to copy values from the java beans to the annonated elmo concepts and then store those concepts? Other solutions? |
||
|
|
Mar 19, 2008 9:46:45 PM
james OpenRDF.org Consultant Canada Joined: Jul 21, 2005 Posts: 650 Status: Offline |
If your java beans classes implement the concept interfaces, then the manager could merge them into the RDF repository. This would then allow you to export the contents into an RDF file. ---------------------------------------- Sesame Consultant http://leighnet.ca http://jamesrdf.blogspot.com |
||
|
|
Mar 20, 2008 8:54:23 PM
sisbell Member
|
Unfortunately, I don't have the option of modifying the original class files, so it looks as though a workable solution is just to do the mappings from my java beans to the concepts. A little tedious but it'll work. |
||
|
| [Show Printable Version of Thread] |