Veeva Application Setup Readme File
January 2008
--------------------------------------------------------------------------
This document summarizes the steps for setting up the Veeva Vacations environment, which is the basis for the Veeva Vacation series of Oracle WebCenter viewlets.

Recommended: 2GB of RAM, especially if you are running the database on the same machine as JDeveloper and the preconfigured OC4J.

---------
veeva_setup.zip creates a folder called VeevaSetup, which contains the following directories and files:

FOLDERS
o CopyToOC4J folder - contains image files and tours.csv to be copied to Preconfigured OC4J
o ListToursPortlet folder - contains source files for ListTours portlet
o VeevaOCMS folder - contains a library file and source file for the Presence demo
o VeevaWiki folder - contains image and text files the Wiki demo
o VeevaDiscussions folder - contains a txt file for the OmniPortlet layout and an XSL stylesheet


FILES
o AddToTours.java - contains code to be added to the managed bean Tours.java
o countries.sql - creates and populates the COUNTRIES table
o omniLayout.txt - provides HTML to copy for OmniPortlet layout
o portlet.xml - contains same code as sample 17-3 in the Oracle WebCenter Framework Developer's Guide
o readme.txt - this file, which provides setup instructions for the Veeva environment
o veevavacation.jpg - image to be added to project for JCR 1.0 integration demo
o Veeva.zip - contains Veeva images in appropriate directory structure to build the tree structure

Veeva.zip creates a folder called Veeva, which contains a directory structure of tour images for the JCR  1.0 demo.

---------
Steps for Setting Up the Veeva Application
1. Be sure your preconfigured OC4j has been installed. To install it, start JDeveloper. Click the green traffic light icon (top right) to start OC4J. When prompted to install it, click Yes.
2. Unzip veeva_setup.zip.
3. Copy all the files from VeevaSetup\CopyToOC4J to 
<jdev install>\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\j2ee\home\default-web-app.
4. Unzip Veeva.zip (suggest unzipping at top level C:\ drive as in viewlet).
5. Run countries.sql in any database account. Not shown in the viewlet: Creating a database connection to this account in JDeveloper. 