Re: [SLUG] How to join the secret Java Society

From: Ronan Heffernan (ronan@iotcorp.com)
Date: Tue Aug 06 2002 - 04:46:23 EDT


>
>>So based on your post, is it true that you can run a Java app outside a
>
> browser?
>
> Yes, you can run Java applications on any platform, GUI or not. Check out
> DBVisualiser from minq.se. That is a wonderful example of a Java based
> program that is very useful in an enterprise (lets you access any database
> that has a JDBC driver, which is pretty much all of them, these days), and IS
> graphical, and runs fine on Solaris, Windows and Linux (maybe Mac, too, but I
> don't have one to play with).
>
> Java's GUI was kinda clunky at first, it was called AWT. With 1.1 they
> started distributing an additional JAR file called Swing, that had much
> better graphical UI elements. With 1.2, that renamed the package, and made
> it part of Java proper.
>

The above answer sort of side-steps the question. Yes, there are
non-graphical JAVA applications that use stdin and stdout, and/or parse
argv[] (mostly small utilities). There are also JAVA applications that
run as EJB or CORBA or Sockets servers that do not need GUI. However, I
think that there is no equivalent of ncurses in JAVA (you could probably
implement one, though it may require hacks to the JVM to access video
hardware or to properly use the termcap mechanism). If a JAVA app has
only an AWT or Swing interface, you will not be able to use that app
outside of a supported GUI environment (X, M$ Windows, MacOS, BeOS?, ...).

--ronan



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:57:43 EDT