Friday, March 13, 2009

Can the bean class implement the EJBObject class directly? If not

Question :Can the bean class implement the EJBObject class directly? If not
why? (EJB)

Answer :It is better not to do it will make the Bean class a remote object and its
methods can be accessed without the containers? security, and transaction
implementations if our code by mistake passed it in one of its parameters.
Its just a good design practice.

No comments: