Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Question on which to use?

  Asked By: Dukker    Date: Sep 14    Category: Java    Views: 527
  

I have a question on if I should be using an application or applet.

Based upon the following:

I am new to JAVA and need to develop a screen that will allow the
user to enter selection parameters that will retrieve one or multiple
messages using Microsoft SQL Server. These messages will be
displayed in a screen. The user will have the ability to select one
or many messages. Once the message is selected the user will be able
view and then submit if necessary or just submit the message. In
either case the message will be submitted to a JMS Queue that will be
subscribed to via another application for processing.

Share: 

 

6 Answers Found

 
Answer #1    Answered By: Kay Rodriguez     Answered On: Sep 14

> I have a question  on if I should be using an application  or applet.

Do you want your users to run it from a web page or as an application?

 
Answer #2    Answered By: Paul Brooks     Answered On: Sep 14

You have three options

1. java  application
-------------------
Use this approach only if you want your application  to be a standalone that
can be started just like any other standalone application. Here use java
swings for your need.

2. Applet
---------
Use this approach when you want to use web browser as client. Presently not
many prefers to use applet  mainly due to performance related issue.

3. Servlet or JSP
-----------------
You can use this approach when you want to use web browser as client. Only
thing you need to fiddle with html and java code here.

 
Answer #3    Answered By: Sheryl Morgan     Answered On: Sep 14

I think a web page. But what would be the advantages/issues with
each option?

 
Answer #4    Answered By: Brian Ross     Answered On: Sep 14

The pros of using an Applet:
Easy(er) to distribute to all of your users.

Don't have to worry about classpaths (as much)


The cons of using an Applet:
The security Sandbox surroudning applets is annoying to do interesting
stuff with.

Limited to the stuff you can create your applet  with (Swing and AWT), or
at least it would be more difficult to make applications with SWT (which
rocks).

 
Answer #5    Answered By: Heidi Larson     Answered On: Sep 14

What about JSP????????????????????????

 
Answer #6    Answered By: Nagina Mian     Answered On: Sep 14

You may take whatever option whether you are using Applet or Application.
First you need to decide how you like to create this, as a webpage or as
GUI, both can be used. If you are deciding to use Applets then please use
Servlets, so you may understand how secure it is?

 
Didn't find what you were looking for? Find more on Question on which to use? Or get search suggestion and latest updates.




Tagged: