[jboss-dev-forums] [Design of JCA on JBoss] - Re: JCA antipattern? Or not?

adrian@jboss.org do-not-reply at jboss.com
Fri Feb 23 10:38:47 EST 2007


"bill.burke at jboss.com" wrote : JCA may not know anything about MDBs, but isn't MDB the only *standard* way of using inflow?  I thought there was no standard way of registering an activation spec and MEF, etc....

There is nothing to stop somebody writing their own MEF (POJO based)
and activating their own endpoint if they can get a link to the ResourceAdapter.

1) There is an example of this in the new jca prototype
where the MEF is actually implemented via AOP interceptors.

2) This is one of the purposes of the RAR (MetaData) Repository

My preference is to have an abstract MEF implemented by JCA
that EJB2, EJB3, POJO can extend to provide the three pieces of metadata
that change.

isMethodTransactional(Method);
getClassLoader();
The hypothetical and non-spec getTransactionTimeout(Method);

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021149#4021149

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021149



More information about the jboss-dev-forums mailing list