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 |
Explain servlet life cycle?
How forward () method is different from send redirect () method?
How do you communicate in between Applets and Servlets?
What are some advantages of storing session state in cookies?
Explain servlet events?
What is done after deploying a war file and before client gives a request
What is servlet tunnelling?
How an Image can be loaded in a Servlet ?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What is url encoding and url decoding
How the typical servlet code look like ?
Can a jsp be called using a servlet?