Kbase 17739: Example for deploying Apptivity applications to Intranetware
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/22/1998 |
|
Example for deploying Apptivity applications to Intranetware
DRAFT COPY - Currently under review and edit.
INTRODUCTION:
=============
Apptivity is absolutely the fastest way to develop, deploy, and
maintain business-critical Java database applications.
WHY YOU NEED TO KNOW THIS:
===========================
Apptivity Server runs on any platform that supports a Java virtual
machine.It can connect to any database that supports JDBC connectivity
It runs the application logic and manages database connectivity
while hosting concurrent client sessions.
PROCEDURAL APPROACH:
====================
1. Before installing JAVA on Netware 4.11 also called Intranetware
there is to Install the Intranetware Webserver and to enable
long file names on the volume Java is to install on.
The right syntax for the commands for this is on the Netware
console :
a.) LOAD <name space name> E.g. load long
b.) ADD NAME SPACE <name space name> [TO [VOLUME]] <volume name>
E.g. add name space long to sys
2. The next step is to configure with the Netware Webmanager
(WEBMGR.EXE) the Netware Web Server's ROOT e.g. sys:\web
and HTML documents directory e.g. docs. This is important to
have later a reference point where to deploy the APPTIVITY
application.
3. Install JAVA for Netware on Netware e.g. the JDK from Novell and
install Apptivity on a Netware drive with long file names enabled
to have later a reference point from the HTML to your Apptivity
configuration .
4. Create a directory under your HTML documents directory where to
deploy the Apptivity application and create one as the image source
e.g. IMAGE_SOURCE.
5. Create a .ncf file for the purpose to start the Apptivity server on
Netware. Steps :
a.) Go into your Apptivity Server ICON with a right mouse click ->
properties ->mark the destination and copy the contents of the
destination
b.) Open a editor e.g. notepad and paste the contents
c.) Replace <driveletter:\pathname>\Jave.exe through
<volumename:\pathname>\java.nlm where your Java for Netware
is installed and the java.nlm is located.
d.) Replace all <driveletter:\pathname> entries after -classpath
through the volumename:\pathname> strings on Netware where
Apptivity is located .
e.) Example of the contents of the project1.ncf :
load java -classpath sys:\Apptivity20\Java\bin
;sys:\Apptivity20;sys:\Apptivity20\Java\lib\classes.zip
progress.apptivity.server.abConnectionMgr
6. In your Apptivity Environment Settings for your object choose a
Target Directory Relative to WorkStation, what's below the HTML
documents directory using the mapped drive letter.
e.g. : I:\web\docs\project1
For the Target Directory Relative to Server use the same directory
using the Netware volume name.
e.g. : sys:\web\docs\project1
For the images use the image-source directory below the HTML
documents directory using the mapped drive letter
e.g. : I:\web\docs\IMAGE_SOURCE
For the Image Location use the name of this directory
e.g. IMAGE_SOURCE .
7. Now after done all this preparing steps you can choose the
Deliver Application Menu point.
Inside the project1.html is only one local drive letter still
to replace through the right volume name.
After starting the Apptivity Server by the created project1.ncf
file you should now be able to use the application with your browser
using the by Apptivity created html .
8. Restriction : The first JDK contains only drivers for Oracle .
Consider the current availability restrictions of JDBC drivers
for database access on Netware .
REFERENCES TO WRITTEN DOCUMENTATION:
Apptivity Developer's Guide
Progress Software Technical Support Note # 17739