WebLogic proprietary EJBGEN annotations need to be removed from your application before deployment on WebSphere Application Server. These annotations come from the weblogic.ejbgen package.
This rule detects the use of these EJBGEN annotations in Java files. A quick fix for this rule is available in the source scanner. The quick fix removes all annotations, their contents, and their corresponding imports.
|
import weblogic.ejbgen.Session;; ... @Session(maxBeansInFreePool = "1000", initialBeansInFreePool = "0", transTimeoutSeconds = "0", type = Session.SessionType.TEST, defaultTransaction = Constants.TransactionAttribute.TEST, enableCallByReference = Constants.Bool.TRUE, ejbName = "TestSessionEJB") ... @weblogic.ejbgen.JndiName(remote = "TestSessionEJB.TestSessionHome") |
All of the lines of code seen earlier will be removed. This includes the import, the unqualified annotation, the fully qualified annotation, and all of the contents within the annotations.