Jtest logo




Contents  Previous  Next  Index

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.


Contents  Previous  Next  Index

ParaSoft logo
(888) 305-0041 info@parasoft.com Copyright © 1996-2001 ParaSoft