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 |
Is it possible to have a constructor inside the servlet?
What is the major difference between context parameter and context attribute?
What is URL Rewriting ?
can servlet have instance variables?
How do you get the ip address of the client in servlet?
Explain the different ways for servlet authentication?
How can the session in servlet be destroyed?
What is servlet container?
can it possible to validate form field before execution of a servlet service method if yes how??
What is servlet initializer?
What are setSecure() and getSecure() methods in Cookies?
Is the init(ServletConfig sc) throws IOException or not?