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
>> 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
>
>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
>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
>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
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
>> 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
>> 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
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
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,
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
>> 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
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
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
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
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
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
..", 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--
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
"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 <
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
"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
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;
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
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
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-
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
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]
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
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
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
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
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
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
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:
35 matches
Mail list logo