Download the preso:
http://tcowan.s3.amazonaws.com/sfo_semweb_meetup.pptx
I don't understand what bindAll does? which API operations require
that you first call
RDF2Bean.bind() or RDF2Bean.bindAll()?
Dave Donohue
> --
> You received this message because you are subscribed to the Google Groups "jenabean-dev" group.
> To post to this group, send email to jenabe...@googlegroups.com.
> To unsubscribe from this group, send email to jenabean-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jenabean-dev?hl=en.
>
>
Only when you are reading RDF which you did not create. When a
jenabean is saved, the type and ontology type are bound via an
annotation which won't exist in a fresh model. Calling "bindAll"
makes the reader aware of the package containing your jenabeans. It
then creates the necessary meta-info to bind the ontology class to the
java class representing it.
In the preso we were hitting the extranet and consuming FOAF, so the
bind call is needed. In the JPA manifestation this is indicated in
the assembler, and the container wires it together by calling
bindAll() for you, given the packages mentioned in the assembler file.
Taylor