★ wanayoo — archive 1999 http://developer.iplanet.com/docs/examples/java.htmlNouvelle recherche | Portail wanayoo
iPlanet

You are here:  Home > Developers > Documentation > Examples > Java Sample Code
Java Sample Code
 iPlanet Developers


Developer Program
  Membership
  One-to-One Support
  Newsgroups

Developer Publications
  View Source
  Developer News

Documentation
  Technical Manuals
  White Papers
  TechNotes
  Sample Code
  FAQs
  Books

Technologies
  CORBA
  Directory & LDAP
  Dynamic HTML
  Java
  JavaScript
  Linux
  Security
  SSJS
  XML

Developer Downloads
  Tools & SDKs
  Patches

iPlanet Products
  Technical Resources










spacer
Java Sample Code

Connecting JavaScript to Java with LiveConnect
Netscape engineer Gary Smith is a clever guy; in this View Source article, in his own words, he shows you ". . . how you can write pure JavaScript code that will have Java-like capabilities without your having to write any Java applets or plug-ins." Neat trick, eh? Read on to find out just how clever Gary is . . . and to find some useful code samples you can drop into your own applications.

Writing Database Applications In Java

This TechNote discusses three different approaches to database access, and shows you how to implement two of them using Java. Sample code and extensive commentary is provided for these two

How To Perform a File Upload Using Server-Side Java
This java code is a server side java applet which gets the file from the client.

The Hitman Example

HitManApplet is a Java applet that demonstrates how JavaScript and Java can interact on an HTML page using LiveConnect.

Faster Applets

This example shows how Navigator 3.0 uses an Archive file/tag to speed up the performance of an applet by allowing one http connection to get ALL your class files.

Passing Parameters From Java to JavaScript

This code sample illustrates how to use call() to pass a number of parameters with different data types.

Using LiveConnect to Access JavaScript From Java
This example demonstrates setting and getting a cookie with a JavaScript function call from a Java applet.

Applet to Plug-In Communication

With LiveConnect an Applet can communicate with a Plugin. This example is based on our Simple example in our PluginSDK . You can download the complete source code.
spacer spacer


                                                       
iPlanet International | Year 2000 | Site Map | Feedback
Products | Solutions | Support | Services | Download | About Us | Developer
© 2000 Sun-Netscape Alliance. All Rights Reserved  Privacy Policy