Essential ATG Dynamo Training - Got atg Certified Relationship Management Developer?
This is not an official ATG site: ATG, Dynamo, Scenario Server and Personalization Server are trademarks or registered trademarks of Art Technology Group
Articles Exercises Resources Links Search

Converting a JHTML app to JSP and J2EE (Part 1)

Part 1 Part 2 Summary


Part 1 : Creating a new J2EE app in ATG Dynamo 5.6.1

Overview

These instructions list the steps to create an deploy a new j2ee application using ATG Dynamo 5.6.1

This is the first step in converting the Dating application from JHTML to JSP. Even if you haven't created the dating application these steps still provide all the steps you need to create a new j2ee app and then go on to convert an existing JHTML app to JSP and j2ee.

Instructions

Start solid DB

Start Dynamo (WITHOUT the Dating module if you've already done that)

bin\startDynamo -m DSS  (just with DSS)

start the ACC

Tools->J2EE Deployment

File-> create new J2EE application

Double click j2ee-apps/dating to bring up the Deployment editor

Web-modules - create new module called 'web-app'

Specify dating as the context root and index.jsp as the welcome page

Create a simple index.jsp file in the folder using the page editor,  to do this click the web-app.war tab then click New Document and use the JSP page template. (I've added a couple of logo graphics here)

Now lets add the dsp tag library:  Click back to the Deployment tab, select the Tag Libraries option under the web-app.war

Enter /dspTaglib as the new Tag Library URI

Specify WEB-INF/dspTaglib.tld as the TLD File location and select copy from /DAS/taglib/dspjspTaglib/1.0

Click the save icon

Build the application using build from the tools menu

File->close editor, save changes

Completely shut down Dynamo (do not restart)

Next start Dynamo with the DatingJSP module bin\startDynamo -m DatingJSP

Start the ACC and select J2EE pages tab

Select the dating web application we just created

Open a web browser and go to http://localhost:8840/dating :

 

View Part 2 to see how to convert JHTML pages to JSP pages

 

 


Technical Training Advertise your Training Programs for Free! Los Angeles Web Design Shopping Cart Software  Form a Corporation