aspose file tools*
The moose likes Servlets and the fly likes JSP vs Applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP vs Applets" Watch "JSP vs Applets" New topic
Author

JSP vs Applets

Tighe Fagan
Greenhorn

Joined: Jun 15, 2001
Posts: 22
My development team is currently embarking on an effort
to port a massive financial processing system from
Powerbuilder, PL1, Cobol, and Assembler into a J2EE architecture.
The Powerbuilder front-end is fairly robust with some
complex widgets. We are currently debating whether to
pursue a jsp-based or an applet-based presentation layer.
Given that our clients will be running
the system on an intranet and the gui is complex, we have
been lobbying our manager to push applets over JSPs. Any
thoughts on pros and cons of each approach (preferably
in corporate manager speak, so as to convince the boss)?

[This message has been edited by Tighe Fagan (edited June 15, 2001).]
mathew Jackson
Greenhorn

Joined: Jun 15, 2001
Posts: 12
I personally would vote against the applet approach. If you are popping up applets all over the place your users could easily be lost. I believe in limiting the choices available to a user on the gui and thus reducing the chance for errors and complaints. go for the JSP approach and put your logic in servlets and other java classes.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
How much interaction do the users have with the system? Are there a lot of choices to make, data to input, etc.?
If all you need is presentation, go with JSP/servlet, but if the users have a complex interaction, applets become feasible.
Every interaction with a JSP based interface involves a round-trip request/response, requiring more network bandwidth and cpu time.
Bill
Julia Reynolds
Ranch Hand

Joined: May 31, 2001
Posts: 123
We're designing a distributed system that has a few components that require lots of high speed data entry. We are developing Swing clients for these portions of the app, might be something to consider.
Julia
Jimi Rock
Ranch Hand

Joined: Feb 19, 2001
Posts: 134
Tighe, as they said, if the interaction is an issue then use applet senario. note that the applet will take time to be downloaded, but while running it's performance will be fine retreving and inserting data into a database system as I have tried it.
Julia, because you are using swing you will have a browser problem as you need to update the plugin on every client machine. and this is a critical job. I have found another solution so that you don't need to update the plugin. Use html converter to convert the html file that contains the applet. It is a very easy way and your clients are going to run the applet independent of their browsers.
Regards,
Jimi.
Steve Campbell
Ranch Hand

Joined: Dec 18, 2000
Posts: 41
You might want to look into a product called "Java Web Start" on the JavaSoft website. It enables you to write Java Applications for your app instead of using applets. IMHO, it's easier to write Applications instead of Applets.
vikinsa
Ranch Hand

Joined: Apr 18, 2001
Posts: 46
Hi!,
I would personally vote for the server side programming as it is very easy to program and test. The applets are client side programs which are slow, very complex to design, lesser response time, high security issues, very less compatibility with the server side programs, difficult interaction with the databases.
On the other side the server side programming is a little to tune with the web server and the environment but has all of the advantages over the applets.
Originally posted by Tighe Fagan:
My development team is currently embarking on an effort
to port a massive financial processing system from
Powerbuilder, PL1, Cobol, and Assembler into a J2EE architecture.
The Powerbuilder front-end is fairly robust with some
complex widgets. We are currently debating whether to
pursue a jsp-based or an applet-based presentation layer.
Given that our clients will be running
the system on an intranet and the gui is complex, we have
been lobbying our manager to push applets over JSPs. Any
thoughts on pros and cons of each approach (preferably
in corporate manager speak, so as to convince the boss)?

[This message has been edited by Tighe Fagan (edited June 15, 2001).]


------------------
Vikas Aggarwal
Technology Associate
http://www.vikinsa.com


Vikas Aggarwal<BR>Technology Associate<BR>http://www.vikinsa.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP vs Applets