What was a Java applet?

What was a Java applet?


Java applets represent an early—​and failed—​attempt to bring interactive experiences to the web. Today Chrome has dropped support for applets altogether. Why the interactive web moved away from applets and toward JavaScript is a subject of debate. The fact that applets require software that must be installed outside the browser and special browser plugins to work may be part of the reason.

Credits: Talking: Geoffrey Challen (Assistant Professor, Computer Science and Engineering, University at Buffalo). Producing: Greg Bunyea (Undergraduate, Computer Science and Engineering, University at Buffalo).

Part of the https://www.internet-class.org online internet course. A blue Systems Research Group (https://blue.cse.buffalo.edu) production.
Closed Caption:

one of the competing technologies that
was out there in the early days of the
web that people tried to use to provide
interactive web experience was was
something called Java applets and you'll
see that the title of this video is what
was a Java applet because and and I'm
doing this on a whiteboard because I use
Chrome and Chrome doesn't even support
Java applets anymore so Java applets I
would argue are really kind of a this
one of these pieces of sort of web
history at this point there are still
browsers that support them and I'm sure
there's still some web pages you can
find out there that use Java applets for
some reason but in general Java applets
have really sort of just been eliminated
by the rise of Flash and and really the
rise of JavaScript and other
technologies that run in the browser so
what was a Java applet so a Java applet
was that you know browsers for a while
again most major browsers until recently
provided a way for you to load and run
some Java B code as part of loading a
page so you would have a tag on your
page um I can't remember maybe it was
called applet or something um and you
would give it a class name um you know s
i don't again I have no idea I've never
used these so it's like
hello.
class and you know like other external
resources when the page was loaded your
browser would fetch this uh class file
that class file contained Java bite code
compile Java code that would then run on
the page and it could you know do things
like manipulate the page it could draw
things it could you know add text it
could interact with user could do a lot
of the same things that JavaScript does
today and you know again you might still
find pages that try to do this so you
know and and and how do you notice this
well you typically notice because you go
to the page and then this uh piece of
the page sort of brings up this spinner
and there's like a the you know the Java
coffee icon or something inside of it
and it'll sit here kind of spinning for
a couple minutes while it's like loading
the Java runtime environment and then
frequ the JV one time environment wants
to update itself for some reason in this
process so blah blah blah so this this
was how this worked um now again so this
is a little bit now at this point of a
piece of what we would consider sort of
web history Java applets are not uh used
probably by very many pages you visit um
so you know we can ask the question now
which is why and I think you know my
take on this is that Java applets
suffered from really kind of the same
problem that flash and other types of
Technologies did which is that they
required external support they required
that the browser so in order to to get
this to work when the browser sees one
of these uh applets it not only has to
download the class file and that's
whatever that's fine I would have to do
that with JavaScript code as well but it
has to start up a Java runtime
environment which is this separate
program provided by son or whoever was
maintaining in Java at the time and that
has to load and so that's one of the
reasons why when you go to pages that
have Java applet on them frequently they
don't load quickly you sit there sort of
watching this thing for a couple minutes
while it's doing whatever um and it also
meant that I had to create these sort of
complicated interfaces between the
browser and this external program so
there's this Java uh runtime uh that's
running the Java B code and I have to
somehow build a W for it to communicate
with the browser and I have to maintain
that over time and there's issues with
different uh compatibility because now I
have two pieces of software a browser
and the Java runtime environment and are
they going to work well together and
blah blah blah blah blah so this you
know um this just didn't work out um my
experience with Java APPL to and again
maybe this is just how they were
designed was was what they they were
sort of ugly you know they didn't blend
in with the rest of the page for some
reason they weren't using the same
styling the same markup as as the rest
of the page and that sort of gave them
this weird um look to them it was like
you know you were really aware of the
fact that there was this Java applet
that was consuming this little piece of
the page rather than that page um that
part of the page which could today be be
being manipulated by JavaScript having
the same styling the same feeling as the
rest of the page so you know again so
this is an interesting look at sort of a
a piece of well maybe I think it's
interesting maybe you don't agree but
this is a look at a piece of historical
uh technology that for a while we tried
to used to provide interactive web
experiences and you know I'm I'm not
certainly not going to argue I mean Java
is Alive and Well lots of people do lots
of things with Java but you know the the
downfall of java applets sort of really
pushed Java out of the browser and
really prevented Java from being able to
participate in providing client side web
experiences of the type today that are
really largely DED by JavaScript
[Applause]

Video Length: 05:10
Uploaded By: internet-class
Published: 10/27/2016
View Count: 30,848

Related Software Products
Free Java Applets
Free Java Applets

Published By:
Sirius Computer Consultants Limited

Description:
JPowered Free Java Applets: the free web page effects that browsers stopped running Free Java Applets was a freeware package from JPowered.com (Sirius Computer Consultants Limited, England) with a Java scrolling text applet, a tree menu applet and two small Java games for web pages. The last version, 4.2, is dated March 2005, JPowered offered it until about 2017, and Java applets no longer run in any current web browser. There is no official...


Related Videos
The Rise and Fall of Java
The Rise and Fall of Java

Video Length: 10:38
Uploaded By: The Science Elf (7/14/2018)
View Count: 1,020,001

Copyright © 2026, Ivertech. All rights reserved.