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

bill.burke@jboss.com do-not-reply at jboss.com
Fri Feb 23 10:45:48 EST 2007


"adrian at jboss.org" wrote : "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);

Yes, this possible in *our* JCA implementation, but the only portable way of leveraging inflow is through MDB.  Which was my point.

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

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



More information about the jboss-dev-forums mailing list