Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.06 KB

File metadata and controls

20 lines (13 loc) · 1.06 KB

ejb-beanutils-asyn: Windup Rule That Detects Seam Asynchronous Annotation in Remote EJBs

Author: Jess Sightler
Level: Intermediate
Summary: Windup rule that reports on the use of the Seam Asynchronous annotation in remote EJBs
Source: https://github.com/windup/windup-quickstarts/

What is it?

The Seam Asynchronous annotation is not compatible with remote EJBs in Red Hat JBoss Enterprise Application Platform and must be replaced with the Java EE 6 @Asynchronous annotation.

You can create Windup rules using XML or by writing Java add-ons. This quickstart demonstrates both approaches.

  • Java rule add-on: Follow the instructions here to see how to create this rule as a Java rule add-on.

  • XML rule: Follow the instructions here to see how to create this rule using XML.

Warning
If you deploy both the Java-based rule add-on and XML rule at the same time, you will see double the story points!