Re: newb: running Java service?

1999-05-04 Thread Ted Neward
Tom-- If your users are running as applets, why not run your server as a servlet? Does it need to hold state information across the entire userset, or is each user interaction stateless? What I'm suggesting is something like this: create a number of different servlets to perform each task ("AddF

Re: newb: running Java service?

1999-05-05 Thread Ted Neward
>> Another option is to use servlets, the converse of "applets" but embedded >> on the server side. Apache supports JServ (see java.apache.org) which >> runs standalone alongside the web server. Servlets let you do fancy >> things which you may want in the future. In particular you could pool >

Re: Swing never waits?

1999-05-05 Thread Ted Neward
>I started up the SwingSet demo and noticed how slow it was. I ran >top and noticed that even when I was doing nothing (i.e. no mouse >moves, no selections, just sitting there) the demo was eating up >16 MB of memory and 50-60% of my cpu. It seems as if the virtual >machine never waits (at least w

Re: Swing never waits?

1999-05-05 Thread Ted Neward
>This sounds suspicious. Is this conjecture or based on analyzing the Swing code? >There's always an AWT window under a top-level Swing window, and I would expect >Swing to be using AWT events to be tracking input devices. > A little conjecture, a little analysis. Swing uses the AWT event queue, t

Re: newb: running Java service?

1999-05-05 Thread Ted Neward
>Looks like we're going more into what the original poster bargained for =) > Uh what was the original question again? :) >EJB is nice I certainly agree, but as alx points out: EJB servers are >either a) at least $10,000 per installation or b) under beta testing or >development. But they a

My turn to ask.... :)

1999-05-05 Thread Ted Neward
se days.) I know Joe Burks posted a fix on how to get this to work, but it didn't work for me; I'm sure it's some Linux-configuration thing that's keeping me down. Help? Oh, and off-topic: Does anybody have a good reference on Linux shared libs these days? It's change

Re: My turn to ask.... :)

1999-05-05 Thread Ted Neward
>> I've got a problem running JDK 1.2v1 on my RedHat 5.2 install, but only AWT >> stuff. I know this has crossed this forum before, but I'm kinda asking for >> somebody to hold my hand on this and walk me through what I need to do to >> make this work. > >With a preamble like that, I'd have expect

Re: Question

1999-05-05 Thread Ted Neward
>> I was thinking about this discussion of servlets and application servers >> and taking into consideration that I know nothing about EJB, but have some >> minor experience with an app server,... >> >> So I pose this question to my java compatriots with experience in other >> realms of server si

Re: Stream

1999-05-06 Thread Ted Neward
Use FileInputStream or FileOutputStream. At 09:09 AM 5/6/99 +0200, Ozer Irfan wrote: >Hello. >How open a file for read/write ? > >Thanks > >Irfan > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe

Re: A little help

1999-05-06 Thread Ted Neward
Your import statement (in your teste code) must be wrong; otherwise, java would pick it up. To determine if its a CLASSPATH issue, try this: javax.swing.tree.DefaultTreeModel model = new javax.swing.tree.DefaultTreeModel(root); That'll tell you if you left out the import, got the import wrong,

Re: JARs and performance...

1999-05-06 Thread Ted Neward
Robert-- >Trying to optimize JAR performance. We have a JAR that is 700K using >JDK1.1.7 and are looking for ways to improve the performance when using >it. At this time we cannot migrate to Java2 and utilize the >JArURLConnection. Does anyone have any suggestions? We would like to >split the

Re: JARs and performance...

1999-05-06 Thread Ted Neward
>> From the context of what you're saying, I'm guessing that you're running a >> Java application and not an applet on the client. What I can suggest is >> that you write a custom ClassLoader that uses java.net.URL to connect to a >> given web server, check dates (against the .jar in your local pa

Re: java versus c++ or perl

1999-05-06 Thread Ted Neward
Oh, Lord, what, you WANT a flame war? Look, here's my bottom line: With Power Comes Complexity. Perl is simpler than Java, Java is simpler than C++. With that simplicity you lose a corresponding amount of power. But the end result is that it doesn't matter--you can accomplish just about any proje

Re: JARs and performance...

1999-05-06 Thread Ted Neward
e, there's no more need to go across the wire. >Do you think the 1.1 security model will hamper a ClassLoader like that? > I don't think so, unless you're running as an applet--the AppletSecurityManager disallows ClassLoaders of all forms. > >-Bob > > >On T

JDK 1.2-pre2 on RedHat 5.2

1999-08-10 Thread Ted Neward
libc-2.0.7.so libBrokenLocale.so.1 => libBrokenLocale-2.0.7.so ld-linux.so.2 => ld-2.0.7.so Let's state my particulars up front--I'm a complete Linux newbie. (I installed *everything* onto the system, just to t

Re: [java-linux] Needing help integrating ORBacus with Java-Linux

1999-08-12 Thread Ted Neward
o make sure you use the ORBacus IDL compiler with the ORBacus code. I know that OOC offers precompiled versions of their idl-to-java compiler on their website, just in case you don't want to download the C++ ORB and build it yourself. I'd really start there and see what happens next. Te

Re: Error in starting Lookup Service on Linux(RH6.0,i386)

1999-08-13 Thread Ted Neward
The "error setting options" of the java.net.SocketException intrigues me--I wonder what options Jini/Java is trying to set that Linux's TCP/IP stack doesn't like? One other question--are you certain rmid is running? It's not silently exiting due to some exception that you don't

Re: Why won't java 1.2 load an external swing package

1999-08-31 Thread Ted Neward
..", you can specify a list of directories to use as the extensions directory or directories. Ted Neward Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here http://www.javageeks.com/~tneward "I don't even speak for myself; my wife won't let me." --Me -Original Message--

Re: Where/When is a new release? (Big News!)

1999-09-07 Thread Ted Neward
t; keeps telling me there's no JIT installed.) Ted Neward Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here http://www.javageeks.com/~tneward "I don't even speak for myself; my wife won't let me." --Me -Original Message- From: Rachel Greenham <[EMAIL PROTECTED]&g

Re: Sometimes easy things are hard/impossible in Java

1999-09-09 Thread Ted Neward
"Box" component? Ted Neward Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here http://www.javageeks.com/~tneward "I don't even speak for myself; my wife won't let me." --Me -Original Message- From: Nathan Meyers <[EMAIL PROTECTED]> To: Kontorotsui <

Re: mutlicast sockets

1999-09-10 Thread Ted Neward
Somebody made mention, in the JavaSpaces list, that if you want to do JavaSpaces (which uses Multicast sockets, as I understand it), that you have to have multicast support compiled into the kernel. It's hearsay and rumor, but maybe it'll help? Ted Neward Patterns/C++/Java/CORBA/EJ

Re: package problem

1999-09-11 Thread Ted Neward
"java" takes the *class* name of the class to execute, not the *file* name of the classfile; try this: java foobar.Foo instead. Ted Neward Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here http://www.javageeks.com/~tneward "I don't even speak for myself; my wife

Re: Class not found

1999-09-15 Thread Ted Neward
CLASSPATH is assumed to be "." unless another CLASSPATH is given; even then, classes/jars in the Extensions directory are automatically present. Ted Neward Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here http://www.javageeks.com/~tneward "I don't even speak for myself;

Re: Reinstall 1.1.7

1999-09-19 Thread Ted Neward
er classes". (Look at lines 136-138 in "launcher/java.c"; the file comes as part of the 'src.jar' source-code file that comes as part of JDK 1.2: /* Set default CLASSPATH */ if ((s = getenv("CLASSPATH")) == 0) { s = "."; } ) Ted

Re: [Problem with JNI_CreateJavaVM()]

1999-09-20 Thread Ted Neward
the JDK installation itself is good, in case there's some configuration issue at stake here. (Juergen, I didn't need the LD_BIND_NOW directive to get this to run--is it really required?) Ted Neward Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here http://www.javageeks.com/~tneward "I

Re: "proper" place for the .so native libraries

1999-10-04 Thread Ted Neward
Does "had good luck" mean without having to modify LD_LIBRARY_PATH? Or /etc/ld.so.conf? Ted Neward Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here http://www.javageeks.com/~tneward "I don't even speak for myself; my wife won't let me." --Me -Original Message-

Be warned--emails with "LINKS.VBS" are a virus attack

1999-10-05 Thread Ted Neward
a myth, but this looks real--Norton/Symantec's product as well as a few others have flagged and caught this. Ted Neward Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here http://www.javageeks.com/~tneward "I don't

Re: Jar file Access to images

1999-10-18 Thread Ted Neward
Does that solve the issue? Ted Neward Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here http://www.javageeks.com/~tneward "I don't even speak for myself; my wife won't let me." --Me -Original Message- From: Robert Simmons <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]

Re: performance

1999-10-19 Thread Ted Neward
No--don't do that. DON'T convince yourself that you need to avoid using a particular language feature "because of its impact on performance". Use the language feature, profile the app, THEN worry about performance. There are dozens of things you can do to better improve app speed (including

Re: easy question

1999-11-08 Thread Ted Neward
om within each directory to "deploy" the code (to a Web server or simply to another location on your filesystem) as appropriate. As far as RCS goes, either just store the files in a separate location, or use CVS (my preference) and store them on another server--it doesn't affect

Re: code question

1999-11-16 Thread Ted Neward
Absolutely not true! Posting answers (and, yes, being wrong once in a while) is the best way to expand your knowledge! Trust me (from personal experience, and LOTS of it), you'll NEVER forget the answers to the questions you're wrong on! :) Ted Neward CTO, WebRaiser ( http://www.web

Re: [Partially OT] A Java parser - part 2

1999-11-21 Thread Ted Neward
What about EBNF? That's pretty standardized, no? Ted Neward http://www.javageeks.com/~tneward On Sun, 21 Nov 1999, Michael Emmel wrote: > Vincent Risi wrote: > > > Andreas Rueckert wrote: > > > > > Hi! > > > > > > On Thu, 18 Nov 1999 Paul Mcl

Re: Question: JAVA_DEBUG environment variable

1999-11-23 Thread Ted Neward
Look in the src.jar file, under launcher.java.c; it's coded explicitly in there. launcher/java.c is the standard Sun boilerplate for all of the "native" tools in theJDK (javac, java, ...). Ted Neward http://www.javageeks.com/~tneward On Tue, 23 Nov 1999, Jacob Nikom wrote: &g

Re: another possibility wrt the press-release.

1999-12-10 Thread Ted Neward
If the Blackdown port is better, great. If the Inprise port is better, great. If I do my own port, and I prefer that, instead, great. Whatever solution solves the problem, is what works for me. Ted Neward Java Instructor, DevelopMentor ( http://www.develop.com ) http://www.javageeks.com/~tneward

Re: appreciating sun

1999-12-13 Thread Ted Neward
Well said, all around. Ted Neward Java Instructor, DevelopMentor ( http://www.develop.com ) http://www.javageeks.com/~tneward -Original Message- From: noisebrain <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Monday, December 13, 1999 1:07 AM Subject: