simple way to explane the servlet in java

Asked by Last Modified  

30 Answers

Learn Java

Follow 0
Answer

Please enter your answer

Expert computer science and problem solving tutor

Servlet is a program wich executed in server and assists in responding to client queries..... Usually confidential tasks are done by using servlets or other server side codes
Comments

Java/J2EE, B.E./B.Tech/MCA SubjectsTraining

Servlet is a program in Java which resides in to Web Container. It accepts web request from the client & send response to the client via various media like JSP, HTML etc.
Comments

The java class contains business logic that fetches input from web page , process and can generate dynamic web page -
Comments

Trainer

A servlet is a small program that runs on a server. The term was coined in the context of the Java applet, a small program that is sent as a separate file along with a Web (HTML) page.
Comments

Servlet is platform independent java class which process and store data, it access enterprise database, and handles requests and responce
Comments

Servlet technology is used to create web application and generates dynamic web page. Servet technology is robust and scalable as it uses the java language. There are many interfaces and classes in the servlet API such as Servlet, GenericServlet, HttpServlet, ServletRequest, ServletResponse etc. What...
read more
Servlet technology is used to create web application and generates dynamic web page. Servet technology is robust and scalable as it uses the java language. There are many interfaces and classes in the servlet API such as Servlet, GenericServlet, HttpServlet, ServletRequest, ServletResponse etc. What is a Servlet? Servlet can be described in many ways, depending on the context. Servlet is a technology i.e. used to create web application. Servlet is an API that provides many interfaces and classes including documentations. Servlet is an interface that must be implemented for creating any servlet. Servlet is a class that extend the capabilities of the servers and respond to the incoming request. It can respond to any type of requests. Servlet is a web component that is deployed on the server to create dynamic web page. read less
Comments

Java Tutor and 100% Placements

suppose you have to create dynamic data then you have to use servlet.example,display the current date and time.it means for every click your time will change.
Comments

Azure IoT, Agile Coach , JIRA, QA, PowerBI , Business Analyst, Software Testing, Dremio trainer

in a simple, Servlets provide a component-based, platform-independent method for building Web-based applications
Comments

Coaching

Java servlet is a Java programming language program that extends the capabilities of a server.
Comments

IT Professional Trainer with 15 years of experience in IT Industry

Talking about the web technology, Java developers will keep talking about how powerful the Spring , Struts, Wicket, JSF…..When talking about the deployment, they will say using Ant script or Maven to build or deploy. Ironically, without the IDE or technology help, many Java developers do not know either...
read more
Talking about the web technology, Java developers will keep talking about how powerful the Spring , Struts, Wicket, JSF…..When talking about the deployment, they will say using Ant script or Maven to build or deploy. Ironically, without the IDE or technology help, many Java developers do not know either how to create a simple servlet and deploy it , nor about writing the deployment descriptor. Nowadays , too many Java developers tight coupling with latest technology, do they know loose coupling is a good design for scalability :)? All the lasted technology is come from “Servlet” as foundation, you can not go far without it. Here’s a quick guide to write, deploy and run a simple servlet in web container, without any IDE help. read less
Comments

View 28 more Answers

Related Questions

What is use of interface in Java language?
Interface are used to code re-usability, and they are the real driver of ploymorphism in Java. Interface are also allows multiple inheritance in java.
Parminder
What is JavaBean?
A JavaBean is just a standard All properties private (use getters/setters) A public no-argument constructor Implements Serializable. That's it. It's just a convention. Lots of libraries...
Ankit
0 0
6
When we are used the compiler and interpreter? what is the difference between them?
compiler compiles whole page or file at one time but interpreter executes line by line like we do using debugger
Shilpa
Is there any difference between Serializalble and Externalizable interface?
http://www.codingeek.com/java/io/differences-serializable-externalizable-interface-java-tutorial
Vathsala

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons


Palindrome Number : Java Function
An easier way to find out whether a number is a Palindrome number or not. Eg. 121, 88, 12321 etc public boolean isPalindrome ( int n ) { int rev = 0, r; for( i = n; i > 0; i /= 10 ) { r...

Constructor in Java
A constructor is a particular type of method that is used to initialise the object. The constructor is invoked at the time of object creation. It constructs the values, i.e. provides data for the object...

Example of DependsOnMethod in TestNG
public class dependsonM { @Test public void login() { System.out.println("login"); } @Test (dependsOnMethods = {"login"}) public void email() { //Intentionally I am failing this testcase Assert.assertTrue(false);...
S

Sarthak C.

0 0
0

On the Job training is always best
On the job training always provides an opportunity to learn the best industry practices. While you work on real time you would encounter many challenges that will force you to learn many new things. Class...

Recommended Articles

Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...

Read full article >

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you