explain why we say stateless beans does not maintain
conversation state besides statefull maintains conversation
state. give some examples...
Answer Posted / madan
Stateless session beans are used to maintain Stateless session that means, for example if u have a web page, that does not contains any more web page links means, so we no need to store the informations for future purpose(i means in another web pages), so , in this case, we used Stateless Session beans
Stateful session means, we have links, we need to store the authentication details like atm transfer, it is showing first password page, then saving,then amount, so once we entered details, then no need to enter any more information.. so this is Stateful
latest version of Ejb 3 is by annotations...Very nice
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is pub/sub model?
What is EJB object?
An instance of stateful session ejb when accessed simultaneously from more than one clients on same vm results in remoteexception or ejbexception. In case the client is a servlet thread, which of the techniques can be used to avoid remoteexception/ejbexception?
Can more than a single table be mapped in cmp?
What is ejb role in j2ee?
How does ejbs work?
Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?
Are entity beans allowed to create() methods?
TX operation funtion executed by?
What are the limitations of using local object?
What are the different kind of ejb's?
Is ejb a framework?
Why is ejb used?
What is ejb container?
How many types of session beans are available in ejb?