1.

Can The Bean Class Implement The Ejbobject Class Directly? If Not Why?

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.

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.



Discussion

No Comment Found