Installation
Pojo Application Server
 

Harbor must run in a servlet container, there are two types of installations possible, one for those that just want an application server, and one for those that are developing a web site and wish to add an application server to their actual web-app.

APPLICATION SERVER only

  • In the download, locate the harbor.war file.

  • Find the Servlet Containers folders, one is called webapps.

  • Drop harbor.war into this folder.

  • Start your Servlet container... its done.

http://localhost:8080/harbor/service will give you a welcome message from the server.

http://localhost:8080/harbor/admin will give you the simple admin console.

This simple installation comes with the test code preinstalled in the HarborRepository, which is a folder you will see under webapps/harbor.

So if you load up the Harbor_Tests source code in your IDE, you can run all the tests and start making your own applications.

Tomcat

Tomcat is a wonderful servlet container, you will find it at...

http://tomcat.apache.org/

We recommend using the 5.5.25 version, 6.0.14 we feel is still a little too bleeding edge, but it's your choice.
Tomcat is well known for being the Sun servlet J2EE reference implementation, and its a wonderful container for those wanting to develop web sites, not too heavy, not too featureless, just right. Like Harbor, its free.

If you running on windows, there is an installer version available which makes it very easy to get going.

APPLICATION SERVER in WEB-APP

As a professional servlet developer you probably know this already, you simply rename the harbor.war file to a zip file, unpack it, and then mimic the structure in your web-app. 
Put its libraries into your libraries, add the web.xml configuration to your configuration, add the repository folder to your application, and anything else you need. 
Its now harbor plus your extra web site, all packed into one War when you compile.
See Dev Heaven

 

 

Note

The site is also your testing tool, its available in the download.

Once you have installed the server if you then unzip this site and click on links, the site comes alive.
This site is not intended to address an internet audience, its an invaluable aid for the developer. 
The reason it defaults to 8080 links is because that's what the servlet container will do when you set it up.

Also note that once you have opened the site on your machine, you download the package from the site. 
Its a working site.

Note

Many people initially don't see what they seeing when they run the demo's.
Many applications like the Mailer demo are rich clients. 
In other words you are not seeing the whole application running, just the UI side of the application.
That's why these applications load and launch so quickly.
The Coherent Diffusion tutorials will explain this more.

 

TIP

Auto Install Java 5


Harbor Symbol

Models, Models, Models! Free Modeling Portfolio! ModelCoast. Photographers! Free Photographic Portfolios. Imagegods. Visit The Best Free Image Hosting.