[4225] in java-interest

home help back first fref pref prev next nref lref last post

How to load package across network.

daemon@ATHENA.MIT.EDU (Pradeep Badri)
Wed Dec 13 20:52:55 1995

From: Pradeep Badri <pbadri@cisco.com>
To: java-interest@java.sun.com (Java Interest Group)
Date: Wed, 13 Dec 95 16:20:54 PST
Cc: pbadri@cisco.com (Pradeep Badri)


Hi,

I have written a suite of java application which consists of
	   package      called myPackage developed by me.
	   applications which uses the package "myPackage".

It runs fine on my local m/c as the package gets picked up
from my CLASSPATH when i run my application (which imports the package).

Now i would like to fetch this application on host A across the network 
and run it on a remote host B.  (Both package and application are
located in host A).

By clicking on the browser, the application gets downloaded.

BUT HOW DOES ONE DOWNLOAD THE PACKAGE.  Does it get done automatically
or do i need to write some class loader.  I am yet to read the docs (if any).

Also, some of the classes in myPackage execute in daemon threads
which can be accessed by one or more application when the user wants
to bring up the application.  So is there a way to check if an instance 
of class already is downloaded and instantiated (in which case the package
need not be fetched and somme classes need not be instantiated).

Please help.  

Cheers,
-pb.


-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post