what is EJB and Java servlet
Answers were Sorted based on User's Feedback
Answer / madan
EJB is a distributed technology used in many real time applications such atm transaction,online booking...
now the latest verions ejb3 has annotations which feel easy and good to learn..
Enterprise java beans heart of banking applications ..
and
Servlet-Servlet is a server side components which is used to develop server side applications.. it is based on request response methodlogy..it has own life cycle init(),service(),doget() or dopost() and destroy()..
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ravikiran
EJB is enterprise java bean, where component based
development takes place and uses RMI for remote method calls
Servlet is a server side program wich will process the
client request inside the server and will return resource
based on the request as a response
Is This Answer Correct ? | 1 Yes | 0 No |
What is Servlet API used for connecting database?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
What is servlet interface?
can u give some realtime example in ploymorphism? and inheritance?
What happens, if server sends a cookie to a browser that doesn't supports cookies?
How many ways are available to ger RequestDispatcher object?
what are binding listners?
What if you need to span your transaction across multiple servlet invocations?
How values can be passed from HTML page to servlet?
What is Generic Servlet and how it is different from Http Servlet?
What is the difference between RequestDispatcher and sendRedirect?-
Where do you define dispatcherservlet?