Design Specification: Remote JPA
|Date||Author||Version Description & Notes|
Remote JPA would allow access to the JPA API from a remote Java client. This would allow fat Java clients to access the richness of the JPA API, and not require a data transfer layer. This can avoid the need for remote SessionBeans, merging, and data transfer objects. It provides querying, transactions, change tracking, and lazy relationship support on the Java client.
It could also be used in distributed architectures to perform database intensive work closer to the database, for more optimal interaction.
- fat-client -
- RMI -
- JPA API
- query execution
- transaction/unit of work
- change tracking, flushing
- lazy relationships
- load groups, eager relationships
- communication protocol
Leverages existing Remote Session functionality.
JPA EntityManager suite.
Should be documented under a new Remote JPA section.
|Issue #||Owner||Description / Notes|
|1||Can unit of work commit only send changes, instead of objects?||Currently sends both, commit currently requires objects.|
|2||What communication protocols should be supported?||Currently RMI, maybe CORBA.|
|Issue||Description / Notes||Decision|