Answer Posted / ch.n.v.ganesh
When a user invokes a One Application Server servlet
from a browser, the servlet may invoke one or more
enterprise beans. For example, the servlet may load a
JavaServer Page (JSP) to the user?s browser to request a
user name and password, then pass the user input to a
session bean to validate the input.
Servlet/Jsp EJB
User Interface------> BusinessLogic ---> DataBase
APp Client
After a valid user name and password combination is
accepted, the servlet might instantiate one or more entity
and session beans to run the application?s business logic,
then terminate. The beans themselves might instantiate
other entity or session beans to do further business logic
and data processing.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is Enterprise JavaBeans (EJB)?
What is ejb ql?
Why stateless is better than stateful?
How ejb invocation happens?
Can beans who are involved in transaction have 'passivation' process?
What is the difference between message driven beans and stateless session beans?
Which is the only method defined in the javax.ejb.handle interface?
Write the basic requirement of a cmp entity based class in 2.0 from ejb 1.1?
What is ejbdoclet?
What is rmi and ejb in java?
What is session bean in ejb?
Should services be stateless?
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?
Which services are provided to ejb components by the ejb container?
What are the design principles for ejb?