[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: some java question (linux related)



Hi!

I plead guilty for doing all of this. 

What follows relates to a commercial work environment.

I use $FAVOURITE_EDITOR like you, and compile from within. I am also an avid user of System.err.println, and I generally
define a static DEBUG variable, intialised through a commandline parameter (app) or an HTML PARAM decleration (applet)
so that I can leave the debug stuff inside permanently. It makes for ugly code but that's a small price to pay for being
able to go into debug mode under production. (This of course is less relevant for an applet, typically run by some user
under Windoze.)

Warning: There seems to be a security breach in the Linux version of Netscape, 4.72/3: I wrote an applet wich did
something very evil: I listened in on a UDP port (naughty!) using the server's IP (OK). Under Linux I got away with it,
but under Windoze 
and AIX, I got the expected security violation.

What tools:

I tend to dislike the current breed of IDE's. I tried IBM's Visual Age for Java. I seems to be OK server side, but I did
not like it for client side applet/applications. The generated GUI code (JDK 1.1.6/Swing) was not to my liking and I
found that I could work directly with the JFC quite comfortably. Over the next few weeks I'll be getting some exposure
to the Borland offering, and I might have something further to add.

I use the Crisp version 6 editor with Brief keybindings (I'm a veteran Brief user circa 1987), which is a half way
reasonable environment. (Their version 7 beta release is functionally a vast improvement, but also rather unstable.)
This product, is unfortunately nodelocked and rather expensive. (No religious wars please! I thing that Emacs is
incredible, but I just haven't been able to find a month to find my way around ...)

I also use the IBM JDK's (now 1.3) for Linux and Windoze. I haven't had any problems with them.

I do recommend getting a few API books: Online documentation has its limitations, and I find it best to use both types
together. For the JDK, look at The Java Class Libraries, Vols 1-2, second edition by Chan Lee et al., pub. Addison
Wesely. There is an update volume for the JFC which I have not yet seen. 

Regards,


DAF

mulix wrote:
> 
> hi list,
> 
> I've been asked to assess the feasibility of developing java
> applications/ applets on linux.
> 
> Currently, our development method is write via $FAVORITE_EDITOR, compile
> via javac and debug via jdb, when it works, or via System.err.println
> when it doesn't.
> 
> I assume some of you on this list dabble in java programming, and if so,
> I would appreciate any tips you can provide, on the following:
> 
> What tools do you use? (IDE, editor, ?)
> What debugger do you use?
> 
> Thanks in advance!
> 
> BTW, concerning debuggers, we have tried ddd, which functions (among
> other things) as a jdb front end. the problem with it, is, of course,
> that it functions as a jdb front end. jdb must die.
> --
> mulix
> 
> linux/reboot.h: #define LINUX_REBOOT_MAGIC1 0xfee1dead
> 
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il