Upload
maximillian-craig
View
219
Download
0
Tags:
Embed Size (px)
Citation preview
DEV-25: From Box to Development for WSA/AIA/WebSpeed™ using Tomcat
Matt HarrisonSenior Software Engineer,
Progress OpenEdge
© 2007 Progress Software Corporation2 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Agenda
Overview Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A
© 2007 Progress Software Corporation3 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Tomcat
Price is right Platform neutral Progress tests with Tomcat Tomcat is the Reference JSE Works great! No GUI management tools It’s a JSE not a web server
Apache’s Java Servlet Engine
© 2007 Progress Software Corporation4 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WSA
Quickly gets your OpenEdge® application into the Web Services paradigm
Heterogeneous connectivity Language and platform independent Standard, well-defined, and flexible client
interface model
Web Services Adapter
© 2007 Progress Software Corporation5 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
AIA
Provides Internet access for clients to access an AppServer™ or Sonic Adapter application
Only change to client code needed is the connection parameters
Safe and easy (HTTP and HTTPS support) Accessible to ABL client, .NET™ Open Client,
or Java™ Open Client.
AppServer Internet Adapter
© 2007 Progress Software Corporation6 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed
Quickest way to build Web-based applications
Easy to Web-enable existing OpenEdge application
Highly extensible and familiar UI (web browser)
Many new technologies on the web (AJAX)
CGI Messenger
© 2007 Progress Software Corporation7 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Agenda
Overview Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A
© 2007 Progress Software Corporation8 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Installation of Tomcat
http://tomcat.apache.org/ Either zip file for Windows and tar.gz file for
Unix Download Tomcat 5.0.28 for 10.1B Download Tomcat 5.5.23 for 10.1C Older versions of Progress?
• 4.1.+ for 9.1+ and 10.0+
• YMMV
© 2007 Progress Software Corporation9 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Installation of Tomcat
Add the JAVA_HOME to the <tomcat_InstallDir>\bin\catalina.bat (sh)
Start Tomcat JSE• Start Run
– <tomcat_InstallDir>\bin\catalina.bat start
• <tomcat_InstallDir>/bin/catalina.sh start
Test Tomcat • http://localhost:8080
© 2007 Progress Software Corporation10 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Installation of Tomcat
© 2007 Progress Software Corporation11 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Installation of Tomcat
© 2007 Progress Software Corporation12 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Installing Tomcat
© 2007 Progress Software Corporation13 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Agenda
Overviews Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A
© 2007 Progress Software Corporation14 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WSA Configuration
Copy $DLC\servlets\wsa to <tomcat_InstallDir>\webapps
Modify the <tomcat_InstallDir>\ webapps\wsa\WEB-INF\web.xml• Be sure Admin authentication and
authorization is commented out
Turn off “Require Web Services Authorization”
Tomcat modifications:
© 2007 Progress Software Corporation15 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WSA Configuration
© 2007 Progress Software Corporation16 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WSA Configuration
© 2007 Progress Software Corporation17 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WSA Configuration
© 2007 Progress Software Corporation18 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WSA Administration
© 2007 Progress Software Corporation19 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WSA Administration
© 2007 Progress Software Corporation20 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WSA Administration
© 2007 Progress Software Corporation21 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WSA Installation
© 2007 Progress Software Corporation22 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WSA Demonstration
© 2007 Progress Software Corporation23 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Agenda
Overviews Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A
© 2007 Progress Software Corporation24 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
AIA Configuration
Add Progress environment variables to the catalina.bat (.sh) file• DLC
• WRKDIR
• Library Path (if UNIX, platform specific value)
Copy $DLC\servlets\aia <tomcat_InstallDir>\webapps
Turn off “HTTPS Enabled” Turn on “Internal Administrative Command”
Tomcat modifications:
© 2007 Progress Software Corporation25 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
AIA Configuration
© 2007 Progress Software Corporation26 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
AIA Configuration
© 2007 Progress Software Corporation27 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
AIA Configuration
© 2007 Progress Software Corporation28 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
AIA Configuration
© 2007 Progress Software Corporation29 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
AIA Configuration
© 2007 Progress Software Corporation30 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
AIA Configuration
© 2007 Progress Software Corporation31 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
AIA Demonstration
© 2007 Progress Software Corporation32 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Agenda
Overviews Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A
© 2007 Progress Software Corporation33 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed Configuration
Add DLC and WRKDIR to catalina.bat (.sh) file Remove comments around CGI section of
<tomcat_InstallDir>\conf\web.xml Add passShellEnvironment parameter set to “true”
(Tomcat version 5.5+ only) Remove comments around CGI <servlet-mapping>
section Rename <tomcat_InstallDir>\server\lib\servlets-
cgi.renametojar to servlets-cgi.jar
Tomcat modifications:
© 2007 Progress Software Corporation34 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed Configuration
Create CGI directory <tomcat_InstallDir>\webapps\ROOT\WEB-INF\cgi
Add messenger script to CGI directory (wspd_cgi.sh for Unix and quickcgi.pl for Windows)
Turn on “Allow Administration Command”
Tomcat modifications:
© 2007 Progress Software Corporation35 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed Configuration
© 2007 Progress Software Corporation36 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed Configuration
© 2007 Progress Software Corporation37 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed Configuration
© 2007 Progress Software Corporation38 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed Configuration
© 2007 Progress Software Corporation39 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed Configuration
© 2007 Progress Software Corporation40 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed Configuration
© 2007 Progress Software Corporation41 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed Configuration
© 2007 Progress Software Corporation42 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed Configuration
© 2007 Progress Software Corporation43 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed Configuration
© 2007 Progress Software Corporation44 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
WebSpeed Demonstration
© 2007 Progress Software Corporation45 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Agenda
Overviews Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A
© 2007 Progress Software Corporation46 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Summary
WSA, AIA, and WebSpeed can enhance your OpenEdge application
Tomcat is easily available and is straight forward to use
Configuring the WSA, AIA, and WebSpeed for development is not difficult
© 2007 Progress Software Corporation47 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
For More Information, go to…
Tomcat documentation• http://tomcat.apache.org/tomcat-5.5-doc/index.
html
Tomcat FAQ• http://tomcat.apache.org/faq/
Which version of Tomcat to choose• http://tomcat.apache.org/whichversion.html
Perl information• http://www.perl.org/
© 2007 Progress Software Corporation48 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Agenda
Overviews Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A
© 2007 Progress Software Corporation49 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Questions?
© 2007 Progress Software Corporation50 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat
Thank you foryour time
© 2007 Progress Software Corporation51 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat