Aaron Mulder wrote :
Aarin, first thnaks for your prompt reply.
> Why would your beans need the TransactionManager? That pretty
> much qualifies as "server internals", so your beans would not be
portable.
You're perfectly right, that's the reason why I'm surprised by the
availability of the TransactionManager within Beans.
In fact I would like to use Castor ORMapping from inside a Session Bean,
thus having the Castor engine synchronizes in term of transaction with
the TransactionManager. By default,, Castor uses the transactionManager
if available through JNDI ENC.
I know Oleg is working on it. I just would like to figure out what is
portable and what is not. :-)
Thanks ,
Sebastien
> Aaron
> On Tue, 5 Sep 2000, Sebastien Sahuc wrote:
> > Hello,
> >
> > Oleg told me that in jboss the Transaction Manager is available through
> > JNDI. So I checked by myself and it came to be true.
> >
> > Though I'm wondering if it's allowed per specification. So far I couldn't
> > find any place that says so (JTA and EJB spec).
> >
> > I'm afraid that using the feature will make my beans not portable. Am I
> > right ?
> >
> > Thanks for any reply,
> >
> > Sebastien
> >