Not 100% true. Yes if you want to do CMP, Toplink only supports Websphere
and Weblogic. But Toplink does allow Orion to "manage" its transactions and
do the connection pooling. 

You just need to set the TransactionManager on
TOPLink.Public.JTS.JTSSynchronizationListener. It exposes a static method
"setTransactionManager". You can get Orion's TransactionManager at the JNDI
name "java:comp/UserTransaction". The best strategy would be to extend
TOPLink.Public.JTS.JTSExternalTransactionController and to set the
transaction manager in its constructor. Then configure a toplink server
session using the TopLink.properties file as explained in the manual. 

Using this mechanism, Toplink synchronizes its internal transactional state
with the container before a commit is issued on the underlying data source.
It is also advisable to use an XADataSource.

I'm about to do this myself. If all goes well, I should have an example
ready for you soon.

Regards 

Ampie 



-----Original Message-----
From: Montebove Luciano [mailto:[EMAIL PROTECTED]]
Sent: 17 July 2001 10:19
To: Orion-Interest
Subject: RE: Has anyone yet figured out how to use TopLink with Orion?


I asked to Webgain on May and they said there is no plan to integrate with
Orion (and JBoss).
I evaluated the TopLink for Java but wasn't able to integrate it with Orion.
If you can't use the CMP offered by Orion for any good reason (portability?)
I can recommend VisualBSF from ObjectMatter. It works fine with Orion (I
used it in Session Beans with CMT), is simple to use and is cheaper than
TopLink or CocoBase.


Luciano

-----Original Message-----
From: Alex Paransky [mailto:[EMAIL PROTECTED]]
Sent: marted́ 17 luglio 2001 8.23
To: Orion-Interest
Subject: Has anyone yet figured out how to use TopLink with Orion?


I searched the archive for any references to TopLink, however, most of the
people are asking as to how they can use TopLink with Orion.  Has any one
been able to do this?  Would you kindly post your solution?

Thanks.
-AP_


Reply via email to