what is servlet and what you get when we use servlets?

Answers were Sorted based on User's Feedback



what is servlet and what you get when we use servlets?..

Answer / ravikiran(aptech mumbai)

servlet is the server side component and executed on any
web/application server.When we make use of servlets we will
get the services provided by the container and multi
threading support

Is This Answer Correct ?    38 Yes 8 No

what is servlet and what you get when we use servlets?..

Answer / sheetal

Servlets are modules that extend request/response-oriented
servers,such as Java-enabled web servers. For example, a
servlet might be responsible for taking data in an HTML
order-entry form and applying the business logic used to
update a company’s order database. Servlets are to servers
what applets are to browsers. Unlike applets, however,
servlets have no graphical user interface.

Is This Answer Correct ?    18 Yes 4 No

what is servlet and what you get when we use servlets?..

Answer / someone

servlet acts as a web container in which we can execute the
html data via httprequest.

Is This Answer Correct ?    13 Yes 4 No

what is servlet and what you get when we use servlets?..

Answer / nag sekhar(mca)

Servlet is an object which provides the implementation of
servlet interface directly or indirectly.
For example servlet program can be written by implementing
the servlet interface or by using HttpServlet class like
"public class ServletExample extends HttpServlet". The class
HttpServlet implements the Servlet interface which is
indirect implementation of Servlet.

Is This Answer Correct ?    8 Yes 1 No

what is servlet and what you get when we use servlets?..

Answer / divya.mamillapalli(mca)

Servlets are server side components that provide a powerful
mechanism for developing server side programs. Servlets
provide component-based, platform-independent methods for
building Web-based applications, without the performance
limitations of CGI programs. Unlike proprietary server
extension mechanisms (such as the Netscape Server
API or Apache modules), servlets are server as well as
platform-independent. This leaves you free to select a "best
of breed" strategy for your servers, platforms, and tools.
Using servlets web developers
can create fast and efficient server side application
which can run on any servlet enabled web server. Servlets
run entirely inside the Java Virtual Machine. Since the
Servlet runs at server side so it does not checks the
browser for compatibility. Servlets can access the entire
family of Java APIs, including the JDBC API to access
enterprise databases. Servlets can also access a library of
HTTP-specific calls, receive all the benefits of the mature
java language including portability, performance,
reusability, and crash protection. Today servlets are the
popular choice for building interactive web applications.
Third-party servlet containers are available for Apache Web
Server, Microsoft IIS, and others. Servlet containers are
usually the components of web and application servers, such
as BEA WebLogic Application Server, IBM WebSphere, Sun Java
System Web Server, Sun Java System Application Server and
others.

Servlets are not designed for a specific protocols. It is
different thing that they are most commonly used with the
HTTP protocols Servlets uses the classes in the java
packages javax.servlet and javax.servlet.http. Servlets
provides a way of creating the sophisticated server side
extensions in a server as they follow the standard framework
and use the highly portable java language.

.

Is This Answer Correct ?    9 Yes 4 No

what is servlet and what you get when we use servlets?..

Answer / rohit patel(vadodara)

Srevelet is mainly Java-based Server Side web Technology..

Is This Answer Correct ?    3 Yes 1 No

what is servlet and what you get when we use servlets?..

Answer / kesav

Servlet is an API , released by Sun Micro Systems , Servlet
is a Java Program which provides the implementation of
Servlet Interface directly or indirectly

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Servlets Interview Questions

Explain the differences between jsp and servlet.

0 Answers  


Explain Servlet Chaining ?

2 Answers  


Can we use the constructor, instead of init(), to initialize servlet?

0 Answers  


What is a web container and what is its responsibility?

0 Answers  


What's the advantages using servlets than using cgi?

0 Answers  


Hi............ When i am started the tomcat server it started. but it not load the jar files wht we deploving file.suppose we load the wapp folder in webapps. At running time it show the below error in tomcat server INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\web apps\wapp\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, s ection 9.7.2. Offending class: javax/servlet/Servlet.class How to slove this problem in my system. plz give answer for this problem.

5 Answers  


What is the use of send redirect () method?

0 Answers  


Describe in brief RequestDespatcher?

0 Answers   Tech Mahindra,


what is multiple server?

0 Answers  


Can filter be used as request or response?

0 Answers  


What is the difference between forward () and sendredirect () functions in servlet? Explain

0 Answers  


Is it possible to send a mail from a servlet? Explain?

4 Answers  


Categories