Hello.
How open a file for read/write ?
Thanks
Irfan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Wed, 5 May 1999, Ted Neward wrote:
(other attributions lost)
> >> So I pose this question to my java compatriots with experience in other
> >> realms of server side java. Why would I use an app server or some other
> >> technology? What does EJB give me? Couldn't I use EJB with servlets a
> Bernd Kreimeier writes:
Bernd> Okay, using wget instead of Win95 Nerdscrap did the trick. I have
Bernd> the dubious pleasure of presenting the result of running my "bug"
Bernd> Invocation+AWT test against it (below), which looks quite like v1a.
Bernd> Calling method Test.
http://www.cnn.com/TECH/computing/9905/05/ultrasparc.idg/index.html
I know this is not /. but I felt that this CNN article
had a lot of relevance for the Java-Linux community.
It talks about the business choices that are being
made regarding Solaris/UltraSPARC and Linux. It is
quite interesting an
>> 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
Well Sun said last week that they would announce their
new plans for Java standardization Tuesday. There a
day late, but it still came. Here's a News.com article
about it...
http://www.news.com/News/Item/0,4,36173,00.html?st.ne.fd.gif.h
It looks like the speculation that Sun would try to go
thro
Ted Neward wrote:
> OK, but now it's kicking out all these "font specified in font.properties
> not found" messages, although that could be because I'm actually running it
> over the wire on my NT box here at work. Don't suppose you know how I can
> correct those either, do you? (I'm running eXcee
>> 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
Having just moved to the US, I have ordered my PC from a box builder - it
will come with Red Hat 6 preloaded :-)
I would like to get into playing with Java servlets interfacing to an RDB
on this box.
My assumptions from lurking for the last week (please feel free to stomp on
them) are
1. "
Ted Neward wrote:
>
> 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'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.
I'm trying to run the Notepad sample from the demos/jfc
Hi,
First, thank you for such a wonderful job on this stuff. It's pretty
amazing.
I downloaded jdk_1.1.7-v1a-glibc-x86.tar.gz. I've been running successfully
on Intel RedHat 5.2 for several months now. However, I can't run it on
RedHat 6.0. The error is shown below.
I found several mentions
[EMAIL PROTECTED] wrote:
> 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
>
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, and lots of experience with servlets.
In fact, when dealing with this particular app server (NetDynamics) I can
h
On Tue, 4 May 1999, Steve Byrne wrote:
> Scott Murray writes:
[snip]
> > It seems to fix the problem I (and others I think) had with Runtime.exec
> > hanging sometimes when used with native threads. Which is good, as I
> > was almost resigned to putting in some Linux specific code into the ap
>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
>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
Juergen Kreileder writes:
> Bernd> Is there a glibc-2.0 tar.gz of the same archive?
> No, and I will not make one because the final release will be ready
> soon.
Okay, using wget instead of Win95 Nerdscrap did the trick. I have
the dubious pleasure of presenting the result of running my
Michael Emmel wrote:
> I wish java soft would provide a simple debug switch for the EventLoop
>
> heres what I do
>
> take the instance and event class as args
>
> Toolkit.getDefaultToolkit().getSystemEventQueue().debug( myFrame,
> MouseEvent.class ); //add more agres if needed lik
Nathan Meyers wrote:
> Ted Neward wrote:
> > Because Swing is a fully lightweight library, it can't rely on any of the
> > operating-system-specific constructs underneath the JVM to more efficiently
> > make use of the CPU. Instead, it spins off a daemon thread to (basically)
> > poll the OS for
On Wed, 5 May 1999 [EMAIL PROTECTED] wrote:
> On Wed, 5 May 1999, Ted Neward wrote:
>
> > How about this: instead of running a web server, run a generic application
> > server (EJB, CORBA, who cares) that has a "servlet" (sorry to reuse the
> > term) that listens on port 80, understands HTTP, an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> Because Swing is a fully lightweight library, it can't rely on any of the
> operating-system-specific constructs underneath the JVM to more efficiently
> make use of the CPU. Instead, it spins off a daemon thread to (basically)
> poll the OS for the
Ted Neward wrote:
> Because Swing is a fully lightweight library, it can't rely on any of the
> operating-system-specific constructs underneath the JVM to more efficiently
> make use of the CPU. Instead, it spins off a daemon thread to (basically)
> poll the OS for the mouse position and informati
> I've never measured the CPU occupation of an AWT app, though; might be
> interesting to run an AWT example and see if it takes up the same amount of
> CPU. If not, then Swing's obviously doing things in the background that an
> AWT app's not. (Maybe just filtering the events through all the eve
>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
On Wed, 5 May 1999, Ted Neward wrote:
> And once you do that, is your web server really *just* a web server, or a
> particularly over-specialized form of generic application server.? :)
correct.
> How about this: instead of running a web server, run a generic application
> server (EJB, CORB
>> 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
>
Thanks to all who replied to my earlier posts concerning
reading from a socket not working under RedHat 4.1.
I upgraded last weekend to JDK 1.1.7 and RedHat 5.2 and now
reading from a Socket's input stream works perfectly with
no SocketExceptions being thrown.
I have another question (out of cu
On Tue, 4 May 1999 [EMAIL PROTECTED] wrote:
> 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 th
Hi,
> hold on - this post was intended to be just a statement of fact,
> not a complaint. I use blackdown and am very grateful for its existence.
> I've timed tya across releases, and it's gotten steadily faster over the
> last 6 months. The fact that it already keeps up with the sun-supplied
The way I woul do it is:
BufferedReader in = new BufferedReader(new FileReader("foo"));
then you can do something like:
String s = in.readLine();
Then you can use StringTokenizer on the new string. StringTokenizer is a
little simpler to use than StreamTokenizer. If all you are doing is
break
i have a Panasonic Hybrid System Telephony 32 (line) this system have a
LPT port, when i connect a draft printer - ROBOTRON ...
after a out-going call PHST send from a printer few date .. like < date>
How can i redirect this date from a database or file
i can use java-telephony .. ?
> Bernd Kreimeier writes:
Bernd> Louis-David Mitterrand writes:
>> FYI a pre-117_v2 is already available at http://www.wisp.net/~kreilede/
>> and it works like a charm on my Debian potato system (glibc 2.1.1).
Bernd> I can't even unpack the
Bernd>jdk117_v2_x86_glibc-2
> tomas writes:
tomas> I'm getting these errors when executing "java", without any
tomas> more parameters, only to see the command line options. I
tomas> have installed JDK 1.1.2 and runs without any problems, but
tomas> neither JDK 1.1.7 nor JDK 1.2 don't work.
tomas> D
It is also on your Red Hat CD.
J
At 01:12 AM 5/5/99 -0500, Luther Baker wrote:
>I am using Red Hat and recently downloaded your jdk1.2. Unfortunately, I
>am not as UNIX savvy as I need to be and the .bz2 extension is throwing
>me. gunzip and gzip resond with errors that they don't understand the
>
I'm getting these errors when executing "java", without any more
parameters, only to see the command line options. I have installed JDK
1.1.2 and runs without any problems, but neither JDK 1.1.7 nor JDK 1.2
don't work.
Do you know what I can do to solve this problem ?
/usr/local/jdk117_v1a/bi
Louis-David Mitterrand writes:
> FYI a pre-117_v2 is already available at http://www.wisp.net/~kreilede/
> and it works like a charm on my Debian potato system (glibc 2.1.1).
I can't even unpack the
jdk117_v2_x86_glibc-2_0_green+native_threads_tar.bz2
with the Debian 2.1 bunzip2: tells me i
37 matches
Mail list logo