Question
What is the difference between session bean and entity bean?

Answers

Session Bean: Session is one of the EJBs and it represents a single client inside the Application Server. Stateless session is easy to develop and its efficient. As compare to entity beans session beans require few server resources.
A session bean is similar to an interactive session and is not shared; it can have only one client, in the same way that an interactive session can have only one user. A session bean is not persistent and it is destroyed once the session terminates.
Entity Bean: An entity bean represents persistent global data from the database. Entity beans data are stored into database.   Your Comment






Search
Can you Answer!!
  • Q What is Pure tone?
  • Q What does the command ‘hwclock –hctosys’ do?
  • Q Chimpanzee is a native of:
  • Q Why does the flag have 50 stars?
  • Q What is drx in gsm technology?
  • Q Can pointers be subtracted from each other? When is it done?
  • Q Where to see idoc in inbound side whether it is received in receiver system or not?
  • Q Who uses ultrasonic flaw detectors?
  • Q A girl ten years of age presents with fever and swelling in submental and right submandibular region for four days. On examination skin over the swelling is red and swelling is tender. First molar tooth right lower jaw is carious. How will you manage it?
  • Q What is the main limitation of ipv4?
  • Q What, according the Mark Twain, is a stomach Steinway