answersLogoWhite

0

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 APIs

e. Can take the full advantage & capabilities of the Java programming langauge

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Can you create web forums using jsp and servlets?

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


Create a table using JSP Servlets?

scope of operater


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


How To write a java program to create three tier applications using servlets?

barsanabegam


Why are servlets more secured?

It is very hard to edit a servlet program using hacking.


Write a program in java to display a string message using Servlets?

i dont no string for servlate


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


How do you import others codes in java?

using servlets, php, and database we can connect import codes into java


Is it mandatory to learn servlets before JSP?

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


Is it true that applets are more secure than servlets?

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


How to upload excel sheet data into a MySQL database using JSP and Servlets?

It is very easy to upload excel spreadsheet data into a MySQL database using JSP and servlets. Within Java there is a tool where you can designate the name and location of the file you would like to import. Once you furnish the file name Java server pages will do the work for you.


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.