[ https://issues.apache.org/jira/browse/OPENJPA-1851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924743#action_12924743 ]
Pinaki Poddar commented on OPENJPA-1851:
----------------------------------------
The proposed XML schema for Java instances serialized on-the-wire
and here is a typical example of a Person with a singular reference to another Person (spouse) and multi-valued relation to Persons (friends)
128802651179620P1128802651179720P2128802651179820P3
1. The object references are of the format -
where is the simple name of the type and ior is a string representation of its primary key (we need a syntax for complex identity)
2. The type names are simple name (if unambiguous in the given persistence unit)
> RESTful access to Persistence Unit runtime
> -------------------------------------------
>
> Key: OPENJPA-1851
> URL: https://issues.apache.org/jira/browse/OPENJPA-1851
> Project: OpenJPA
> Issue Type: New Feature
> Components: competitive, jpa, usability
> Reporter: Pinaki Poddar
> Assignee: Pinaki Poddar
>
> A persistence unit should provide access to a remote, non-Java client in a RESTful fashion.
> The communication protocol should be HTTP.
> The 'safe' operations (HTTP GET for find, query, properties, metamodel browsing etc) can be encoded in URI syntax itself.
> The state representation would start with schema-less XML, followed by schema-compliant XML and JSON
> The POST/PUT operations and transactions will be addressed in a separate task.
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.