Home Tutorialhelp Comment App vs Applet

 
 

Comment

Ghanshyam
App vs Applet,
November 21, 2007 at 10:44 AM

Good question. In an application you NEED a main method, in applets the main method is the init(), start(), or paint(). You can have either 3 to start the applet. These three are of equal value as the main method seen in applications. Also, in order to display a java program you need an applet to do it if you want the java program to run on the web.
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Mobile Applications Questions

J2me app with servlets
J2me app with servlets  Can we send and receive message from our servlet website to mobile? if yes,then how.. without using any router..code plz??   Please visit the following link: http://www.roseindia.net 

JSP Servlet Questions

Servlets vs JSP - JSP-Servlet
Servlets vs JSP  What is the main difference between Servlets and JSP...)Java Server Pages is that they are document-centric. Servlets, on the other hand... and servlet is used for bussiness logic 5)Servlets are faster than jsp. 6 

JSP Servlet Questions

Servlets Vs Jsp - JSP-Servlet
Servlets Vs Jsp  In servlets and Jsp's which one is important? and also tell me the Is Servlets are best or jsp's are best? give me the(reason also... with servlets but not with jsp's)Most of cases we use jsp's for presentation.i.e 

JSP Servlet Questions

how to create a reminder app using threads in Servlets?
how to create a reminder app using threads in Servlets?  I want to make a Reminder application in Servlets. When the date and/or time is matched... get re-directed!". I have used threads for core java, but never used for Servlets 

Applet Questions

java app
java app  create an applet to display the Fibonacci numbers  ... java.awt.event.*; public class AppletExample extends Applet implements ActionListener...(buffer.toString()); } } 2)applet.html: <HTML> <BODY> <APPLET 

Development process Questions

SERVLETS
\webapps\website_app\WEB-I NF\classes>javac InsertServlet.java 

Java Beginners

Java Shapes Bouncing App
the following into my java app code: Here's my code: first ill post the main class... main(String[] args) { A1 applet = new A1(); JFrame frame = new...); frame.getContentPane().add(applet, BorderLayout.CENTER 

JDBC Questions

Servlets - JDBC
version="1.0" encoding="ISO-8859-1"?><web-app xmlns=" 

Java Beginners

Applet
Applet  Write an applet to display a string in an applet. String should be passed as a parameter to an applet 

Java Beginners

diff b/w applet and servlet
diff b/w applet and servlet  what is the difference between applet and servlet?   Difference between servlet and applet: 1)An applet... over the browser whearas servlets run over the server. 3)Servlet doesn't have 

Java Beginners

Applet
Applet  Give the class hierarchy of an Applet class 

Java Beginners

applet
applet  Explain different stages in the lifecycle of an applet with figure.   Stages of Applet: Life cycle of an Applet: init(): This method is called to initialized an applet start(): This method is called after 

Applet Questions

Applet
Applet  how to run an applet on a web browser 

Java Interview Questions

applet
applet  What is the immediate superclass of the Applet class 

Servlet Interview Questions

servlets
servlets  what is the duties of response object in servlets 

Servlet Interview Questions

servlets
servlets  why we are using servlets 

Java Beginners

getResourceAsStream() vs FileInputStream
getResourceAsStream() vs FileInputStream  getResourceAsStream() vs FileInputStream 

Servlet Interview Questions

servlets
what are advantages of servlets  what are advantages of servlets   Please visit the following link: Advantages Of Servlets 

Java Beginners

Applet
Applet  Write a ava applet that sets blue color foreground and yellow color background at the start of an applet 

Java Beginners

Applet
Applet  Explain the start() and stop() methods of applet life cycle.   Start and Start method of Applet Life Cycle Start () method: The start method of an applet is called after the initialization method init 

JSP Servlet Questions

Servlets
Servlets  How to edit and delete a row from the existing table in servlets 

Servlet Interview Questions

servlets
servlets  How do you communicate between the servlets?   We can communicate between servlets by using RequestDespatcher interface and servlet chaining 

Swing AWT

Applet
Applet  I have a java applet that has a button. On clicking the button it should disappear and another applet should appear. How to write this code???? Also in login applet after successful login it should display admin applet 

Java Beginners

Applet
Applet  Write a short note on applet life cycle 

Servlet Interview Questions

servlets
what is the architecture of a servlets package  what is the architecture of a servlets package   The javax.servlet package provides interfaces and classes for writing servlets. The Servlet Interface The central 

JSP Servlet Questions

Servlets
Servlets  How to check,whether the user is logged in or not in servlets to disply the home page 

Java Beginners

Applet
Applet  Draw the class hierarchy of an Applet class. Also explain how to set background and forground colors in java 

Java Interview Questions

servlets
servlets  why we require wrappers in servlets? what are its uses? Please explain   These wrappers classes help you to modify request...://www.roseindia.net/servlets/response-filte.shtml 

Development process Questions

Servlets
. Anyways, please visit the following links: http://www.roseindia.net/servlets/introductiontoconfigrationservlet.shtml http://www.roseindia.net/servlets 

JSP Servlet Questions

servlets
servlets  How to open and read the contents of a text file in servlets?   Please visit the following link: Read text file using Servlet 

Java Tips and Examples

Java - Applet Hello World
Java - Applet Hello World       This example introduces you with the Applet in Java. You will learn how to develop applet code and run in the browser. Applet 

Servlet Interview Questions

servlets - Servlet Interview Questions
; encoding="ISO-8859-1"?><!--<!DOCTYPE web-app PUBLIC " 

JSP Servlet Questions

servlets
servlets   Hi what is pre initialized servlets, how can we achives?   When servlet container is loaded, all the servlets defined in the web.xml file does not initialized by default. But the container receives 

WebSevices Questions

Servlets and
Servlets and   Sir...! I want to insert or delete records form oracle based on the value of confirm box can you please give me the idea.... thanks 

Servlet Interview Questions

servlets
servlets why do we need web-inf directory in web application  why do we need web-inf directory in web application? means what's the benefits of doing so 

Java Beginners

applet
applet  what is applet in java   An applet is a small program that can be sent along with a Web page to a user. Java applets can perform... the following link: Applet Tutorials 

Servlet Interview Questions

servlets
which are the differ ways you can communicat between servlets  which are the differ ways you can communicat between servlets   Different ways of communicating between servlets:- 1)Using RequestDispatcher object. 2 

Servlet Interview Questions

servlets
package supports the development of servlets that use the HTTP protocol. The classes... javax.servlet.GenericServlet and serves as the base class for HTTP servlets. HttpServlet-Request 

Servlet Interview Questions

servlets
what are sessions in servlets  what are sessions in servlets   A Session refers to all the request that a single client makes to a server...: http://roseindia.net/jsp/jspsession/ http://www.roseindia.net/servlets 

Java Beginners

Applet
Applet  Write a Java applet that drwas a line between 2 points. The co-ordinates of 2 points should be passed as parametrs from html file. The color of the line should be red 

Servlet Interview Questions

the servlets
what is diff between generic servlets and httpservlets  what is diff between generic servlets and httpservlets   Difference between GenericServlet and HTTPServlet: 1)GenericServlet belongs to javax.servlet package 

Servlet Interview Questions

servlets
regarding the user usage and habits. Servlets sends cookies to the browser client...://www.roseindia.net/jsp/jspcookies.shtml http://www.roseindia.net/servlets/use 

JSP Servlet Questions

servlets
servlets  hi i am using servlets i have a problem in doing an application. in my application i have html form, in which i have to insert on date value, this date value is retrieved as a request parameter in my servlet 

Applet Questions

applet
applet  applet to open new tab not working.here's my code import java.applet.*; import java.awt.*; import java.net.*; import java.awt.event.*; public class NewURL extends Applet implements ActionListener{ public void init 

Servlet Interview Questions

servlets
what are filters in java servlets  what are filters in java   Filters are powerful tools in servlet environment. Filters add certain functionality to the servlets apart from processing request and response paradigm 

Servlet Interview Questions

servlets
servlets  what are different authentication options available in servlets   There are four ways of authentication:- HTTP basic authentication HTTP digest authentication HTTPS client authentication Form-based 

Java-Tutorials

Applet in Java
("Roseindia.net"); frame.setSize(400,200); Applet app = new HelloWorldApplet...Applet is a Java program designed for execution within the web browser... Firefox and Internet Explorer. These web browsers download Applet from 

Java Interview Questions

websphere vs weblogic
websphere vs weblogic  websphere vs weblogic Why you are using websphere instead of weblogic 

JSP Servlet Questions

mobile app
 

Servlet Interview Questions

SERVLETS
 

JSP Servlet Questions

servlets
 

JSP Interview Questions

servlets
 

Servlet Interview Questions

the servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

servlets
 

Servlet Interview Questions

the servlets
 

Java Beginners

servlets
 

Java Beginners

servlets
 

Servlet Interview Questions

servlets
 

Java Beginners

Servlets
 

Java Interview Questions

servlets
 

Development process Questions

Servlets
 

Development process Questions

Servlets
 

Development process Questions

Servlets
 

Development process Questions

SERVLETS
 

Development process Questions

Servlets
 

Development process Questions

Servlets
 

Development process Questions

Servlets
 

JSP Servlet Questions

servlets
 

JSP Servlet Questions

servlets
 

JSP Servlet Questions

Servlets
 

Java Server Faces Questions

Servlets
 

JSP Servlet Questions

Servlets
 

IoC Questions

oracle vs sql
oracle vs sql  what is the difference between oracle and sql 

Java Interview Questions

encapsulation vs abstraction
encapsulation vs abstraction  what is the difference between encapsulation and abstraction 

Mobile Applications Questions

rate and review app iphone
rate and review app iphone  How to rate and review app in iphone 

Applet Questions

applet - Applet
.  Hi Friend, Try the following code: 1)Create an applet... extends Applet{ public void paint(Graphics g){ g.drawString("Welcome in Java Applet.",40,20); } } 2) Call this applet with html code 

Applet Questions

Applet - Applet
Applet  what is the concept of applet? what is different between the applet concept and HTML? what is mean by swing?  Hi friend, Applet Applet is java program that can be embedded into HTML pages. Java applets 

Struts Questions

JETM vs Jprofiler
JETM vs Jprofiler  Can anyone explain the difference between Java Execution Time Measurement(JETM) and Jprofiler 

Java Beginners

Interface vs abstract class
Interface vs abstract class  Hai, Is there any possible to defining abstract methods in Interface 

CVS Questions

compiler vs interpreter
compiler vs interpreter  "compiled program executes faster especially if the program contains loop" Why 

Mobile Applications Questions

delete app from iphone
delete app from iphone  How to delete an existing app from itunes 

EJB Questions

ejb vs hibernate - EJB
ejb vs hibernate  1>>> If we have ejb entity bean why we need hibernate? 2>>> Is hibernate distributed 

Applet Questions

applet - Applet
*; import java.awt.*; public class CreateTextBox extends Applet implements.../applet/ Thanks 

Free Programming books

Servlets Books
Servlets Books        ... Courses Looking for short hands-on training classes on servlets..., conference speaker on servlets and JSP (JavaOne, International Conference for Java 

Development process Questions

java vs vb
java vs vb  history of java and advanced products as well as vb? compared with java and vb? finalize list out the table of java and vb products? viewers i want more soon 

EJB Questions

ejbSelect() vs ejbHome() - EJB
ejbSelect vs ejbHome  Hi, 1) What are the differences between ejbSelect() and ejbHome...() business methods in CMP bean? 2) In Ed Romans Mastering EJB 3rd edition, it is mentioned that ejb finder methods 

Java Beginners

inheritence Vs inheritence
inheritence Vs inheritence  what are difference b/w c++ inheritence and java inheritence   Hi Friend, C++ supports Multiple Inheritance while Java does not. Thanks 

SQL Question

Derby vs MySQL - SQL
Derby vs MySQL  Hi, I want to know what are the advantages using Derby Database over MySQL.  http://www.roseindia.net/eclipse/plugins/database/index.shtml 

Mobile Applications Questions

iPad App to store data
iPad App to store data  Hi, How to add data support iPad application? Thanks 

Applet Questions

Applet - Applet
Applet   Namaste, I want to create a Menu, the menu name is "Display... java.awt.event.*; public class menu2frame extends Applet implements WindowListener...------------------------"); g.drawString("Demo of Java Applet Window Event Program"); g.drawString("Java 

Advertisements Advertisements
 

 

 

DMCA.com