diff --git a/en/java/docs/faq.sgml b/en/java/docs/faq.sgml index e90b43173e..e881fde058 100644 --- a/en/java/docs/faq.sgml +++ b/en/java/docs/faq.sgml @@ -1,113 +1,113 @@ - - + + %includes; ]> &header;

Contents

    -
  1. Is there a JDK 1.2 for FreeBSD? +
  2. Is there a &jdk; 1.2 for FreeBSD?
  3. Can I use the Linux-Port from the Blackdown people?

Full Text

1. - Is there a JDK 1.2 for FreeBSD? + Is there a &jdk; 1.2 for FreeBSD?

No. But porting is under way. Hava a look at the news section.

Prev Top Next

2. Can I use the Linux-Port from the Blackdown people?

Some people reported success in doing so. Try the following: Get the archive, extract it somewhere. Then apply the following diff:
 	  --- bin/.java_wrapper.dist      Thu Jun  3 01:14:34 1999
 	  +++ bin/.java_wrapper   Thu Oct 14 19:17:11 1999
 	  @@ -31,8 +31,8 @@
 	  # Resolve symlinks. See 4152645.
 	  while [ -h "$PRG" ]; do
 	  ls=`/bin/ls -ld "$PRG"`
 	  -    link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
 	  -    if /usr/bin/expr "$link" : '/' > /dev/null; then
 	  +    link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
 	  +    if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
 	  PRG="$link"
 	  else
 	  PRG="`/usr/bin/dirname $PRG`/$link"
 	  @@ -63,7 +63,7 @@
 	  # Select vm type (if classic vm, also select thread type).
 	  unset vmtype
 	  unset ttype
 	  -DEFAULT_THREADS_FLAG=native
 	  +DEFAULT_THREADS_FLAG=green
 	  if [ "x$1" = "x-hotspot" ]; then
 	  vmtype=hotspot
 	  ttype=native_threads
 	  --- jre/bin/.java_wrapper.dist  Thu Jun  3 01:14:34 1999
 	  +++ jre/bin/.java_wrapper       Thu Oct 14 19:32:06 1999
 	  @@ -31,8 +31,8 @@
 	  # Resolve symlinks. See 4152645.
 	  while [ -h "$PRG" ]; do
 	  ls=`/bin/ls -ld "$PRG"`
 	  -    link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
 	  -    if /usr/bin/expr "$link" : '/' > /dev/null; then
 	  +    link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
 	  +    if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
 	  PRG="$link"
 	  else
 	  PRG="`/usr/bin/dirname $PRG`/$link"
 	  @@ -63,7 +63,7 @@
 	  # Select vm type (if classic vm, also select thread type).
 	  unset vmtype
 	  unset ttype
 	  -DEFAULT_THREADS_FLAG=native
 	  +DEFAULT_THREADS_FLAG=green
 	  if [ "x$1" = "x-hotspot" ]; then
 	  vmtype=hotspot
 	  ttype=native_threads

Thanks to Makoto MATSUSHITA (matusita@ics.es.osaka-u.ac.jp)

Prev Top Next
&footer; diff --git a/en/java/docs/howtoports.sgml b/en/java/docs/howtoports.sgml index ff35aabf4d..1980f850be 100644 --- a/en/java/docs/howtoports.sgml +++ b/en/java/docs/howtoports.sgml @@ -1,34 +1,34 @@ - - + + %includes; ]> &header;

General instructions can be found in the FreeBSD Handbook, under Porting Applications. -

For Java ports, there are unofficial standards: +

For &java; ports, there are unofficial standards:

     1) If it's a library then jar files go into:
           /usr/local/share/java/classes/
 
     2) If it's a stand-alone application then jar files go into:
           /usr/local/share/java/<application-name>/
         and  scripts to run it go into:
           /usr/local/bin/
 
     3) Documentation goes into:
           /usr/local/share/doc/java/<application-name>/
 

The more ported applications we have, the better.

&footer; diff --git a/en/java/docs/newbies.sgml b/en/java/docs/newbies.sgml index 3ef8ac52a1..36c44fca7d 100644 --- a/en/java/docs/newbies.sgml +++ b/en/java/docs/newbies.sgml @@ -1,22 +1,22 @@ - - + + %includes; ]> &header;

What kind of "Newbie" are you?

-

New to FreeBSD's JDK? -- Learn how to install the JDK -

New to Java? -- Learn Java using a tutorial or from a book. One of the most often recommended books is Bruce Eckel's Thinking in Java. +

New to FreeBSD's &jdk;? -- Learn how to install the JDK +

New to &java;? -- Learn Java using a tutorial or from a book. One of the most often recommended books is Bruce Eckel's Thinking in Java.

&footer; diff --git a/en/java/docs/performance.sgml b/en/java/docs/performance.sgml index 680c15a306..e9d504ff2a 100644 --- a/en/java/docs/performance.sgml +++ b/en/java/docs/performance.sgml @@ -1,184 +1,184 @@ - - + + %includes; ]> &header;

Introduction:

Much has been talked about recently with Sun's decision to release an official port of Java for Linux. This study was done to compare the actual performance of the Blackdown Linux Port with the FreeBSD Port -of the JDK.

+of the &jdk;.

Summary:

The Linux port is faster than the FreeBSD port, even when the JITs are taken into account. For graphic intensive applications, all the FreeBSD tests are faster than the Linux, with FreeBSD/TYA being the fastest overall. Comparing the Linux port with the FreeBSD port, each with no JIT running, FreeBSD is faster. We may conclude that, when running on FreeBSD, the JIT design makes the difference in speed.

Testing Methods:

All tests were run on FreeBSD 3.4-RC (Tue Dec 7 09:14:51 EST 1999) on a Dual Pentium 200 SMP machine with 128 Megs RAM. Tests were conducted with Pendragon Software's Caffeine Mark 3.0 software using the "Run all tests locally" option.

Software Versions:

The following is a list of the software used in this test:
FreeBSD JDK 1.1.8
Blackdown's JDK 1.2.2-RC3 (under Linux emulation)
ShuJIT 0.3.13
TYA 1.5

Summary Results

Test 1 Test 2 Test 3 Test 4 Test 5 Average
Linux JDK 1.2.2/no JIT 222 223 224 225 222 223
FreeBSD JDK 1.1.8/no JIT 247 247 247 250 247 246
Linux JDK 1.2.2/standard JIT 539 550 543 544 535 542
FreeBSD JDK 1.1.8/shujit 373 376 369 374 373 373
FreeBSD JDK 1.1.8/TYA 478 477 478 479 483 479

Sample Detailed Results:

Sieve Loop Logic String Float Method Graphics Images Dialog
Linux JDK 1.2.2/no JIT 380 434 433 489 363 337 306 25 40
FreeBSD JDK 1.1.8/no JIT 318 456 434 393 381 381 344 77 37
Linux JDK 1.2.2/standard JIT 1361 2005 3354 872 1161 1802 247 28 40
FreeBSD JDK 1.1.8/shujit 800 1566 2191 588 1010 101 317 79 37
FreeBSD JDK 1.1.8/TYA 712 1467 2352 949 1078 512 357 74 38

Conclusion:

Newer versions of the software used in the tests above been released since this test was conducted. For this reason, these tests will be run again in the near future to see if the newer JITs for FreeBSD alter the results. The same JITs will be used with the Linux JDK to test their effects as well.

Tester:

These tests were conducted by Patrick Gardella patrick@freebsd.org in December 1999.

&footer; diff --git a/en/java/docs/tutorials.sgml b/en/java/docs/tutorials.sgml index 700084c3e1..2a923e98fe 100644 --- a/en/java/docs/tutorials.sgml +++ b/en/java/docs/tutorials.sgml @@ -1,21 +1,21 @@ - - + + %includes; ]> &header;

We currently do not have any FreeBSD specific tutorials. If you would like to see one, send a message to freebsd-java@freebsd.org.

Other tutorials may be found here.

&footer; diff --git a/en/java/links/api.sgml b/en/java/links/api.sgml index f584eb82ab..e13a51d282 100644 --- a/en/java/links/api.sgml +++ b/en/java/links/api.sgml @@ -1,109 +1,109 @@ - - + + %includes; ]> &header;

API - Extensions by Sun Microsystems

The following list contains an excerpt from the available API definitions and implementations from SUN (for a start see Java Products and go e.g. to Standard Extensions)
  • JFC (Java Foundation Classes)
    That is where Swing comes from. For more info see The Swing Connection.
  • JavaTM Media Framework
    The Java Media Framework (JMF) 1.0 API specifies a simple, unified architecture, messaging protocol, and programming interface for media playback. This API was developed by Sun Microsystems, Inc., Silicon Graphics Inc., and Intel Corporation.
    The Java Media Framework (JMF) 2.0 API extends the 1.0 API by providing capture functionality, pluggable codecs, file saving, RTP broadcast and the ability to access and manipulate media data before it is rendered. This API is available for public review, and was developed by Sun Microsystems, Inc. and IBM.
  • JavaTM Advanced Imaging
    The Java Advanced Imaging (JAI) API is the extensible, network-aware programming interface for creating advanced image processing applications and applets in the Java programming language. The Java Advanced Imaging API offers a rich set of image processing features such as tiling, deferred execution and multiprocessor scalability. Fully compatible with the Java 2D API, developers can easily extend the image processing capabilities and performance of standard Java 2D applications with the Java Advanced Imaging API.
  • JavaTM Serial Port (COMM)
    The Java Serial Port can be used to write platform-independent communications applications for technologies such as voice mail, fax, and smartcards. Its current version supports RS232 serial ports and IEEE 1284 parallel ports.
  • Java 3DTM
    The Java 3DTM 1.1 API is a set of classes for writing three-dimensional graphics applications and 3D applets. It gives developers high level constructs for creating and manipulating 3D geometry and for constructing the structures used in rendering that geometry. Application developers can describe very large virtual worlds using these constructs, which provides Java 3D with enough information to render these worlds efficiently.
  • JavaMail
    The JavaMail API provides a set of abstract classes that models a mail system. The API is meant to provide a platform independent and protocol independent framework to build Java-based mail and messaging applications.
  • JavaHelpTM
    JavaHelp is the Help system for the Java platform: it is a Java-based, platform independent help system that enables Java developers to incorporate online help for a variety of needs, including Java components, applications (network and stand-alone), desktops, and HTML pages.
  • JavaBeansTM Activation Framework (JAF)
    With the JavaBeans Activation Framework (JAF) developers can take advantage of standard services to determine the type of an arbitrary piece of data, encapsulate access to it, discover the operations available on it and to instantiate the appropriate JavaBeans component to perform these operations.
  • JavaTM Servlet
    Java Servlet provides a uniform, industry-supported interface for extending a web server with cross-platform and cross-server components written in the Java Programming Language.
  • JavaTM Cryptography (JCE)
    The Java Cryptography Extension (JCE) 1.2 provides a framework and implementations for encryption, key generation and key agreement, and Message Authentication Code (MAC) algorithms. Support for encryption includes symmetric, asymmetric, block, and stream ciphers. The software also supports secure streams and sealed objects.
  • InfoBus
    InfoBus enables dynamic exchange of data between JavaBeans components by defining a small number of interfaces between cooperating Beans and specifying the protocol for use of those interfaces.
    The protocols are based on a notion of an information bus. All components which implement these interfaces can plug into the bus. As a member of the bus any component can exchange data with any other component in structured way, including arrays, tables, and database rowsets.
  • Java Naming and Directory InterfaceTM (JNDI)
    Provides uniform, industry-standard, seamless connectivity from the Java platform to business information assets, thus allowing developers to deliver Java applications with unified access to multiple naming and directory services across the enterprise.
  • The XML Project
    Sun´s home for combining XML and Java Technology

Third Party packages...

  • JGL (Java Generic Library)
    A collection API implementation including linked lists etc. The Collection API before invention of CollcetionAPI in JDK1.2
  • XML4J
    XML Parser for java from IBM
&footer; diff --git a/en/java/links/development.sgml b/en/java/links/development.sgml index 35fa7f0f8d..2674cc3d7d 100644 --- a/en/java/links/development.sgml +++ b/en/java/links/development.sgml @@ -1,77 +1,77 @@ - - + + %includes; ]> &header;

Included below are links to some tools that can be used on FreeBSD. It is not intended to be a comprehensive list.

  • IDE´S
    • Visual Age for Java - Professional
      Joachim Jaeckel has put together a page on how to run Visual Age for Java Professional 3.0 (Linux) under -CURRENT: http://www.coffeebreak.de/freebsd/
    • JDE
      (X)Emacs mode for editing Java
    • visaj
      A commercial visual application builder for Java.
    • jEdit
      jEdit is a programmer's text editor written in Java with Swing and allows for plug-ins. The author is also working on jEdit-IDE.
    • NetBeans
      New IDE written completely in java, different versions available, free and commercial ones. Now part Sun Microsystems.
    • JWS - Sun´s IDE
      Will not longer be maintained since Sun acquired NetBeans to use it as their IDE from now on.
    • FreeBuilder
      Open Source IDE, nice start but seems to be slowing down in progress lately, but don´t trust all the infos on the webpages, just check out the newest CVS-sources.
    • Lemur
      An IDE that is written in Java and uses Swing.
    • ElixirIDE
      An IDE that includes a debugger. Rated a JARS top 5%.
  • JDBC
    • Sun's list of JDBC Drivers
    • Town
      A 100% Pure Java API that works in conjunction with JDBC.
    • tjFM
      A Type 4 JDBC driver for MySQL.
    • GWE
      A Type 4 JDBC driver for MySQL.
    • mm.mysql
      A Type 4 JDBC driver for MySQL.
  • UML
    • Tendril Software Structure Builder
      UML development software written in Java - commercial version and demo versions available.
      Plugin for NetBeans available.
    • TogetherJ
      UML based development environment, written in Java. Different editions available, even a free one.
  • Tools
    • Jikes
      Ultra fast java compiler from IBM (available as port)
    • Guavac
      Guavac is a free java compiler developed under GNU Public License, and its package includes guavad, java bytecode decompiler.
&footer; diff --git a/en/java/links/documentation.sgml b/en/java/links/documentation.sgml index 706757b628..fa7aba906c 100644 --- a/en/java/links/documentation.sgml +++ b/en/java/links/documentation.sgml @@ -1,25 +1,25 @@ - - + + %includes; ]> &header;
&footer; diff --git a/en/java/links/freebsd.sgml b/en/java/links/freebsd.sgml index bda6cb04b7..0404708ea3 100644 --- a/en/java/links/freebsd.sgml +++ b/en/java/links/freebsd.sgml @@ -1,36 +1,36 @@ - - + + %includes; ]> &header;
&footer; diff --git a/en/java/links/index.sgml b/en/java/links/index.sgml index 680f06088d..768f1d1ee8 100644 --- a/en/java/links/index.sgml +++ b/en/java/links/index.sgml @@ -1,39 +1,39 @@ - - + + %includes; ]> &header;

This page presents different categories of links to java resources. They are ordered by themes.

  • FreeBSD
    Special FreeBSD related stuff, like ports etc.
  • Vendors
    Contains links to Sun, IBM ... related websites.
  • Development Tools
    Contains links to Java Development Tools (incl. Sun, IBM)
  • APIs
    Contins links to different API and implementations of protocols
  • Tutorials
    Contains links to on-line tutorials, e.g. the one at JavaSoft
  • Documentation
    Contains links to on-on-line documents concerning java
  • Servlets
    Contains links to information on servlets and servlet engines
  • Resources...
    Everything not fitting anywhere else
&footer; diff --git a/en/java/links/resources.sgml b/en/java/links/resources.sgml index 3ea6d79152..a162c467f0 100644 --- a/en/java/links/resources.sgml +++ b/en/java/links/resources.sgml @@ -1,44 +1,44 @@ - - + + %includes; ]> &header;
  • Java Directory at Gamelan
    Collection of java applets, programs, tools and libraries...
  • Java World
    The Java Magazine
  • Giant Java Tree (GJT)
    Open Source Java organized in a CVS tree.
  • JOS
    Free Java Operating System (still under development but already some nice things available)
  • Javalobby
    Organization to support Java (fight for Java), sometimes nice offers
    of commercial software for free (if you are member of Javalobby)
    • JFA
      The Javalobby Application Framework, collection of different java programs.
      Also available via GJT.
  • ICE
    Offering webspace for some nice Java projects, e.g. JCVS
  • JCentral
    Search engine only for java things (searches
    newsgroups, source code archives, ... Provided by IBM
  • Java at the Apache Group
    Different projects concerning java and web, e.g. JServ, Cocoon, etc.
&footer; diff --git a/en/java/links/servlets.sgml b/en/java/links/servlets.sgml index 4bb6ff4317..dc203e18de 100644 --- a/en/java/links/servlets.sgml +++ b/en/java/links/servlets.sgml @@ -1,49 +1,49 @@ - - + + %includes; ]> &header;
-

Servlets are a Java API that can be used to replace Perl CGI scripts, or more specifically, to extend the capabilities of the web server. +

Servlets are a &java; API that can be used to replace Perl CGI scripts, or more specifically, to extend the capabilities of the web server.

Servlets can also be used with XML and XSL.

  • API
  • Servlet Information
  • Servlet Engines
    • Java Web Server
      This was the reference implementation of the servlet engine implemented in Java. Sun has turned over the source code to the Apache Project and is now implemented as Tomcat.
    • Tomcat (Jakarta Project)
      The reference implementation of Java Servlets and Java Server Pages. The code is not yet available aside from a nightly standalone build.
    • Apache JServ
      A 100% Pure Java implementation of the Servlet 2.0 API specification. Works with Apache.
    • ServletExec
      A high-performance commercial servlet engine. Offers a free demo/development copy and a servlet debugger. Works with most web servers.
    • JRun
      A high-performance commercial servlet engine. Offers a free demo/development copy. JavaWorld's Best Servlet Tool for 1998 and WebTechnique's Best Java Tool for 1998. Recently acquired by Allaire. Works with most web servers.
&footer; diff --git a/en/java/links/tools.sgml b/en/java/links/tools.sgml index a9959d5dc4..fe3acae500 100644 --- a/en/java/links/tools.sgml +++ b/en/java/links/tools.sgml @@ -1,29 +1,29 @@ - - + + %includes; ]> &header;
  • Programming
    • JPython
      Best Java Scripting (combines Python and Java) - a must have!
  • Other
    • Jikes
      Ultra fast java compiler from IBM (available as port)
&footer; diff --git a/en/java/links/tutorials.sgml b/en/java/links/tutorials.sgml index c5dba5b966..da665e4493 100644 --- a/en/java/links/tutorials.sgml +++ b/en/java/links/tutorials.sgml @@ -1,23 +1,23 @@ - - + + %includes; ]> &header;
&footer; diff --git a/en/java/links/vendor.sgml b/en/java/links/vendor.sgml index a06d79512b..0bbbafb3fd 100644 --- a/en/java/links/vendor.sgml +++ b/en/java/links/vendor.sgml @@ -1,33 +1,33 @@ - - + + %includes; ]> &header;

This page contains links sorted by Vendors.

&footer;