Skip to main content

Getting Started

Installing the NetBeans plugins

Please refer to the download page. This is by far the easiest way to install and try out Phobos.

Installing and running a sample application

The sample applications are packaged as regular war files, so you can deploy them on the GlassFish application server or any other compatible servlet container.

You can download the war files for the examples and demoj1 applications by following these links:

Once you have deployed the examples application, point your browser to http://localhost:8080/examples/ (or the appropriate port number if different from 8080) and you should see an HTML page generated by a script.

Before deploying the JavaOne demo application, demoj1, you need to change some of the configuration information in the WEB-INF/environment/development.js file. In particular, you may want to set a proxy server if you are behind and firewall. Also, if you plan on trying out the del.icio.us portion of the demo, you need to enter your del.icio.us login name and password where indicated.

Once you are done, deploy the application following the instruction in the preceding section. If you point your browser to http://localhost:8080/demoj1/ you should see the front page of the demo.

Since the war files include all the Phobos libraries, they are around 14MB in size. If you want, you can expand one of the war files and move all the jar files under WEB-INF/lib to a shared directory in your container. This will substantially reduce the size of an application.

We tested these web applications on GlassFish Milestone 7 and Tomcat 5.5.12. If you run into any problems with other servlet containers, please let us know.

Source code

The source code for Phobos and the sample apps is in the Phobos CVS repository on java.net.

To build Phobos, follow the build instructions on this page.

License

The Phobos distributions are licensed under the same terms as GlassFish, i.e. CDDL with Binary Distribution License for selected components. All the functionality specific to Phobos is under the CDDL.

Contact Info

Please send feedback to the dev@phobos.dev.java.net mailing list.

 
 
Close
loading
Please Confirm
Close