EJB.THISARG
Avoid passing the "this" reference as an argument
Description
This rule flags code that passes the "this" reference as an argument.
Instead of passing the "this" reference as an argument, use getEJBObject () available in SessionContext or EntityContext.
Reference
Sanjay Mahapatra, "Programming restrictions on EJB." JavaWorld, August 2000.
|