The Artima Developer Community
Sponsored Link

Java Answers Forum
Criteria to choose between JSP and Applet

5 replies on 1 page. Most recent reply: Apr 28, 2003 2:20 PM by Charles Bell

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 5 replies on 1 page
Manish

Posts: 3
Nickname: manishet
Registered: Apr, 2003

Criteria to choose between JSP and Applet Posted: Apr 24, 2003 11:42 PM
Reply to this message Reply
Advertisement
Hi All,

I have seen many applications which are developed using JSP as the FE. JSP development is a tedious job if the screens are very difficult. In applet multiple tables and panel can be handled very easily.
Can any body let me know what are the guidelines for selecting between applets/swings and JSP.

Regards,
Manish


Senthoorkumaran Punniamoorthy

Posts: 335
Nickname: senthoor
Registered: Mar, 2002

Re: Criteria to choose between JSP and Applet Posted: Apr 25, 2003 5:02 PM
Reply to this message Reply
JSP is server based technology where all the processiong of business logic will be handled at the server and the response will be sent to the browser. However applet on the other hand is capable of doing the processing on the client side since the clsas files are downloaded to the client machine.

Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: Criteria to choose between JSP and Applet Posted: Apr 25, 2003 5:44 PM
Reply to this message Reply
On the practical side, in order to have a website which runs jsp java server pages, it has to be java servlet enabled. Most web hosting services do not provide that and they are not generally free. jsp pages put out html, wml, or xhtml or even xml pages, just to name a few options. All a client has to have is a web browser or web enabled device.

Most browsers do not come with a current java virtual machine. To run a swing applet, the user has to have a current jre installed. Although any web site can run swing applets.

Regular non swing applets can run on any web site, but there may be problems again with the jre.

Senthoorkumaran Punniamoorthy

Posts: 335
Nickname: senthoor
Registered: Mar, 2002

Re: Criteria to choose between JSP and Applet Posted: Apr 26, 2003 7:13 PM
Reply to this message Reply
a free JSP hosting site would be for beginners

www.mycgiserver.com

Manish

Posts: 3
Nickname: manishet
Registered: Apr, 2003

Re: Criteria to choose between JSP and Applet Posted: Apr 27, 2003 9:57 PM
Reply to this message Reply
The advantages of JSP which you have drawn can be seen as
1. All browsers supports it.
2. It is for thin client.
I suppose this is fine if the application is small. But if the application is big and complicated, where a user has to work the whole day long then probably the applet based application would be better.
Now a days all the browsers are having in built JRE. Does this means the applets will be in more demand then JSP. JSP gives the thin client but it also makes the development much difficult and also JSP clients make traffic to the server more heavier. Please suggest.

Charles Bell

Posts: 519
Nickname: charles
Registered: Feb, 2002

Re: Criteria to choose between JSP and Applet Posted: Apr 28, 2003 2:20 PM
Reply to this message Reply
The other big advantage of jsp is the ability to use tag libraries which can streamline lots of code writing.

They are just so easy to use.

Flat View: This topic has 5 replies on 1 page
Topic: Conversion from decimal to dotted decimal base 256 number Previous Topic   Next Topic Topic: Amicable Numbers program

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use