Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between applet and servlet

 
ramchander yshetti
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai,
please tell me differences between applet and servlet
bye
 
Pras Tiwari
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Applet:- Applet runs on client side within browser using jre at client machine when its embedded in any webpage requested by client.

Servlet:- Servlet is purely Server Side concept. It runs witin JVM on server side. & After that it transfers response to another servlet or to the client.

This is the basic difference.

Cheers,
Pras
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applets: Java Applets are the cute little components that run within the confines of a web page. Unfortunately, their star has faded in the last decade, as newer client/browser side technologies such as Flash and JavaScripting have provided much of the functionality that was originally delivered by Applets. Nevertheless, there is still a place for Applets in many enterprise architectures that need slightly fatter clients on the browser side.

Servlets: An application server must be capable of handling and responding to requests that come in over the Internet. A Servlet is simply a Java based component that handles web-based requests.

The purpose of a Servlet is to accept and process a web-based request, and subsequently send a response back to the client. Since the client is likely a person surfing the Internet, the response delivered to the client usually takes the form of a web page.

Servlets are popular because they are incredibly easy to code. With only a little bit of a Java background, anyone can code a Servlet and dive head first into the empty pool know as server side development.


-Cameron McKenzie
 
Nikos Stavros
Ranch Hand
Posts: 243
Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With only a little bit of a Java background, anyone can code a Servlet and dive head first into the empty pool know as server side development.


Im interested to know what you mean by
empty pool
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you ever jumped head first into an empty pool? It hurts. Don't try it.

Most server side developers are masochists who enjoy the pain.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic