![]() |
![]() |
|
| Index | Recent Threads | Unanswered Threads | Who's Online | User List | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 1
|
|
| Author |
|
|
Advanced Member Germany Joined: Jun 18, 2004 Post Count: 407 Status: Offline |
It seems that there is no need for a complete JCA resource adapter implementation. The JDO spec says in chapter "4.3 Scenario: Enterprise Calendar Manager": In this scenario, the JDO implementation is provided by a vendor that maps Java objects to relational databases. The implementation uses a JCA Resource Adapter to connect to the datastore. The JDO PersistenceManager is a caching manager, as defined by the Connector architecture, and it is configured to use a JCA Resource Adapter. "Appendix C Caching Manager" of the JCA 1.5 spec describes a very simple contract between the application server and Caching Managers, by simply using javax.transaction.Synchronization callbacks. Compared to what the current implementation does, it seems all pretty straight-forward:
From a user's point of view, code would be easier "portable" between container and non-container environments, as the PersistenceManagerFactory could be obtained as usual (no need for JNDI lookups). The difference would only be found in the jdo.properties file, where ConnectionFactoryName properties would have be used. --------------------------------------- This post has been recovered after a database corruption and might completely or partially lack replies. This thread had 2 replies before corruption. |
||
|
|
|
|
|
Current timezone is GMT Sep 10, 2010 5:29:34 PM |