Solved

J2EE - Java Bean EJB Examples

Posted on 2014-03-10
1
873 Views
Last Modified: 2014-05-02
Hi,
I am currently working with JSP, EJB

I have following details for different kind of beans.
I am struggling to understand use of beans in a practical everyday applications.

Can someone please  list sample examples for me?

Session Bean : Comes into existence when clients starts a session. Only open until that session from browser is alive.
A browser session is stateless session and nothing is remembered from one click to another. A session bean will remember the task done by session.

Entity Bean : Will host  session of an object like customer, invoice. Normally persistent beans. The info is not vanished. When created will restore data from old state.

Message Beans : Communicate from one tier to another

Thanks
0
Comment
Question by:crazywolf2010
1 Comment
 
LVL 25

Accepted Solution

by:
Tomas Helgi Johannsson earned 500 total points
ID: 39937966
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now