Question :Why is ejbFindByPrimaryKey mandatory? (EJB)
Answer :An Entity Bean represents persistent data that is stored outside of the
EJB Container/Server. The ejbFindByPrimaryKey is a method used to locate
and load an Entity Bean into the container, similar to a SELECT statement
in SQL. By making this method mandatory, the client programmer can be
assured that if they have the primary key of the Entity Bean, then they can
retrieve the bean without having to create a new bean each time - which
would mean creating duplications of persistent data and break the integrity
of EJB.
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Friday, March 13, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment