DeployFirstApplication

From JACOBWiki

Jump to: navigation, search

Contents

[edit] How to deploy my first jACOB Application!

[edit] Prerequisites

(this requires jACOB Designer v2.6.28 or greater)

[edit] Agenda

  • Create a new jACOB project in eclipse.
  • Build the war file of your new project.
  • Deploy the war file into jakarta tomcat.
  • Accept the license.
  • Hotdeploy a "jacapp" via eclipse into tomcat.

[edit] Installing the first Application

After successfully installing the jACOB Eclipse Plug In you may start the project wizard.

If you press [finish], Eclipse creates the project, switches automatically to the jACOB programming perspective and opens the new jACOB project.

Switch from the jACOB Perspective to the Resource- or Java-Perspective and execute

the build.xml file (Context menu on the build.xml file).

After a successful execution of the build.xml you have a valid Web Application Archive (war)

for deployment. The war file will be stored in the <MyProject>/dist directory.

Note: you have to refresh your project to reflect the new file system content!

Success!

You have built your first jACOB application with a valid build-in database. Now you may copy the war file into the tomcat/webapps directory and start/restart the tomcat. No additional configuration is required.

jACOB Documentation
jACOB Administration
jACOB Application