Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets

 
Neelesh K J Jain
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between application and applets in java
 
Dustin Marx
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From http://java.sun.com/docs/books/tutorial/getStarted/index.html :
"The most common Java programs are applications and applets. Applications are standalone programs, such as the HotJava browser. Applets are similar to applications, but they don't run standalone. Instead, applets adhere to a set of conventions that lets them run within a Java-compatible browser."
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by neeleshjjain:
What is the difference between application and applets in java

The difference is that applets run inside a browser, applications don't. The similarity is that neither of them have anything to do with JSPs or servlets whatsoever.
- Peter
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...and so, I'm moving this thread to Applets forum.
BTW the name 'neeleshjjain' does not comply with the JavaRanch naming policy. Please choose one that meets the requirements.
Thanks!
Ajith
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic