• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

difference between applet and servlet

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hai,
please tell me differences between applet and servlet
bye
 
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 243
Python
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic