Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #566

Re: servlets v's applets

From "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this>
Subject Re: servlets v's applets
Message-ID <1167938018.413609.225150@11g2000cwr.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <ZYbnh.52339$HV6.34822@newsfe1-gui.ntli.net>
Date 2011-04-27 15:28 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Jeremy Watts wrote:
> are there any advantages to using servlets over applets?

Yes.  Please find your shift key and apply once
at the start of each sentence.

>..i am in the
> process of writing a math application that will run within a website,

It is probably better to offer the end user a
web-start based application, than an applet
(if that is the way you go).

>..and am
> wondering whether to do the processing 'server side' or 'client side'.

Can your server handle the load?  Can your
clients wait on a server retrieve for each calculation?
If doing the calculations on the client side (which can
be done in a Java applet/application, *or* DHTML),
Will the client wear the Java (or JS) dependancy?

> i notice that when using some java applets on the web that they sometimes
> take several seconds to load, does this also happen with servlets?

No.

> ps. sorry if this question sounds vague as i'm not too sure exactly what i'm
> asking

That is clear.  Servlets produce HTML, or HTML with
JavaScript.  A 'math' program could probably be done
using HTML/JS, and I doubt you need the complications
and headaches of offering up your server to do calculations
(even assuming you have a Java enabled server).

So the real question becomes.  Should you go
with HTML/JS provided by servlets, or a web-start
application?

Andrew T.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Find similar


Thread

servlets v's applets "Jeremy Watts" <jeremy.watts@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
  Re: servlets v's applets "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000

csiph-web