Question :Why do we have a remove method in both EJBHome and EJBObject? (EJB)
Answer :With the EJBHome version of the remove, you are able to delete an entity
bean without first instantiating it (you can provide a PrimaryKey object as
a parameter to the remove method). The home version only works for
entity beans. On the other hand, the Remote interface version works on an
entity bean that you have already instantiated. In addition, the remote
version also works on session beans (stateless and statefull) to inform the
container of your loss of interest in this bean.
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
Why do we have a remove method in both EJBHome and EJBObject (EJB)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment