Query module EjbThis

name
EJB uses ‘this’ as argument or result
description
An EJB should not use ‘this’ as a method argument or result. Instead, it should use the result of SessionContext.getBusinessObject, SessionContext.getEJBObject, SessionContext.getEJBLocalObject, EntityContext.getEJBObject, or EntityContext.getEJBLocalObject.
kind
problem
problem.severity
error
precision
low
id
java/ejb/this
tags
portability external/cwe/cwe-573

Imports

EJB
EJBRestrictions
java

Provides all default Java QL imports.