[2562] in java-interest
Message not deliverable
daemon@ATHENA.MIT.EDU (Administrator)
Wed Oct 4 16:50:57 1995
Date: Wed, 04 Oct 95 07:26:28 PST
From: "Administrator" <Administrator@intuit.com>
To: java-interest@java.sun.com
java-interest-digest Wednesday, 4 October 1995 Volume 01 : Number 206
In this issue:
Future and Generic classes ?
Re: CORBA-compliant
Re: Fail to load a page in Hotjava
decidedly non-code questions
Urgent: Misc Questions
Re: switch is too limiting
Re: passing object
Re: CORBA-compliant
Re: decidedly non-code questions
Re: Urgent: Misc Questions
Re: A free hard drive (off topic, but cool!)
Re: client-server using ONLY java.net.*
Building Pyramids in Java
Re: Static class VS final class
Re: A free hard drive (off topic, but cool!)
problems seeing my own classes in NT
What pannel to use for Scrollbars
Re: A free hard drive (off topic, but cool!)
----------------------------------------------------------------------
From: sreenu@actor.cs.vt.edu (Srinivas R. Gaddam)
Date: Tue, 3 Oct 1995 23:18:46 -0400 (EDT)
Subject: Future and Generic classes ?
Hi Javans,
The JDK (Java Developer's Kit) documentation says that keywords "future" and
"generic" have been added to the Java language (but are not currently used).
Any ideas as to what they mean? The developers should be able to answer this.
Please reply to sreenu@csgrad.cs.vt.edu
Thanks
- --
Sreenu
=====================>>>>>>>>>>>><<<<<<<<<<<<<<<=============================
SRINIVAS R. GADDAM
Home Office
- ---- ------
1200 Snyder Lane 555N, McB, Virginia Tech
Apt. # 900F Computer Science Dept.
Blackburg, VA, 24060 Blacksburg, VA, 24061
540-961-0135 540-231-5853
http://csgrad.cs.vt.edu/~sreenu/
=====================>>>>>>>>>>>><<<<<<<<<<<<<<============================
------------------------------
From: Thomas.Ball@Eng.Sun.COM (Thomas Ball)
Date: Mon, 2 Oct 1995 15:09:01 -0700
Subject: Re: CORBA-compliant
No, it is not.
> From daemon@java Mon Oct 2 04:18:47 1995
> Subject: CORBA-compliant
> To: java-interest@java
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Info: To unsubscribe, send 'unsubscribe' to java-interest-request@java.sun.com
>
> As the title says, is Java a CORBA-compliant language?
>
> Rgds,
> Winnie Wan
>
> -
> Note to Sun employees: this is an EXTERNAL mailing list!
> Info: send 'help' to java-interest-request@java.sun.com
------------------------------
From: exceed@wwcd.com (exceed group)
Date: Mon, 2 Oct 1995 16:46:12 -0500
Subject: Re: Fail to load a page in Hotjava
- ----- Begin Included Message -----
From daemon@java.sun.com Mon Oct 2 14:48 EST 1995
From: yprj2166@cs.cuhk.hk
Subject: Fail to load a page in Hotjava
To: java-interest@java.Eng.Sun.COM
Date: Mon, 2 Oct 1995 17:54:34 +0800 (HKT)
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Info: To unsubscribe, send 'unsubscribe' to java-interest-request@java.sun.com
When I try to open a certain location in HotJava, it gives the message:
"The URL refers to a host whose name is not defined.". However, the
page is loaded successfully when I use Netscape. It seems that no html
pages can be loaded by the Hotjava browser.
How can I fix the above problem?
Winnie Wan
- -
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com
- ----- End Included Message -----
Hi
Same problem here.
Let me know what you find out.
Can't even load the demos.
After messing with it a bit I was able to get teh .gif's showing but,
as far as the # in the tictactoe ..... forget it. Not happening.
Any ideas?
Steve
------------------------------
From: mfrost@thenet-usa.com (Mark Frost)
Date: Mon, 2 Oct 1995 16:06:10 -0700
Subject: decidedly non-code questions
1. Does Navigator 2.0 support Java applets?
2. I've been asking this one for some time without answer but here it goes
again: What IS the status of Mac Hot Java?
========================================================
Mark Frost mfrost@thenet-usa.com
Editor-In-Chief
415.696.1688 fax: 415.696.1678
- --------------------*-----------------------------------
. . .. ,, * .
* .. ,88 _._.,
88 ,8888 8888#p, ,,88 888888p
. 8888 8 888 88, ,888"88""' " *
. 88" 88 .88,..#8888 9' 88 .
- ----- 88 8 .88*8888 8 ,,
the .8. 88 .88 8 888 .
- ----- 8 ,8" 8888 ..8, 88 888'
. 88,d8 . 888888" 8 888 *
* 8d' . 8888' . .
- --------------------------------------------------------
1350 Old Bayshore Hway : Suite 210 : Burlingame CA 94010
========================================================
------------------------------
From: yprj2166@cs.cuhk.hk
Date: Tue, 3 Oct 1995 19:20:59 +0800 (HKT)
Subject: Urgent: Misc Questions
I have the following whole list of questions about Java. Thanks a lot
for anyone who can give me an answer:
1. How does Java interpreter schedule Java threads?
2. Can anyone describe the binding mechanisms of Java objects and
C-bindings?
3. Is there any control by the Java applet to load/unload applets/objects?
4. What display primitives exist for Java objects?
5. Are there manager/layout widgets that are supplied with the base
product?
6. Is there a window manager that controls applet real-estate and
window management?
7. How does the host system inform an applet that it is running out of
memory?
8. Is there a concept of applets "spawning other applets"? How about
fork?
9. How do applets control spawned applets?
10. Is there authentication/encryption support within Java for application developers?
Thanks.
Winnie Wan
------------------------------
From: "Jean-Jacques Moreau" <jjm@hplb.hpl.hp.com>
Date: Tue, 3 Oct 1995 12:43:42 +0000
Subject: Re: switch is too limiting
On Oct 2, 10:07, Arthur van Hoff wrote:
> > switch (alignment) {
> > case "left" : {
> > // code to align stuff left
> > }
> > case "right" : {
> > // code to align stuff right
> > }
> > case "center" : {
> > // code to align stuff center
> > }
> > }
> >
> > Maybe in 2.0?
>
> I've always wanted that feature too. I'll see if we can get it
> added in Java 2.0.
Eiffel originally thought it could do without that feature. It ended up being
added by popular request...
Jean-Jacques Moreau.
- --
Hewlett-Packard Laboratories http://www-uk.hpl.hp.com/people/jjm/
Filton Road, Stoke Gifford jjm@hplb.hpl.hp.com
Bristol BS12 6QZ, UK tel +44 117-9228764
------------------------------
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
Date: Tue, 3 Oct 1995 20:59:57 -0700
Subject: Re: passing object
Hi Larry,
> Is there a generic way to pass objects on a stream? The stream API
> seems only support the builtin types.
Nope. It is really hard to persistify an object and depersistify
it again on the other hand without opening a whole can of security
worms. Maybe in some future version, there is nothing in the language
that is preventing us from doing it.
Have fun,
Arthur van Hoff
------------------------------
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
Date: Tue, 3 Oct 1995 21:02:07 -0700
Subject: Re: CORBA-compliant
Hi Tom,
> No, it is not.
>
> > As the title says, is Java a CORBA-compliant language?
> >
> > Rgds,
> > Winnie Wan
Actually, what is a CORBA-compliant language? There currently is
no OMG approved Java-IDL binding, so maybe you are right.
But on the other hand, there is already a working prototype of a
Java-IDL binding with a DOE back-end...
Have fun,
Arthur van Hoff
------------------------------
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
Date: Tue, 3 Oct 1995 21:09:13 -0700
Subject: Re: decidedly non-code questions
Hi Mark,
> 1. Does Navigator 2.0 support Java applets?
It will, once it is released.
> 2. I've been asking this one for some time without answer but here it goes
> again: What IS the status of Mac Hot Java?
We are working on it.
Have fun,
Arthur van Hoff
------------------------------
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
Date: Tue, 3 Oct 1995 21:13:12 -0700
Subject: Re: Urgent: Misc Questions
Hi Winnie,
> I have the following whole list of questions about Java. Thanks a lot
> for anyone who can give me an answer:
>
> 1. How does Java interpreter schedule Java threads?
That depends on the platform. It is usually pre-emptive, but not
always time-sliced. Priorities are not always observed, depending
on the underlying implementation.
> 2. Can anyone describe the binding mechanisms of Java objects and
> C-bindings?
There is documentation on http://www.javasoft.com/
> 3. Is there any control by the Java applet to load/unload applets/objects?
Not really.
> 4. What display primitives exist for Java objects?
UI components, graphics, images, etc.
> 5. Are there manager/layout widgets that are supplied with the base
> product?
Yes. It is called the AWT (abstract window toolkit).
> 6. Is there a window manager that controls applet real-estate and
> window management?
We only control the real-estate of applets within a document.
> 7. How does the host system inform an applet that it is running out of
> memory?
All applets, and the browser share the same heap. If you run out you
get an exception.
> 8. Is there a concept of applets "spawning other applets"? How about
> fork?
Applets can fork threads, but not processes.
> 9. How do applets control spawned applets?
I'm not sure what that means.
> 10. Is there authentication/encryption support within Java for application developers?
Not really. The export restrictions stop us from releasing this to the net.
Have fun,
Arthur van Hoff
------------------------------
From: Nathan Loofbourrow <loofbour@cis.ohio-state.edu>
Date: Mon, 2 Oct 1995 17:19:08 -0400
Subject: Re: A free hard drive (off topic, but cool!)
Do not place your advertisements in email to me again.
Reza Azarm writes:
> Well, it wasn't *quite* free... it cost me $1.50.
>
> OK, so maybe this is a little off topic, but I was so damn stunned when I
> tried this that I figured I had to share it with folks in the groups I
> hang out in.
>
> Like most of you, I have a lot of stuff on my hard drive -- so much cool
> stuff from Usenet, in fact, that I really needed to get both a good T1
> connection and a massive hard drive to manage it all.
>
> Yeah, right -- like I had any money to do that!
>
> Anyway, a guy I trust turned me onto a company called InterLink and told
> me to call them at 011-24-831-3131 (it's a Canadian number). The call has a fee
> of $1.50, which irked me at first... until he explained how InterLink works.
>
> A recording gives you instructions on what to to. When asked to enter the
> account number of the person who gave you this number, enter 789418 --
> that's my account number, and it's how I got my new T1 connection and 1GB
> hard drive.
>
> Let met explain. The recording will give you your own account number, then
> it'll record your name and address. Here's where it gets VERY cool!
>
> For every call made to this number, InterLink receives $1.50... 50 cents
> goes to the account number you type in (in the case of your call, to me).
> Of course, now that you've got YOUR OWN account number, you'll want to
> have people call and type in YOUR account number -- get out there and
> publicize this incredible system with YOUR account number, and start
> making money!
>
> It gets better. You get 50 cents for everyone who calls and types in your
> account number, but when they get people to type in THEIR account number
> you get 25 cents of that as well, PLUS 25 cents off everyone THEY get to
> call.
>
> Here's the math: If you get 100 people to call (damned easy to do), then
> you get $50 dollars. If they each get 100 people to call, then you get
> $2,500. If THEY each get 100 people to call then you get $250,000.
>
> Honestly, I have never done a chain letter in my life. I don't
> buy lottery tickets. I WOULD NEVER HAVE TRIED THIS IF A FRIEND HADN'T
> SUGGESTED IT. But it works. I've made enough to get my coveted T1 internet
> connection, my 1GB hard drive and a LOT of other cool stuff in just a few
> weeks.
>
> If you're over 18, try it -- hell, it's only $1.50 and it's absolutely the
> best investment you'll ever make. The number is open 24 hours a day, so do
> it now.
>
> Reza
> razarm@discovery.com
> -
> Note to Sun employees: this is an EXTERNAL mailing list!
> Info: send 'help' to java-porting-request@java.sun.com
------------------------------
From: Thomas.Ball@Eng.Sun.COM (Thomas Ball)
Date: Mon, 2 Oct 1995 15:26:28 -0700
Subject: Re: client-server using ONLY java.net.*
> I am trying out the java.net classes. (Socket/ServerSocket,...)
> >From the available documentation, I am not able to figure out the
> relation between SocketImpl and the Socket/ServerSocket ...
> Is there any simple/sample code out there, which uses ONLY java.net.*
> classes and none of sun.java....? I want to try out only with
> the java API classes.
The following connects a client and a server without using any sun.net
classes. To make it useful, you need some sort of protocol such as a
simple command/response one. If you are already using two pipes for
inter-app communication, the same protocol will work.
Server side:
ServerSocket socket = new ServerSocket(port_number, 10);
if (i >= 10) {
error("**Failed to create port\n");
return;
}
Socket connection = socket.accept();
DataInputStream in = new DataInputStream(
new BufferedInputStream(cmdSocket.getInputStream()));
DataOutputStream out = new DataOutputStream(
new BufferedOutputStream(cmdSocket.getOutputStream()));
Client side:
Socket socket = new Socket(host, port_number);
in = new DataInputStream(new
BufferedInputStream(socket.getInputStream()));
out = new DataOutputStream(new
BufferedOutputStream(socket.getOutputStream()));
Tom Ball
Java Products Group
------------------------------
From: sw@tiac.net (Steve Witham)
Date: Tue, 3 Oct 1995 23:47:23 -0400
Subject: Building Pyramids in Java
>From: Matt <matt@merkury.saic.com>
>Date: Mon, 2 Oct 1995 16:48:00 -0700 (PDT)
>Subject: Reza.
>
>A pyramid scam on the Java mailing list.
>Please.
It's 12:30 AM as I start to dial...
But what was that sound, sort of like monks chanting?
Oh, well, 1-900...There it is again!
No, more like ravens cawing.
Or maybe steam venting from between rocks?
I look at the message again. Yeah, gotta make that call.
But there it is again, like, like...the theme from Jaws, maybe?
Must be somebody with the TV on upstairs.
Boy, the drivel some people will subject themselves to.
Now where was I?
Oh yeah, just about to download JDK...
-steve
Windows '95--Why 1995 will be like 1984.
------------------------------
From: Pat Niemeyer <pat@icon-stl.net>
Date: Tue, 3 Oct 1995 23:44:18 -0500 (CDT)
Subject: Re: Static class VS final class
On Tue, 3 Oct 1995, Ben Black wrote:
> > Can someone explain the different between a static class and a final class
> >for me? Both of them cannot be subclassed and instantiated.
> >
> anyone who knows better, please feel free to correct me. in objective-c
> (and, i would assume, java) a static class can only be instantiated once.
> static variables within a class (again, in objective-c) are class variables
> (shared by every instance of the class) and are not inherited. a final class
> is one which has been frozen. there is really no difference between a final
> class and any other class, other than the fact that subclassing it is not
> allowed.
>
> (waiting for someone smart to enumerate my mistakes in the above paragraph)
I will defer to someone smart as well ;)
What you've said is correct with the exception that there are no static
classes as such. A class with only static variables and methods however
would be close.
Pat
------------------------------
From: Phiber Optik <phiber@inch.com>
Date: Mon, 2 Oct 1995 15:56:00 -0400 (EDT)
Subject: Re: A free hard drive (off topic, but cool!)
It's called the pyramid scheme. It's old. It's tired. It's illegal.
Now go away.
P.S.: You don't dial "011" to call Canada. And that's NOT a Canadian #.
>
> Well, it wasn't *quite* free... it cost me $1.50.
>
> OK, so maybe this is a little off topic, but I was so damn stunned when I
> tried this that I figured I had to share it with folks in the groups I
> hang out in.
>
> Like most of you, I have a lot of stuff on my hard drive -- so much cool
> stuff from Usenet, in fact, that I really needed to get both a good T1
> connection and a massive hard drive to manage it all.
>
> Yeah, right -- like I had any money to do that!
>
> Anyway, a guy I trust turned me onto a company called InterLink and told
> me to call them at 011-24-831-3131 (it's a Canadian number). The call has a fee
> of $1.50, which irked me at first... until he explained how InterLink works.
>
> A recording gives you instructions on what to to. When asked to enter the
> account number of the person who gave you this number, enter 789418 --
> that's my account number, and it's how I got my new T1 connection and 1GB
> hard drive.
>
> Let met explain. The recording will give you your own account number, then
> it'll record your name and address. Here's where it gets VERY cool!
>
> For every call made to this number, InterLink receives $1.50... 50 cents
> goes to the account number you type in (in the case of your call, to me).
> Of course, now that you've got YOUR OWN account number, you'll want to
> have people call and type in YOUR account number -- get out there and
> publicize this incredible system with YOUR account number, and start
> making money!
>
> It gets better. You get 50 cents for everyone who calls and types in your
> account number, but when they get people to type in THEIR account number
> you get 25 cents of that as well, PLUS 25 cents off everyone THEY get to
> call.
>
> Here's the math: If you get 100 people to call (damned easy to do), then
> you get $50 dollars. If they each get 100 people to call, then you get
> $2,500. If THEY each get 100 people to call then you get $250,000.
>
> Honestly, I have never done a chain letter in my life. I don't
> buy lottery tickets. I WOULD NEVER HAVE TRIED THIS IF A FRIEND HADN'T
> SUGGESTED IT. But it works. I've made enough to get my coveted T1 internet
> connection, my 1GB hard drive and a LOT of other cool stuff in just a few
> weeks.
>
> If you're over 18, try it -- hell, it's only $1.50 and it's absolutely the
> best investment you'll ever make. The number is open 24 hours a day, so do
> it now.
>
> Reza
> razarm@discovery.com
> -
> Note to Sun employees: this is an EXTERNAL mailing list!
> Info: send 'help' to java-porting-request@java.sun.com
>
------------------------------
From: dksmith@cici.com (Dave Smith)
Date: Tue, 3 Oct 95 22:15:42 CDT
Subject: problems seeing my own classes in NT
I'm trying to import some of my own java classes, but I'm getting the
following error:
BlahTest.java:32: Class Blah not found in void main(java.lang.String[]).
<code from line 32 here...>
I'm using WinNT 3.51, 1.0Alpha3 Java, and *yes*, I have set the CLASSPATH
environment variable (both in the Registry Editor and from the command
prompt).
Any suggestions?
advaTHANKSnce
Dave Smith
------------------------------
From: scott@spy.org (Scott D. Yelich)
Date: Tue, 3 Oct 95 23:07:09 MDT
Subject: What pannel to use for Scrollbars
Bindu Wavell (RUFUS) writes:
> P.S. Would it be appropriate to post source code to this mailing list?
I personally greatly appreciate examples of WORKING code.
Scott
------------------------------
From: Kevin Huber <khuber@d.umn.edu>
Date: Mon, 2 Oct 1995 16:16:53 -0500
Subject: Re: A free hard drive (off topic, but cool!)
From: Reza Azarm <Reza_Azarm@discovery.com>
[bunch of crap deleted]
This is not cool. It's just another money scam on the Internet.
Do your business on a business related list, not here.
- -Kevin
______________________________________________________________________________
| Kevin Huber | | khuber@d.umn.edu | http://www.d.umn.edu/~khuber
------------------------------
End of java-interest-digest V1 #206
***********************************
Received: from gw.intuit.com by intugate.intuit.com (SMTPLINK V2.10.02)
From owner-java-interest-digest@java.sun.com
X-Envelope-From: owner-java-interest-digest@java.sun.com
Received: by gw.intuit.com (4.1/SMI-4.1)
id AA12998; Wed, 4 Oct 95 06:36:33 PDT
Errors-To: owner-java-interest-digest@java.sun.com
Received: from java.sun.com(206.26.48.100) by gw.intuit.com via smap (V1.3)
id sma012988; Wed Oct 4 06:35:35 1995
Received: (from majordom@localhost) by java.sun.com (8.6.12/8.6.12) id XAA02273 for java-interest-digest-outgoing; Tue, 3 Oct 1995 23:30:16 -0700
Date: Tue, 3 Oct 1995 23:30:16 -0700
Message-Id: <199510040630.XAA02273@java.sun.com>
From: owner-java-interest-digest@java.sun.com
To: java-interest-digest@java.sun.com
Subject: java-interest-digest V1 #206
Reply-To: java-interest@java.sun.com
Errors-To: owner-java-interest-digest@java.sun.com
Precedence: bulk
X-Info: To unsubscribe, send 'unsubscribe' to java-interest-digest-request@java.sun.com
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com