JOnAS EJB Server

You can retrieve the latest version of JOnAS from those two main sites:

On both sites the binary version and sources are available. You can get the current (or previous) version of JOnAS sources directly from the CVS repository.

Getting and installing the binary distribution

The binary distribution is probably the distribution most users need. If you just want to develop EJB enabled applications with JOnAS, the only thing you need is the binary version. It comes with pre-compiled Java classes and then is ready to run on both Unix and Windows platforms. The distribution also includes the full documentation and examples used in this tutorial.

Warning

Beware that if you have already installed a previous version of JOnAS in this location the new installation will overload previous files and you may loose configuration files that you may have customized. So it is prudent to save these files before starting the installation process.

The installation process simply consists in unziping the downloaded files in a directory. The default location is under /usr/local/objectweb, but you may choose any directory of your choice.

Now, you have to setup your environment variables to be ready to run your first example with JOnAS. Environment setup is detailed in the section called Configuring JOnAS in the chapter called Configuring your environment.

Getting the source distribution

For those who want to have a look into the JOnAS internals, the source distribution is what you need. You will get the complete source code of the JOnAS EJB server. We explain how to compile JOnAS source distribution in the section called Compiling the source distribution in the chapter called Configuring your environment.

You first have to extract the source code for the archive in some directory of your choice.

Now, you have to setup your environment variables and compile the source code to be ready to run your first example with JOnAS. Environment setup and source code compilation are detailed in the section called Configuring JOnAS in the chapter called Configuring your environment.

Using the CVS repository

You can also get the latest source distribution of JOnAS from ObjectWeb CVS (Concurrent Version System) repository.

A specific anonymous account gives you a read-only access to the repository. It allows you to checkout any version of JOnAS or diff your version against the one in the repository.

To checkout the latest version of JOnAS, proceed as follow:

	cvs -d :pserver:[email protected]:/cvs/JOnAS login
        CVS password: %lt;press enter, there is no password>
	cvs -d :pserver:[email protected]:/cvs/JOnAS co jonas
        

If you don't want to use the -d option, you can set your CVSROOT environment variable to :pserver:[email protected]:/JOnAS.

Note

Windows users can use a tool like WinCVS that provides a graphic interface to CVS.

The cvs checkout process will create an objectweb directory in the directory where the command was launched. This directory has the same contents as the source distribution and should contain JOnAS sources in the jonas subdirectory.

Now, you have to setup your environment variables and compile the source code as described in the section called Configuring JOnAS in the chapter called Configuring your environment. Then, you'll be able to run your first application with JOnAS !