|Home |Login |Registration |Struts Step by Step Tutorial |Hibernate Step by Step Tutorial |Spring Step by Step Tutorial |JSP Step by Step Tutorial |JDBC Step by Step Tutorial |Web Services Step by Step Tutorial |EJB fundamentals | ORACLE Step by Step Tutorial | SCJP 5.0 and SCJP 6.0 Study Guide | SCWCD 5.0 Study Guide | SCJP Tips
Java mock test | SCJP mock test | SCJP DUMP | SCBCD mock test |Java online test exam | JSP online test | ORACLE online test | Hibernate online test | Servlet online test | Struts online test | EJB online test | C online test | C++ online test | Aptitude online test

Java interview questions | JSP interview questions | ORACLE interview questions | Hibernate interview questions | Servlet interview questions | Struts interview questions | JDBC interview questions | C/C++ interview questions | Spring interview questions | JMS interview questions | Informatica interview questions | EJB interview questions | OOPS and Design Pattern interview questions
1600 PMP mock questions 1400 CAPM mock questions 800 SCJP 6 mock questions 600 OCAJP 7 mock questions 590 OCPJP 7 mock questions 556 SCWCD 5 mock questions 500 OCEJWCD 6 mock questions pdfDownload (java,struts, hibernet etc) JobsJobs and Walkins

 

Recent Questions

  • what are Container-Managed Transactional attributes ? view answer
  • What's difference between httpsession and EJB session bean ? view answer
  • What are the Differences between EJB 3.0 and EJB 2.1? view answer
  • Q. what are Container-Managed Transactional arributes ? view answer
  • What is the default transaction attribute for an EJB? view answer
  • Difference between SessionBean remove() and EntityBean remove() method? view answer
  • Why do we have a remove method in both EJBHome and EJBObject? view answer
  • Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB? view answer
  • What is the difference between a ?Coarse Grained? Entity Bean and a ?Fine Grained? Entity Bean? view answer
  • What are the Interfaces need to create to implement Session Bean with Exmaple? view answer
  • What are the parameters must follow for Session Bean ? view answer
  • What are the callbacks method in Session Bean ? view answer
  • What are the ways for a client application to get an EJB object? view answer
  • What is handle and why it is used in EJB? view answer
  • What is an EJB Context? view answer
  • Implement Local and Remote Interfaces in EJB? view answer
  • How can I call one EJB from inside of another EJB? view answer
  • What is the difference between Message Driven Beans and Stateless Session beans? view answer
  • What happens if remove( ) is never invoked on a session bean? view answer
  • Can you control when passivation occurs? view answer
  • Can the primary key in the entity bean be a Java primitive type such as int? view answer
  • The EJB container implements the EJBHome and EJBObject classes. For every request from a unique client, does the container create a separate instance of the generated EJBHome and EJBObject classes? view answer
  • How can i maintain a user session between servlets and stateful session ejbs? view answer
  • What's difference between Servlet/JSP session and EJB session view answer
  • Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB? view answer
  • How to call any EJB from a servlet/JSP/Java Client? view answer
  • What are transaction isolation levels in EJB? view answer
  • What are transaction attributes? view answer
  • What is bean managed transaction? view answer
  • Can Entity Beans have no create() methods? view answer
  • What are the callback methods in Entity beans? view answer
  • What is the difference between Container-Managed Persistent (CMP) bean and Bean-Managed Persistent(BMP) ? view answer
  • What are the methods of Entity Bean? view answer
  • What is Entity Bean? view answer
  • What is Session Bean? view answer
  • What are the different kinds of enterprise beans? view answer

!!! EJB Frequently Asked Questions !!!

Why do we have a remove method in both EJBHome and EJBObject?

SCJP 1.5/1.6 Exam Kit

!!!Answer!!!- From Technical Expert

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 stateful) to inform the container of your loss of interest in this bean.

Answered By : null Replied Date : Mar 23 2012
Answer :


Answered By : null Replied Date : Mar 13 2012
Answer :


Answered By : null Replied Date : Mar 6 2012
Answer :


Answered By : null Replied Date : Mar 3 2012
Answer :


Answered By : null Replied Date : Feb 22 2012
Answer :


Answered By : null Replied Date : Feb 21 2012
Answer :


Answered By : null Replied Date : Feb 18 2012
Answer :


Answered By : null Replied Date : Feb 8 2012
Answer :


Answered By : null Replied Date : Feb 3 2012
Answer :


Answered By : null Replied Date : Feb 1 2012
Answer :


Answered By : null Replied Date : Jan 25 2012
Answer :


Answered By : null Replied Date : Jan 14 2012
Answer :


Answered By : null Replied Date : Jan 5 2012
Answer :


Answered By : null Replied Date : Dec 23 2011
Answer :


Answered By : null Replied Date : Dec 23 2011
Answer :


Answered By : null Replied Date : Nov 17 2011
Answer :


Answered By : null Replied Date : Nov 14 2011
Answer :


Answered By : null Replied Date : Nov 11 2011
Answer :


Answered By : null Replied Date : Nov 1 2011
Answer :


Answered By : null Replied Date : Oct 13 2011
Answer :


Answered By : null Replied Date : Aug 4 2011
Answer :


Answered By : null Replied Date : Aug 4 2011
Answer :


Answered By : null Replied Date : Jul 9 2011
Answer :


Answered By : null Replied Date : Jul 7 2011
Answer :


Answered By : null Replied Date : Jun 26 2011
Answer :


Answered By : null Replied Date : May 3 2011
Answer :


Answered By : null Replied Date : Apr 28 2011
Answer :


Answered By : null Replied Date : Apr 27 2011
Answer :


Answered By : null Replied Date : Apr 27 2011
Answer :


Answered By : null Replied Date : Feb 27 2011
Answer :


Answered By : null Replied Date : Feb 17 2011
Answer :


Answered By : null Replied Date : Feb 17 2011
Answer :


Answered By : null Replied Date : Feb 15 2011
Answer :


Answered By : null Replied Date : Feb 15 2011
Answer :


Answered By : null Replied Date : Feb 9 2011
Answer :


Answered By : null Replied Date : Dec 23 2010
Answer :


Answered By : null Replied Date : Dec 18 2010
Answer :


Answered By : null Replied Date : Dec 17 2010
Answer :


Answered By : null Replied Date : Nov 29 2010
Answer :


Answered By : null Replied Date : Nov 25 2010
Answer :


Answered By : null Replied Date : Nov 23 2010
Answer :


Answered By : null Replied Date : Nov 23 2010
Answer :


Answered By : null Replied Date : Nov 22 2010
Answer :


Answered By : null Replied Date : Nov 22 2010
Answer :


Answered By : null Replied Date : Nov 20 2010
Answer :


Answered By : null Replied Date : Oct 19 2010
Answer :


Answered By : null Replied Date : Oct 18 2010
Answer :


Answered By : null Replied Date : Oct 17 2010
Answer :


Answered By : null Replied Date : Oct 15 2010
Answer :


Answered By : null Replied Date : Oct 5 2010
Answer :


Answered By : null Replied Date : Oct 2 2010
Answer :


Answered By : null Replied Date : Oct 1 2010
Answer :


Answered By : null Replied Date : Sep 30 2010
Answer :


Answered By : null Replied Date : Sep 26 2010
Answer :


Answered By : null Replied Date : Sep 15 2010
Answer :


Answered By : null Replied Date : Sep 9 2010
Answer :


Answered By : null Replied Date : Aug 30 2010
Answer :


Answered By : null Replied Date : Aug 28 2010
Answer :


Answered By : null Replied Date : Aug 26 2010
Answer :


Answered By : null Replied Date : Aug 22 2010
Answer :


Answered By : null Replied Date : Aug 21 2010
Answer :


Answered By : null Replied Date : Aug 19 2010
Answer :


Answered By : null Replied Date : Aug 9 2010
Answer :


Answered By : null Replied Date : May 8 2012
Answer :


Answered By : null Replied Date : May 18 2012
Answer :


Answered By : null Replied Date : Jun 4 2012
Answer :


Answered By : null Replied Date : Jun 21 2012
Answer :


Answered By : null Replied Date : Jun 28 2012
Answer :


Answered By : null Replied Date : Aug 3 2012
Answer :


Answered By : null Replied Date : Aug 16 2012
Answer :


Answered By : null Replied Date : Sep 2 2012
Answer :


Answered By : null Replied Date : Oct 10 2012
Answer :


Answered By : null Replied Date : Oct 27 2012
Answer :


Answered By : null Replied Date : Oct 30 2012
Answer :


Answered By : null Replied Date : Nov 10 2012
Answer :


Answered By : null Replied Date : Nov 21 2012
Answer :


Answered By : null Replied Date : Dec 29 2012
Answer :


Answered By : null Replied Date : Dec 31 2012
Answer :


Answered By : null Replied Date : Jan 16 2013
Answer :


Answered By : null Replied Date : Jan 19 2013
Answer :


Answered By : null Replied Date : Jan 19 2013
Answer :


Answered By : null Replied Date : Mar 6 2013
Answer :


Answered By : null Replied Date : Mar 8 2013
Answer :


Answered By : null Replied Date : Mar 8 2013
Answer :


Answered By : null Replied Date : Mar 20 2013
Answer :


 

You can also contribute to this answer:

Your Name:
Answer:

 
Ask Question and get answer from Expert.
View Answers List from Expert.

The information you are posting should be related to java and ORACLE technology. Not political.