answersLogoWhite

0

Where do servlets execute?

User Avatar

Anonymous

14y ago
Updated: 8/17/2019

On the Server in which the Web Application is deployed. For Ex: Tomcat, weblogic, websphere are all some servers in which a servlet can execute

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the difference between a Web Server and a Application Server?

== == The basic difference between a web server and an application server is Webserver can execute only web applications i,e servlets and JSPs and has only a single container known as Web container which is used to interpret/execute web applications Application server can execute Enterprise application, i,e (servlets, jsps, and EJBs) it is having two containers 1. Web Container(for interpreting/executing servlets and jsps) 2. EJB container(for executing EJBs). it can perform operations like load balancing , transaction demarcation etc etc


Is it mandatory to learn servlets before JSP?

No. But, knowledge of Servlets would be an added advantage if you are learning JSPs


What are the advantages of using servlets?

Benefits of using Servlets for developing Web Applications:Servlets are an integral part of any J2EE Web application. The key benefits of using Servlets in our web applications are:a. They are faster than CGI scripts because each CGI script produces an entirely new process that takes a lot of time to execute, whereas a servlet creates only a new thread.b. Servlet API is standard and available easily on the internet (like JSPs)c. Servlets have the advantages like ease of development & platform independence (like Java)d. They can access all the J2SE and J2EE APIse. Can take the full advantage & capabilities of the Java programming langauge


Is it true that applets are more secure than servlets?

No. I believe, servlets are much secure and more powerful than applets.


Is j2ee servlet development kit useful for developing servlets in j2se?

J2SE stands for Java 2 Standard Edition and I dont think Servlets are a part of it. Servlets are only part of the Java 2 Enterprise Edition.


How are jsps betten than servlets?

JSPs can contain HTML, JavaScript, XML and Java Code whereas Servlets can contain only Java Code, making JSPs more flexible and powerful than Servlets. However, Servlets have their own place in a J2EE application and cannot be ignored altogether. They have their strengths too which cannot be overseen.


Can you use jsp and servlets together?

Yes, JSP (JavaServer Pages) and Servlets can be used together in a web application. Servlets handle the business logic and processing of requests, while JSP is used to create the user interface and generate dynamic content. Servlets can interact with JSP pages to pass data and control the flow of the application.


What are servlets and what are their advantages on their contemporaries?

Servlets are modules of Java code that run in a server application (hence the name "Servlets", similar to "Applets" on the client side) to answer client requests. Servlets are not tied to a specific client-server protocol but they are most commonly used with HTTP and the word "Servlet" is often used in the meaning of "HTTP Servlet".Servlets make use of the Java standard extension classes in the packages javax.servlet (the basic Servlet framework) and javax.servlet.http (extensions of the Servlet framework for Servlets that answer HTTP requests). Since Servlets are written in the highly portable Java language and follow a standard framework, they provide a means to create sophisticated server extensions in a server and operating system independent way.Advantages of Using Servletsa. They are faster than CGI scripts because each CGI script produces an entirely new process that takes a lot of time to execute, whereas a servlet creates only a new thread.b. Servlet API is standard and available easily on the internet (like JSPs)c. Servlets have the advantages like ease of development & platform independence (like Java)d. They can access all the J2SE and J2EE APIse. Can take the full advantage & capabilities of the Java programming language


Can you create web forums using jsp and servlets?

Yes. All sorts of web Applications/websites can be created using JSP and Servlets


How can you learn Servlets and Jsps in an easy way?

Try the Head First JSP & Servlets book. It is a good book for learning them. You can also try the internet. You can get a lot of websites that give you tutorials on JSPs and Servlets. One of them is available in the related links section


How you can display servlet page in jsp page?

You cannot. You display JSP Pages using the help of Servlets. Servlets are of the background classes and you cannot display them


What are the applications of servlets?

Servlet is a Server side component, a servlet is a small pluggable extension to the server and servlets are used to extend the functionality of the java enabled server.