[1823] in java-interest

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

questions

daemon@ATHENA.MIT.EDU (Frank Greco)
Mon Sep 18 16:11:27 1995

Date: Mon, 18 Sep 95 12:39:41 EDT
From: fgreco@lehman.com (Frank Greco)
To: java-interest@java.sun.com

Over the weekend, I went over some of the Java documentation (btw, I
know HTML is nice with a browser, but a *real* PS [not HTML in PS
format] version is nice for those who commute via a long train ride
sans laptop).   I had a few questions:

1.  What is the equivalent in J/HJ of writing CGI-scripts?  How does
    one grab input from a local "form" and pass it to a remote machine
    for processing?

2.  The docs (McGilton/Gosling) mention remote invocation of methods.
    How does one do this in Java?  I didn't see any reference to 
    this in any other documentation.  I'd like for one Java object
    to invoke a method in another; and both objects are distributed
    (ie, non-local).

3.  To perform the functional equivalent of multiple inheritance, the
    docs say to use "interfaces" (talk about overloading...).  But it
    seems to me that interfaces are merely a way to collect or organize
    functions in a class-ish way.  A bottom line question:  How does
    one inherit a method from one object *and* a method from another object
    where both objects are from a third-party package?

4.  What is exactly meant by "package of a file" or "to package"?  The
    docs are quite ambiguous.  Does it merely mean to include a class
    into a module, similar to archiving?

5.  If, during the course of running an application/applet, a Java pgm
    needs to instantiate superclasses, where "path" does it use to get
    the superclasses?  Can I instruct the app to get it from another
    URL in the web?

6.  Does Java have a mechanism of versioning classes?  That is, how can
    a user of a Java app[let] continue to use an older version of a
    particular class when I (as app author) upgrade my app[let].
    Excuse the gross analogy, but is there an equivalent of
    LD_LIBRARY_PATH for Java classes?

7.  How does one pass-by-value in Java to maintain good software
    engineering style?


Thanks,

Frank G.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

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