Скачать презентацию Integrating Of VMS Data Apps Web-Enabling Apache Скачать презентацию Integrating Of VMS Data Apps Web-Enabling Apache

fd81fca263a409bd6509e93fdca55290.ppt

  • Количество слайдов: 55

Integrating Of VMS Data, Apps, Web-Enabling, Apache & Tomcat, Netbeans Sunil Kumaran / John Integrating Of VMS Data, Apps, Web-Enabling, Apache & Tomcat, Netbeans Sunil Kumaran / John Apps Transition Engineering & Consulting Business Critical Systems Division © 2003 Hewlett-Packard Development Company, L. P. The information contained herein is subject to change without

Agenda – Integrating Open. VMS data and applications – Web (Services) enabling – Apache Agenda – Integrating Open. VMS data and applications – Web (Services) enabling – Apache and Tomcat – Netbeans 2

VMS Data & Applications 3 VMS Data & Applications 3

Why Open. VMS Integration ? Application - X Application - Y INTRANET INTERNET Data Why Open. VMS Integration ? Application - X Application - Y INTRANET INTERNET Data App VMS 4

Open. VMS e. Business integration strategy Enrich the strengths of the Open. VMS operating Open. VMS e. Business integration strategy Enrich the strengths of the Open. VMS operating system with an infrastructure that allows application, middleware, and data integration in a global, multiplatform environment • Create the solution to your EAI problem--Open. VMS has the tools and technology • Extend ROI as you modernize your business • Built on industrial strength OS 5

Integrating Open. VMS data and applications • Technologies – – – – – • Integrating Open. VMS data and applications • Technologies – – – – – • Java JSP & Servlets Tomcat XML SOAP JDBC J 2 EE Web Services. NET Products – – – – – Microsoft. NET Ericom Host Publisher Attunity Connect Bridgeworks BEA Weblogic Server JBOSS Spiritwave/Spiritcache RTR/JRTR Netbeans 6

Integration Options Data Application Logic Data S M V en p O User Interface Integration Options Data Application Logic Data S M V en p O User Interface Data oints p face Inter Data Application Logic User Interface User Interface 7

Data Integration with Attunity Connect Win VMS XML ODBC JDBC OLE DB ADO XML Data Integration with Attunity Connect Win VMS XML ODBC JDBC OLE DB ADO XML ODBC JDBC SQL MVS OBJEC T XML ODBC JDBC Attunity Connect HIERARCHICAL INDEXED UNIX XML ODBC JDBC FLAT FILE NSK XML ODBC AS/400 XML ODBC JDBC Combine data from all given sources and platforms with one SQL statement! 8

 Attunity Connect Architecture Java Application / Application Server JDBC Driver Platforms Sources § Attunity Connect Architecture Java Application / Application Server JDBC Driver Platforms Sources § File § CICS § IMS/TM § Pathway § Red Hat Linux Security § Non-relational § Microsoft Windows Standard Interfaces Management § Relational JCA Resource Adapter Data Engine Application Engine Meta Data § SUN Solaris § Tru 64 UNIX § AIX Drivers and Adapters § Custom apps § DG/UX § HP-UX § VMS § AS/400 § OS/390 § Non. Stop Himalaya 9

Application Integration with Bridgeworks Web Services J 2 EE Open. VMS . NET JSP Application Integration with Bridgeworks Web Services J 2 EE Open. VMS . NET JSP Servlets HTML DCL 3 GL ACMS

Bridgeworks Architecture JSP BWX MC Tomcat J 2 EE JVM Platform = … RPC Bridgeworks Architecture JSP BWX MC Tomcat J 2 EE JVM Platform = … RPC Alpha/Open. VMS V 7. 2 -1+ Windows NT / 2000 UNIX Tru 64 Components in Yellow you supply, Bridge. Works provides/generates the rest Your Application BWX SC BWX Manager Internet Apache with Tomcat & EJBs & RPC Open. VMS VAX V 6. 2+ Alpha V 6. 2+

Ericom Host Publisher Traditional Users WAP micro-browser Palm Pilot or other PDA Web or Ericom Host Publisher Traditional Users WAP micro-browser Palm Pilot or other PDA Web or WAP browser Thin Client Web browser Intranet/Extranet/Internet Web or WAP browser Legacy Applications Legacy New Web Logic/Data New Integrated Enterprise Application Host Publisher Legacy Applications Legacy Web browser Legacy Applications Soap/XML Legacy Applications Legacy 12

Web-enabling with Java 13 Web-enabling with Java 13

Web-enabling Open. VMS Data & Applications JAVA Based technologies – JAVA, Java Beans, Enterprise Web-enabling Open. VMS Data & Applications JAVA Based technologies – JAVA, Java Beans, Enterprise Java Beans – Servlets – Java Server Pages (JSPs) – JDBC 14

Java 2 Standard Edition ha lp SA n. VM Ope for le SDK J Java 2 Standard Edition ha lp SA n. VM Ope for le SDK J . 1 -1 1. 4 now is ilab ava 15

Enterprise Java. Beans - EJB • • • Jave. Beans are components that can Enterprise Java. Beans - EJB • • • Jave. Beans are components that can be used to build Java Applications. Using Java. Beans 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 Java. Beans 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 16

Java Servlets • Servlets are programs written in Java to extend the functionality of 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 Why Servlets and not CGI? • 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) 17

Java Server Pages Mix HTML with dynamically generated content from Servlets • Separate ‘Form’ 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 – This… Produces

  • Time: <%= new java. util. Date() %>
  • Hostname: <%= request. get. Remote. Host() %>
  • Session ID: <%= session. get. Id() %>
  • The ‘test. Param’ form parameter: <%= request. get. Parameter("test. Param") %>
This… n n Hostname: eb 7101. americas. cpqcorp. net n Session ID: YCKX 3 NIAAAA 0 Xa. G 2 MVSQ n Time: Sun Sep 30 10: 30: 10 EST 2000 The ‘test. Param’ form parameter: some data 18

JDBC Three-tier Model Java Applet or HTML browser Client machine (GUI) HTTP, RMI, CORBA JDBC Three-tier Model Java Applet or HTML browser Client machine (GUI) HTTP, RMI, CORBA or other calls Application Server (Java) Server machine (business logic) Connection Pooling JDBC DBMS proprietary protocol Database server DBMS 19

Apache, Tomcat & J 2 EE Servers 20 Apache, Tomcat & J 2 EE Servers 20

Tomcat (CSWS_JAVA) • Tomcat JSP/Servlet Application Server Official reference implementation for Java Server Pages 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 (J 2 SE) platform – Distributed by ASF under the Apache Software License – Ported to Open. VMS by HP engineering – • Pre-built, packaged as a PCSI installation kit • Includes Open. VMS-specific documentation – Distributed as HP Secure Web Server optional product • No cost for software and documentation • Support included in Open. VMS support contract 21

Tomcat (continued) • Latest ASF releases – Tomcat 5. 0. 2 (development release) • 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 22

Apache (SWS) • Apache HTTP Server HTTP 1. 1 web server developed by the 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 Open. VMS by HP engineering – • Pre-built, packaged as a PCSI installation kit • Includes Open. SSL and certificate management utility • Includes Open. VMS-specific documentation – Distributed as HP Secure Web Server product • No cost for software and documentation • Support included in Open. VMS support contract 23

Apache (continued) • Latest ASF releases Apache 2. 1 (development release) – Apache 2. Apache (continued) • Latest ASF releases Apache 2. 1 (development release) – Apache 2. 0. 45 (stable release) – • IPv 6, 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) – 24

Web Server Adapters Mod_jk and Mod_jserv • Web server adapter to sit in Apache Web Server Adapters Mod_jk and Mod_jserv • Web server adapter to sit in Apache and redirect requests to Tomcat. *. jsp or Java. Servlet requests are redirected to Tomcat – *. html (non-Java requests) are served by Apache – • Two adapters are available Mod_jserv ¹ – Mod_jk ¹ – ¹ Apache Modules 25

How does it all fit together http: //www. myserver. com: 80/Simple_JDBC. jsp Browser RMS How does it all fit together http: //www. myserver. com: 80/Simple_JDBC. jsp Browser RMS $GET $PUT Simple_JDBC. jsp HTTP Apache Attunity AJP Protocol Tomcat JDBC 26

Java 2 Enterprise Edition (J 2 EE) The Java platform for Web Application Servers Java 2 Enterprise Edition (J 2 EE) 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 27

J 2 EE Value Proposition Application J 2 EE JVM OS OS OS Hardware J 2 EE Value Proposition Application J 2 EE JVM OS OS OS Hardware Pre Java With Java With J 2 EE 28

J 2 EE Offerings • Sun ONE Application server 7. 0 • BEA Weblogic J 2 EE Offerings • Sun ONE Application server 7. 0 • BEA Weblogic Server (VMS Certified 7. 0) • JBOSS (Opensource, not J 2 EE certified) • IBM Websphere • Oracle. AS Version 10 g 29

Webservices 30 Webservices 30

Defining Web Services • A Web service is a chunk of functionality that can 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 31

Web Services Technologies • Simple Object Access Protocol (SOAP) – An XML-based way to 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) 32

e. Xtensible Markup Language - XML • A tag-based textual format for: Document mark-up e. Xtensible 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’ 33

e. Xtensible Markup Language - XML Defines semantics, not display • HTML defines display, e. Xtensible Markup Language - XML Defines semantics, not display • HTML defines display, not semantics •

January 26 th 1998

• – • HTML defining some text - but giving no meaning to it January 26 th 1998 – XML defining a date, but not saying how it should be displayed 34

XML for Open. VMS XML C++ Technology Version 2. 0 for Open. VMS is XML for Open. VMS XML C++ Technology Version 2. 0 for Open. VMS is based on Apache Xerces C Version 2. 2. 0 and Apache Xalan C Version 1. 5. • XML Java Technology Version 2. 0 for Open. VMS is based on Apache Xerces-Java Version 2. 3. 0 and Apache Xalan-Java Version 2. 4. 1. • XML Technology for Open. VMS 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 W 3 C 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 highperformance XSLT – 35

SOAP – The Cornerstone of Interoperability Simple – self-describing messages requests based on proven 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 36

SOAP Toolkit for Open. VMS™ Alpha™ V 1. 1 • SOAP Toolkit for Open. SOAP Toolkit for Open. VMS™ Alpha™ V 1. 1 • SOAP Toolkit for Open. VMS™ 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 Open. VMS Alpha is provided by Compaq under existing Open. VMS service agreements through standard support channels – For technical feedback to the SOAP Toolkit for Open. VMS engineering team, please send mail to Open. VMSSoap. [email protected] com – Exchange information with other users through comp. os. vms • System Requirements • Operating System Alpha Open. VMS Version 7. 2 -2 (or higher) Note: The SOAP Toolkit runs on Open. VMS Version 7. 2 -1, but is officially supported only on Version 7. 2 -2 and higher 37

SOAP Toolkit for Open. VMS™ Alpha™ V 1. 1 SOAP Client prerequisites – Compaq SOAP Toolkit for Open. VMS™ Alpha™ V 1. 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 Open. VMS 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-ODS 5 environment SOAP Server Prerequisites – All of the SOAP Client prerequisites – Compaq Secure Web Server Version 1. 1 -1 (or higher) for Open. VMS Alpha – CSWS_JAVA Version 1. 0 (or higher) for Compaq Secure Web Server for Open. VMS Alpha 38

Illustrating Web Services Technologies UDDI Registry SOAP Internet UDDI Registry Application WSDL Interface 39 Illustrating Web Services Technologies UDDI Registry SOAP Internet UDDI Registry Application WSDL Interface 39

. NET • • • . NET is Microsoft’s Web services architecture. NET is . 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 40

Developing Web services with Microsoft. NET 41 Developing Web services with Microsoft. NET 41

Netbeans 42 Netbeans 42

What is Net. Beans? • Sun-sponsored/owned Java IDE • Written in Java • Open What is Net. Beans? • 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 Open. VMS, Solaris, OS/2, Windows, TRU 64 UNIX, Linux, HP-UX, MAC OS-X…others • Sun One Studio is a re-branding of Net. Beans 43

Net. Beans Major Features • Syntax highlighting code editor • Support for the Java, Net. Beans 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 44

The Main Window The Explorer Editing Workspace Properties 45 The Main Window The Explorer Editing Workspace Properties 45

Code Completion Editor Toolbar Java API Documentation Multiple buffers 46 Code Completion Editor Toolbar Java API Documentation Multiple buffers 46

 47 47

Plug-ins for Open. VMS Available at our Open. VMS Update Center or on our Plug-ins for Open. VMS Available at our Open. VMS Update Center or on our website • Currently Available (version 3. 5. 1) • C/C++ compiler support – EDT-keypad editor support – CMS support – Distributed Net. Beans (field test) – • Coming Soon Fortran compiler support (very shortly) – Cobol compiler support (very shortly) – 3 GL debugging support – 48

Net. Beans Update Center Net. Beans update centers plus dedicated Open. VMS update centers Net. Beans Update Center Net. Beans update centers plus dedicated Open. VMS update centers • Tools/Update Center, make sure your proxy is set up properly • 49

Open. VMS C/C++ Support Plug-in Tailored to the Open. VMS C/C++ compilers • Provides Open. VMS C/C++ Support Plug-in Tailored to the Open. VMS 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 Net. Beans output window or – separate terminal window 50

CMS Support Plug-in • Supports – Reserve – Unreserve – Replace – Fetch – CMS Support Plug-in • Supports – Reserve – Unreserve – Replace – Fetch – Show History – Differences (graphical) – Create Element – Delete Element – Variants, including long variant names 51

EDT-keypad Plug-in Provides key bindings for EDT keypad • Works on any platform • EDT-keypad Plug-in Provides key bindings for EDT keypad • Works on any platform • Knows how to use DEC keyboard • 52

Distributed Net. Beans • Use any desktop that runs Net. Beans • Develop on Distributed Net. Beans • Use any desktop that runs Net. Beans • Develop on remote Open. VMS machine • Provides remote compilation (Java, C/C++, COBOL, Fortran), error navigation, remote execution, and eventually debugging • Also will have remote CMS operations 53

 54 54

HP logo 55 HP logo 55