Integrating Of VMS Data, Apps, Web-Enabling, Apache & Tomcat ...

bravesnailsSoftware and s/w Development

Jun 7, 2012 (5 years and 4 months ago)

478 views

© 2003 Hewlett
-
Packard Development Company, L.P.

The information contained herein is subject to change without
notice

Integrating Of VMS Data,
Apps, Web
-
Enabling, Apache
& Tomcat, Netbeans


Sunil Kumaran / John Apps

Transition Engineering & Consulting

Business Critical Systems Division

page
2



Agenda


Integrating OpenVMS data and applications


Web (Services) enabling


Apache and Tomcat


Netbeans

page
3



VMS Data & Applications

page
4



VMS

Why OpenVMS Integration ?

Data

App

Application
-

X

Application
-

Y

INTERNET

INTRANET

page
5



OpenVMS eBusiness integration strategy

Enrich the strengths of the
OpenVMS

operating
system with an infrastructure that allows application,
middleware, and data integration in a global, multi
-
platform environment



Create the solution to your EAI problem
--
OpenVMS has the tools
and technology


Extend ROI as you modernize your business


Built on industrial strength OS




page
6



Integrating OpenVMS data and
applications


Technologies


Java


JSP & Servlets


Tomcat


XML


SOAP


JDBC


J2EE


Web Services


.NET




Products


Microsoft .NET


Ericom Host Publisher


Attunity Connect


Bridgeworks


BEA Weblogic Server


JBOSS


Spiritwave/Spiritcache


RTR/JRTR


Netbeans


page
7



Integration Options

Data

Application

Logic

Application

Logic

Application

Logic

User

Interface

Data

Data

Data

Data

User

Interface

User

Interface

Application

Logic

User

Interface

Application

Logic

User

Interface

Application

Logic

User

Interface

Data

page
8



Data Integration with Attunity Connect

XML

ODBC

NSK

XML

ODBC

JDBC

VMS

XML

ODBC

JDBC

UNIX

XML

ODBC

JDBC

OLE DB

ADO

Win

AS/400

XML

ODBC

JDBC

MVS

XML

ODBC

JDBC

INDEXED

SQL

HIERAR
-

CHICAL

OBJECT

FLAT FILE

Attunity Connect

Combine data from all given sources and platforms with one SQL statement!

page
9






JDBC

Driver

JCA

Resource Adapter

Java Application / Application Server

Standard Interfaces

Drivers and Adapters

Data

Engine

Application

Engine

Meta

Data

Security

Management

Sources



Relational



Non
-
relational



File



CICS



IMS/TM



Pathway



Custom apps

Platforms



Microsoft Windows



Red Hat Linux



SUN Solaris



Tru64 UNIX



AIX



DG/UX



HP
-
UX



VMS



AS/400



OS/390



NonStop Himalaya


Attunity Connect Architecture



OpenVMS









ACMS

3GL

DCL

Web Services

JSP

HTML

.NET

Servlets

J2EE

Application Integration with Bridgeworks

Components in
Yellow

you supply,
BridgeWorks provides/generates the rest

JSP

BWX MC

Alpha/OpenVMS V7.2
-
1+
Windows NT / 2000

UNIX Tru64

Tomcat

Apache with Tomcat & EJBs & RPC

RPC

JVM

J2EE

Platform = …

Apache

Internet

JVM

RPC

BWX SC

Your
Application

BWX
Manager

OpenVMS

VAX V6.2+

Alpha V6.2+

Bridgeworks Architecture

page
12



Ericom Host Publisher

Host

Publisher

Soap/XML

Palm Pilot or other PDA

Web or WAP browser

WAP

micro
-
browser

Thin Client

Web browser

Web browser

Web or WAP browser

Legacy

New Web

Logic/Data

New

Integrated

Enterprise

Application

Legacy

Legacy

Applications

Legacy

Legacy

Applications

Legacy

Legacy

Applications

Traditional Users

Intranet/Extranet/Internet

Legacy

Applications

page
13



Web
-
enabling with Java

page
14



Web
-
enabling OpenVMS Data &
Applications

JAVA Based technologies


JAVA, Java Beans, Enterprise Java Beans


Servlets


Java Server Pages (JSPs)


JDBC

page
15



Java 2 Standard Edition

page
16



Enterprise JavaBeans
-

EJB



JaveBeans are components that can be used to build
Java Applications.


Using JavaBeans to create a server application, you have
to build the entire server framework


EJBs provide a model for a services framework into
which Java components can be portably deployed


With Enterprise JavaBeans the framework is provided for
you (by the EJB software)


Customization is not performed at development time
using properties, but at runtime (deployment time) using a
‘deployment descriptor’

JBs and EJBs are the components used to web
-
enable VMS data and applications

page
17



Java Servlets


Servlets are programs written in Java to extend the
functionality of HTTP servers


Servlet is to Web server as Applet is to Web
browser






Replacement for CGI scripts and programs



Servlets are faster and scale with multiprocessors

(Java
Threading)


Servlet API is consistent and standard (don’t have to
learn for each platform)


Supported by all major Web servers

and Engines


User Session Tracking built in (e.g., for Shopping Carts)

Why Servlets and not CGI?

page
18



Java Server Pages


Mix HTML with dynamically generated content from
Servlets


Separate ‘Form’ from ‘Function’ or ‘Designers’ from
‘Developers’


Allows Web page designers to design


Developers to develop



<UL>


<LI>Time: <%= new java.util.Date() %>


<LI>Hostname: <%=

request.getRemoteHost() %>


<LI>Session ID: <%= session.getId() %>


<LI>The ‘testParam’ form parameter:


<%= request.getParameter("testParam") %>

</UL>

This…



Time: Sun Sep 30 10:30:10 EST 2000



Hostname: eb7101.americas.cpqcorp.net



Session ID: YCKX3NIAAAA0XaG2MVSQ



The ‘testParam’ form parameter: some data

This…

Produces

page
19



JDBC Three
-
tier Model

Java Applet or

HTML browser

Application Server

(Java)

JDBC

DBMS

Client machine (GUI)

HTTP, RMI, CORBA or other calls

Server machine

(business logic)

DBMS proprietary protocol

Database server

Connection Pooling

page
20



Apache, Tomcat &

J2EE Servers

page
21



Tomcat (CSWS_JAVA)


Tomcat JSP/Servlet Application Server


Official reference implementation for Java Server Pages
(JSP) and Java Servlet specifications


Runs on the Java 2 Standard Edition (J2SE) platform


Distributed by ASF under the Apache Software License


Ported to OpenVMS by HP engineering


Pre
-
built, packaged as a PCSI installation kit


Includes OpenVMS
-
specific documentation


Distributed as HP Secure Web Server optional product


No cost for software and documentation


Support included in OpenVMS support contract

page
22



Tomcat (continued)


Latest ASF releases


Tomcat 5.0.2 (development release)


Servlet API 2.4/JSP 2.0


Tomcat 4.1.24 (stable release)


Servlet API 2.3/JSP 1.2


Latest HP releases


Tomcat 4.1.24

page
23



Apache (SWS)


Apache HTTP Server


HTTP 1.1 web server developed by the Apache Software
Foundation (ASF)


Distributed by ASF under the Apache Software License


Ported to OpenVMS by HP engineering


Pre
-
built, packaged as a PCSI installation kit


Includes OpenSSL and certificate management utility


Includes OpenVMS
-
specific documentation


Distributed as HP Secure Web Server product


No cost for software and documentation


Support included in OpenVMS support contract


page
24



Apache (continued)


Latest ASF releases


Apache 2.1 (development release)


Apache 2.0.45 (stable release)


IPv6, threading, better multi
-
platform support


Apache 1.3.27 (stable release)


Most widely deployed code base


Latest HP releases


Apache 2.0.44 (in beta)


Apache 1.3.26 (with security patches)

page
25



Web Server Adapters

Mod_jk and Mod_jserv


Web server adapter to sit in Apache and redirect
requests to Tomcat.


*.jsp or JavaServlet requests are redirected to Tomcat


*.html (non
-
Java requests) are served by Apache


Two adapters are available


Mod_jserv
¹


Mod_jk
¹


¹

Apache Modules

page
26



How does it all fit together

Browser

http://www.myserver.com:80/Simple_JDBC.jsp

Simple_JDBC.jsp

Apache

HTTP

Tomcat

AJP

Protocol

RMS

$GET

$PUT

Attunity

JDBC

page
27



Java 2 Enterprise Edition (J2EE)


The Java platform for Web Application Servers



Java Servlets / Java Server Pages (JSP)


Enterprise Java Beans (EJB)


Java Messaging Service (JMS)


Remote Method Invocation (RMI)


Java Database Connection (JDBC)


Java Naming & Directory Interface (JNDI)


Java Transaction API (JTA)


Java IDL / RMI over IIOP (CORBA Interoperability)


Java Mail

page
28



Hardware

OS

Pre Java

Application

Hardware

OS

JVM

With Java

Application

With J2EE

Hardware

OS

JVM

J2EE

Application

J2EE Value Proposition

page
29



J2EE Offerings


Sun ONE Application server 7.0


BEA Weblogic Server (VMS Certified 7.0)


JBOSS (Opensource, not J2EE certified)


IBM Websphere


OracleAS Version 10g

page
30



Webservices

page
31



Defining Web Services


A Web service is a chunk of functionality that can be
accessed using Web technology


Across an intranet or the Internet


Usually:


What’s accessed is a method in a language such as
Java or Visual Basic.NET


The Web technology used is the Simple Object Access
Protocol (SOAP) carried over HTTP


Both the .NET and Java camps have endorsed Web
services

page
32



Web Services Technologies


Simple Object Access Protocol (SOAP)


An XML
-
based way to invoke Web services


Web Services Description Language (WSDL)


An XML
-
based language for describing Web services


Universal Description, Discovery, and Integration
(UDDI)


A registry for Web services


Global XML Web Services Architecture (GXA)


Infrastructure Protocol Framework (Microsoft)

page
33



eXtensible Markup Language
-

XML


A tag
-
based textual format for:


Document mark
-
up


Data


Standard


Rigorous, so easy to parse (relative to HTML)


well
-
formed versus valid


Unfettered by legacy ad
-
hoc ‘standards’

page
34



eXtensible Markup Language
-

XML


Defines semantics, not display


HTML defines display, not semantics


<p><b>January 26th 1998</b></p>


HTML defining some text
-

but giving no meaning to it


<ChangeDate>January 26th 1998</>


XML defining a date, but not saying how it should be
displayed

page
35



XML for OpenVMS


XML C++ Technology Version 2.0 for OpenVMS is based on

Apache Xerces C Version 2.2.0

and
Apache Xalan C Version 1.5
.


XML Java Technology Version 2.0 for OpenVMS is based on

Apache Xerces
-
Java Version 2.3.0

and
Apache Xalan
-
Java
Version 2.4.1
.


XML Technology for OpenVMS supports Java and C++ and
comprises the following components:


XML Parser in Java and C++

Based on the Apache XML Project's Xerces, which provides parsing
and generation. The fully validating parser implements the W3C XML
and DOM (Level 1 and 2) standards.


XSLT Stylesheet Processor in Java and C++

Based on the Apache XML Project's Xalan, which provides high
-
performance XSLT


page
36



SOAP



The Cornerstone of
Interoperability

Simple



self
-
describing messages requests based on proven
conventions. SOAP is not
simple
.

But, it is much simpler than
any of its predecessors (DCOM, CORBA, DCE, …)

Object



has its roots as a way of invoking COM objects across
the Internet. SOAP can invoke methods across the Internet.

Access



Possible to create SOAP bindings for almost any
protocol. The de facto binding is currently HTTP or SMTP,
allowing SOAP through most firewalls.

Protocol



Put all the previous factors together:


Simple


Object


Access



and you get a very flexible, XML
-
based protocol for exchanging
information throughout a distributed environment


page
37



SOAP Toolkit for OpenVMS™ Alpha™
V1.1


SOAP Toolkit for OpenVMS™ Alpha™


Version 1.1


Based on Apache SOAP Version 2.3.1 and includes Xerces
-
J



Support


Support for the SOAP Toolkit Version 1.1 for OpenVMS Alpha is provided by Compaq
under existing OpenVMS service agreements through standard support channels


For technical feedback to the SOAP Toolkit for OpenVMS engineering team,

please send
mail to OpenVMSSoapToolkit@hp.com


Exchange information with other users through comp.os.vms



System Requirements



Operating System


Alpha OpenVMS Version 7.2
-
2 (or higher)

Note: The SOAP Toolkit runs on OpenVMS Version 7.2
-
1, but is officially

supported only on Version 7.2
-
2 and higher

page
38



SOAP Toolkit for OpenVMS™ Alpha™
V1.1

SOAP Client prerequisites


Compaq Software Development (SDK) for the Java™ Platform Version 1.2.2
-
3
(or higher)


All patches required for Compaq SDK for the Java™ Platform. Check the
Compaq SDK documentation for the version of Java you are installing to be sure
that you have all prerequisite OpenVMS Alpha patches.


Installing on an ODS
-
5 enabled disk is recommended. Because of long file
names and directory depth issues, the installed code base and the
accompanying documentation cannot be guaranteed to function properly in a
non
-
ODS5 environment


SOAP Server Prerequisites


All of the SOAP Client prerequisites



Compaq Secure Web Server Version 1.1
-
1 (or higher) for OpenVMS Alpha


CSWS_JAVA Version 1.0 (or higher) for Compaq Secure Web Server for
OpenVMS Alpha

page
39



Illustrating Web Services Technologies

UDDI
Registry

Internet

UDDI
Registry

Application

WSDL Interface

Application

Application

SOAP

page
40



.NET


.NET is Microsoft’s Web services architecture


.NET is based on XML, SOAP, WSDL and UDDI


.NET provides a set of Web services, called
Hailstorm, together with a security scheme called
Passport


.NET also provides a development environment
and runtime for creating more Web services


.NET servers are Microsoft’s pre
-
existing servers
(like Biztalk) brought under the .NET marketing
umbrella


All this is the basis for Microsoft’s fee
-
for
-
use
software strategy


page
41



Developing Web services with
Microsoft.NET

page
42



Netbeans

page
43



What is NetBeans?


Sun
-
sponsored/owned Java IDE


Written in Java


Open source, www.netbeans.org


Positioned as an IDE and a tools platform


Extensible, foreign language support with appropriate
plug
-
ins


Runs on OpenVMS, Solaris, OS/2, Windows, TRU64
UNIX, Linux, HP
-
UX, MAC OS
-
X…others


Sun One Studio is a re
-
branding of NetBeans

page
44



NetBeans Major Features


Syntax highlighting code editor


Support for the Java, C, C++, XML and HTML
languages.


Support for JSP, XML, RMI, CORBA, JINI, JDBC and
Servlet technologies


Support for Ant, CVS and other version control systems


Visual design tools


Wizards and code generation and management tools


Web Development


Built
-
in debugger


Cross
-
platform

page
45



Editing
Workspace

The Main
Window

The
Explorer

Properties

page
46



Code
Completion

Multiple
buffers

Java API
Documentation

Editor
Toolbar

page
47



page
48



Plug
-
ins for OpenVMS


Available at our OpenVMS Update Center or
on our website


Currently Available (version 3.5.1)


C/C++ compiler support


EDT
-
keypad editor support


CMS support


Distributed NetBeans (field test)


Coming Soon


Fortran compiler support (very shortly)


Cobol compiler support (very shortly)


3GL debugging support

page
49



NetBeans Update Center


NetBeans update
centers plus
dedicated OpenVMS
update centers


Tools/Update Center,
make sure your proxy
is set up properly


page
50



OpenVMS C/C++ Support Plug
-
in


Tailored to the OpenVMS C/C++ compilers


Provides


source colorization


code formatting


compilation of files, but not linking


error message parsing/navigation


Provides DCL command procedure execution


output in NetBeans output window or


separate terminal window


page
51



CMS Support Plug
-
in


Supports


Reserve


Unreserve


Replace


Fetch


Show History


Differences (graphical)


Create Element


Delete Element


Variants, including long
variant names

page
52



EDT
-
keypad Plug
-
in


Provides key bindings for EDT keypad


Works on any platform


Knows how to use DEC keyboard


page
53



Distributed NetBeans


Use any desktop that runs NetBeans


Develop on remote OpenVMS machine


Provides remote compilation (Java, C/C++, COBOL,
Fortran), error navigation, remote execution, and
eventually debugging


Also will have remote CMS operations

page
54



HP logo