[
http://jira.jboss.com/jira/browse/EJBTHREE-1050?page=comments#action_1237... ]
Emmanuel Bernard commented on EJBTHREE-1050:
--------------------------------------------
Had a chat with Carlo, here is the proposed solution:
- enable remote datasource from the application container to the server container
- deploy the PU locally though Persistence.createEMF
The benefits are:
- we can also inject DS resources
- it will work with any JPA implementation
- can potentially play well with the other client side TX involvements??
Not tunneling the EM API has several benefits as well:
- network: EM is done to optimize DB calls, not calls to it's API
- it avoid to keep some sort of stateful remote EM on the server
Drawbacks:
- second level cache might not play too nicely, we need to keep an eye on it
Application client support for persistence unit
-----------------------------------------------
Key: EJBTHREE-1050
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-1050
Project: EJB 3.0
Issue Type: Task
Reporter: Carlo de Wolf
Assigned To: Carlo de Wolf
Fix For: HEAD
See JavaEE 5 5.12.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira