Java Applet Primer Tutorial

Java Applet Primer Tutorial

Java Applet Primer Tutorial

Java Applets

Have you ever made one?

What is it?

Well … according to Wikipedia … //en.wikipedia.org/wiki/Java_applet

A Java applet is an applet delivered to users in the form of Java bytecode. Java applets can be part of a web page and executed by the Java Virtual Machine (JVM) in a process separate from the web browser, or run in Sun’s AppletViewer, a stand-alone tool for testing applets. Java applets were introduced in the first version of the Java language in 1995, and are written in programming languages that compile to Java bytecode, usually in Java, but also in other languages such as Jython,[8] JRuby,[9] or Eiffel (via SmartEiffel).[10]

For me, it was like the first feeling that you have compiled something onto the Web … another feeling you get like this is when you build an ASP.Net website … guess it was the same for ASP developers. What you compile is a Java class, which in our Primer Tutorial’s case will be called by a pretty simple piece of HTML.

Anyway, could be wrong, but see this as a precursor to the idea of a Web Application and using Web Services and even to today’s mobile phone apps.

Increasingly, alas, the support for Applets is dwindling, if my experience with Google Chrome and Java Applets is typical, but that doesn’t mean creating one doesn’t teach you a lot, even so far as learning about Java goes.

In this primer tutorial we will just do Hello World via XCode Java on a Mac laptop.

Let’s go

Link to Java Applet more information … via Wikipedia, from where quote above came.
Link to Java “spiritual home” … via Oracle and Sun, includes talk about (the recent) Java, and about download options.
Link to Java Applet game … Draw Poker game … some of personal programming experience.
Another slightly more obscure link … hope too much Applet development doesn’t result in … OMG!

If this was interesting you may be interested in this too.

This entry was posted in eLearning, Tutorials, Xcode and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>