Article View: aus.computers.java
Article #1208Re: Java applets Client vs Server side
From: Luke Webber
Date: Sun, 28 Mar 1999 00:00
Date: Sun, 28 Mar 1999 00:00
38 lines
2452 bytes
2452 bytes
In article <7dhl5u$jgf$1@bunyip.cc.uq.edu.au>, "liu singloon" <sing.loon@uq.net.au> wrote: > Hi I want to add a java applet which scrolls through the latest news updates > on my web site. > > I read that client side ones consume alot of resources and can make a web > surfer's visit unpleasant when slow. But server side ones are much better. I think you're confused here. For your purposes you definitely need to run in the client. That's what applets do. Server side processing has no user interface elements, but is used for things like database access or other processing. These things are handled via servlets or RMI or Enterprise JavaBeans. Of course a servlet can do simple things like sending html or images to the browser, but it's strictly an in-and-out thing, where the client calls the servlet and the servlet responds. The servlet can't act on the browser unless it's first called. > I use Applet Headline Factory to create my java applets. What's the > difference between server and client sided ones? Also how do I make a Java > Applet server sided ? You don't. > My new web host does support java. Every Web server supports applets, but servlet support is harder to come by. Don't worry too much about performance unless you're using Swing or large custom class libraries. Avoid Swing like the plague or your applet will load v- e-r-y slowly. Also avoid JDK 1.2 or the client will need a plug-in just to run your news ticker. Luke -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Technical Details
Message-ID:
<7dm7v3$mm4$1@nnrp1.dejanews.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7dhl5u$jgf$1@bunyip.cc.uq.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113ae9,fb1a72149684ddde X-Google-Attributes: gid113ae9,public X-Google-Thread: 10d6db,fb1a72149684ddde X-Google-Attributes: gid10d6db,public From: Luke Webber <luke@webber.com.au> Subject: Re: Java applets Client vs Server side Date: 1999/03/28 Message-ID: <7dm7v3$mm4$1@nnrp1.dejanews.com> X-Deja-AN: 460109567 References: <7dhl5u$jgf$1@bunyip.cc.uq.edu.au> X-Http-Proxy: 1.0 typhoon.sub.net.au:8080 (Squid/2.2.DEVEL3), 1.0 x14.dejanews.com:80 (Squid/1.1.22) for client 202.182.80.81, 202.182.64.8 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Sun Mar 28 21:46:12 1999 GMT Newsgroups: aus.computers.java,comp.lang.java.help X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)