J2Page Quick Start: Overview
Getting started with J2Page is easy - just download and install, and then run the example applications to see how they work.
Download
You will need to download:
-
Java 5 or greater, if you don't have it already. Note that the Java 5 requirement is for your build environment only - J2Page applications can be deployed on servers running Java 1.4 or other earlier versions.
-
Eclipse, version 3.2 if you wish to use the Eclipse plug-in version of J2Page
-
The latest J2Page distribution and examples project from the downloads page.
Install
-
Install Java if you haven't already and install Eclipse if needed
-
To install the J2Page Eclipse plugin simply expand the j2page-plugin.x.x.zip file into the root directory of your Eclipse distribution. Then expand the j2page-examples-x.x.zip file into your Eclipse workspace directory.
Run the Examples
To run the examples in Eclipse:
-
Open the examples as a "Java Project" in Eclipse by selecting File -> New -> Project, choose "Java Project", with name "j2page-examples". The sources you unzipped in the workspace should be picked up to populate the project.
-
Using Eclipse's package explorer or navigator views, navigate to the src/java folder and choose an example j2p file and double-click the file to view the source in the editor pane.
-
Run the file by right-mouse clicking anywhere in the editor pane and choosing "Run As" -> J2Page
Going Further
Once you can successfully run the examples, you can learn how to develop your own J2Page applications from the tutorials section (coming soon).
|