![]()
|
Java Technologies (Applets and Servlets)Here are a number of Java Applets, some of which I have written while learning Java programming. There are examples of both client-side applets as well as server-side Java "servlets", and explore many different aspects of Java programming, including user-interface design, JDBC connectivity, "native" code support, interactions between Java and JavaScript, and more. The applets listed first, with the author marked in green, are applets I wrote entirely myself -- the others are ones I have snagged from various place on the 'net, written by other companies or individuals. I present them here as examples of what can be done with Java, and as "skeleton code" resources for other, similar projects. I also have another page of useful links related to Java Programming. |
![]() |
OpenSource Web-Enabled Geographical Information System Many clients, such as non-profit organizations, cannot afford the expense of a commercial GIS server, which typically costs in the range of $10k to $50k. At Ocean Group, I built a technology-base comprised of reusable, OpenSource software components, such as server-side JavaBeans and JSP template pages. Below is an interactive demo of our most ambitious effort, which was re-purposing and extending a GIS Java Applet called OpenMap as a scaleable and efficient Java Servlet component, thereby providing similar functionality to "MapQuest" or "Yahoo Maps", but at about one-tenth the cost of those commercial systems. The www.localharvest.org website makes use of this OpenSource mapping technology to put consumers in touch with organic farmers and farmer's markets in their local communities -- nationwide! Author: BBN Technologies/GTE (with significant changes/contributions by Daniel Kopyc while at OceanGroup) |
||||
![]() |
A "no-plugins" JavaApplet Movie Animator A simple java-applet (originally Sun Microsystem's demo "Animator" applet) that displays a series of JPG images in rapid sequence along with an audio soundtrack. The original movie was captured on a Canon Elura DV camcorder, captured using dvgrab from the IEEE1394 project for Linux, and then the individual frames exported using a modified version of an "avi2pics" tool. Using this applet to view short movie clips has the advantage that it will work on any browser that supports any version of Java (since the applet is based on the JDK 1.0.2), so does not require the viewer to have RealPlayer, Windows Media Player, or any other proprietary multimedia player. |
||||
![]() |
JDK 1.3 Image Manipulation / Demo Servlet A servlet that demonstrates the new, more sophistcated image-manipulation API available in JDK 1.3. This "BrightenImage" servlet allows you to adjust the brightness on an image -- all computation is done on the server. Author: Daniel Kopyc |
||||
![]() |
Linked List Simulator A small "drawing tool" type of applet. You can add shapes ("nodes") to the diagram, and link them together. The links are dynamically re-routed as nodes are moved around. This applet could be used to demonstrate a linked-list navigation algorithm, for example. Author: Daniel Kopyc |
||||
|
|||||
![]() |
Java-to-JavaScript Communication Test This page can be used to test browsers on different platforms and test whether or not JavaScript and the Java Virtual Machine on that platform supports communication between an HTML page and a Java Applet -- in each direction. This bi-directional communication is necessary for "remote scripting" applications to work properly on such a platform. There are many resources on the 'net for JavaScript, such as www.javascript.com. Author: Daniel Kopyc |
||||
![]() |
Simplest Audio The simplest audio applet possible -- from one of the old Java Software Development Kit releases from Sun Microsystems, I think. This applet simply plays an ".au" audio file when you click on the image. |
||||
![]() |
Draw Test The simple "drawing program" -- also from Sun's Java Software Development Kit. This applet lets you draw straight lines or squiggles (points) with the mouse in any of six different colors. Granted, it's not "Adobe Illustrator", but probably has fewer bugs! ;o]. |
||||
![]() |
Emblaze Video Demo This is a demo of the "Emblaze" video streaming technology, which uses a small applet (only about 40k!) to display a low-quality, yet viewable video clip embedded in any web page. You can find more info on their site at www.emblaze.com. |
||||
![]() |
Image Zoom Applet This is an interesting applet from www.vivaorange.com. You can zoom-in by clicking the mouse on the image, zoom-out by holding the "shift" key down while clicking, and pan around to different portions of the image by moving the mouse (without clicking). |
||||
![]() |
Simple Servlet Java Servlets are an exciting new technology that can replace CGI-scripts written in other, messy little languages like "Perl". ;o] This is the simplest servlet possible -- simply spits back an HTML page that says "hello". Copied from the Java Servlet demo page. |
||||
![]() |
Magnetic Poetry An applet demonstrating draggable "tiles", simulating the "magnetic poetry" game found on so many refrigerator doors in the kitchens of the 90s-era enlightened fools. Copied from the "Yahoo" java applets page (written by Nitric Interactive). |
||||