荔园在线
荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀
[回到开始]
[上一篇][下一篇]
发信人: Lg (创造人生的传奇), 信区: Linux
标 题: Java With Linux
发信站: BBS 荔园晨风站 (Mon Dec 6 10:07:38 1999), 站内信件
Java Intro
Linux is rapidly becoming the server platform to beat. Along with
Linux, Java is
growing as a viable deployment platform on the server side. Java's
ability to
run on multiple platforms allows it to integrate at a high level a
disparate
network of computers, and make it work cohesively as a system. If you'
re here,
you already know why Linux is a great platform. If you're also
interested in
Java, this article will describe current
enterprise/development/deployment
uses of Java on Linux, and the support available in Linux, along with
IDEs,
JVMs, compilers, and links which will get you on your way on finding
how Linux
with Java can solve your problems.
Java Support
Although support for Java on Linux isn't as advanced as other
platforms like
Windows or Solaris, it is definately the cheapest. There is an
assortment of
tools that make Linux the definate price winner when it comes to Java
on
Linux. Scalability is another issue that is continually being
improved. Java
relies inherently on the underlying JVM and the OS for its speed, and
Linux is
continually improving on this point. The flexibility of Linux allows
such projects
like integrating a JVM into the Linux kernel if you wish so that code
can have
access to system resources in a more timely fashion. This is an
advanced
topic, that will not be covered in this article.
The premier supporter of Java on Linux is Blackdown.org. They are
supported
in part by Sun to develop the port of the Sun java tools to the Linux
platform.
Their products include the "official" JDK, currently at version 1.1.8
w/ the 1.2
version (Java 2) in beta testing. Other products that Blackdown is in
charge of
include the international java port, and the "official" JRE.
Current large scale enterprise software that supports Java on Linux
are
StarOffice and Oracle8i. Both actually install small JREs (Java
Runtime
Environments) if they are not previously present. StarOffice relies
heavily on
Java, and offers a glimpse at what Java on Linux can accomplish.
Oracle8i,
along with most other commercial databases now include internal and
external
Java support. A corollary to this is the availabiliy of great Java
XML tools and
classes that are available for download from Oracle or IBM. Using
Java, XML,
and an RBDMS like Oracle, all running Linux, you can literally set up
an
information gathering montior machine in a day. Oracle8i itself can
use Java to
write stored procedures on the database side to integrate with Java
applications. Both StarOffice and Oracle support Java on Linux as a
platform.
If you've decided that Java on Linux is the way for you, you'll need
to get your
hands on some tools to start doing java development. Luckily, there
are some
great tools available at no charge, mainly the JDK from Blackdown.
Although
there is no GUI that comes bundled with the Blackdown port to make it
into an
IDE, if you're used to vi, just using the command line compiler is
just fine. For
those who would like to have a more GUI experience, NetBeans may be
exactly what you're looking for. It was recently purchased by Sun,
and is a full
IDE that supports using various Java compilers. NetBeans itself is
written
completely in Java. However, let us not forget the great Emacs. If
you're a
seasoned Emacs user, or just a beginner, you should be aware that
there is a
Java module that can be loaded into Emacs to make it into a Java
compiling/debugging powerhouse.
Now that you can develop on Linux, you'll have to worry about
deployment of
Java on Linux. The list of JVMs available for Linux is definately not
lacking.
Along with Blackdown's JVM, a preimere JVM that's being accepted more
and more is Kaffe. Kaffe is probably more well known for being a great
embedded JVM, but it is starting to show its face as a preimere JVM.
Companies like PenguinComputing are even starting to ship servers
with the
Kaffe JVM installed by default. On a side note, Jikes is a faster
nimble
compilier released by IBM which also supports the Linux platform. On
the
horizon for Linux exists new JITs, which speed the processing of Java
code.
There isn't much wide support for JITs in Linux at the moment as other
platforms, but that's starting to change.
Some additional information that you will be interested in is how to
convert
code from other languages into C or the other way around. Just like
C/C++,
there are tons of beautifiers that will make your code look nice, as
well as
compatability modules that will let languages like tcl, or python
access the
power of Java. For those goodies, and more information on what Java on
Linux can do for you, visit Blackdown and click on Products.
Written by Mike Chan snotty@linux.com
PGP Key http://www.linuxvalue.com/pgp.html
--
☆ 来源:.BBS 荔园晨风站 bbs.szu.edu.cn.[FROM: bbs@202.104.99.66]
[回到开始]
[上一篇][下一篇]
荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店