954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Javascript vs Java Applet

I want to use a slideshow on a web page, which could be implemented using either Javascript or an applet. Which on is the best option?

Thanks.

Cerberus
Junior Poster
162 posts since Sep 2006
Reputation Points: 27
Solved Threads: 14
 

JavaScript. Java applets died a long time ago.

stymiee
He's No Good To Me Dead
Moderator
3,360 posts since May 2006
Reputation Points: 161
Solved Threads: 38
 

JavaScript. It is supported by default at clients' machines (if client has not disabled JavaScript), but applets are not supported any more by windows, so, client must search somewhere and install Java suppore to his machine so that to be able to see your applet.

NET-Developer
Newbie Poster
18 posts since May 2007
Reputation Points: 10
Solved Threads: 1
 

> but applets are not supported any more by windows,
Says who?

You just need the Java runtime environment (JRE) to run applets on you machine.

~s.o.s~
Failure as a human
Administrator
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
 

Java applets and their use thereof died a long time ago - may they rest in piece. Flash is the preferred alternative, but if javascript will suffice use that as long as it is not to gimmicky.

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

Java still has a use, but not any more on 'popular websites'; Java is used often for graphical simulations of physics, maths, network principals - it can still be found, and it certainly works on windows, the only change is that MS don't package a proprietry JVM with Windows anymore; which is honestly a good thing for Java.

I use Javascript over Flash for most things; use Flash only if you want a microapplication completely separated from the rest of a page embedded within a page.

MattEvans
Veteran Poster
Moderator
1,386 posts since Jul 2006
Reputation Points: 522
Solved Threads: 64
 

Thanks for the advice. I'll use Javascript.

It seems strange that Applets aren't so popular, as Java is a popular programming language. But i've never used flash so i couldn't really compare why you would choose one over the other.

Cerberus
Junior Poster
162 posts since Sep 2006
Reputation Points: 27
Solved Threads: 14
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You