@TransactionAttribute annotation doesn't work if remote interface extends a generic interface on JBoss EAP 5

Solution Verified - Updated -

Issue

There seems to be  a problem with @TransactionAttribute annotation if remote interfaces extend the generic interface.

different behaviour are observed in JB 4.3 & JB5.

In jboss 4 the jar work as supposed while the one in jboss 5 does not.

To have the stuff running in jboss 5 you have to uncomment the line
"public Testtable createEntity(Testtable testtable);" in TesttableBeanRemote

Environment

  • JBoss Enterprise Application Platform 5.0.0
  • AOP

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.