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 are the objects involved when a servlet receives a call from client?
How to create war file?
How can a servlet be used to generate plain text instead of html?
What if you need to span your transaction across multiple servlet invocations?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
Can we refresh servlet in client and server side automatically?
Define the life cycle of a servlets.
How can we refresh automatically when new data has entered the database?
What is difference between PrintWriter and ServletOutputStream?
How native code can be used in a servlet?
What is the difference in between the httpservlet and generic servlet?
Is the init(ServletConfig sc) throws IOException or not?