Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
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 OpenVMS data and applications – Web (Services) enabling – Apache and Tomcat – Netbeans page 2 VMS Data & Applications page 3 Why OpenVMS Integration ? Application - X Application - Y INTRANET INTERNET Data App VMS page 4 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, multiplatform 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 5 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 6 Integration Options Data Data Data Application Logic Application Logic Application Logic Data User Interface User Interface Data Data User Interface Application Logic Application Logic Application Logic User Interface User Interface User Interface page 7 Data Integration with Attunity Connect Win VMS XML ODBC JDBC OLE DB ADO XML ODBC JDBC SQL MVS OBJECT XML ODBC JDBC Attunity Connect HIERARCHICAL XML ODBC INDEXED UNIX XML ODBC JDBC NSK FLAT FILE AS/400 XML ODBC JDBC Combine data from all given sources and platforms with one SQL statement! page 8 Attunity Connect Architecture Java Application / Application Server JDBC Driver JCA Resource Adapter Platforms Sources File CICS IMS/TM Pathway Custom apps Red Hat Linux Security Non-relational Management Relational Microsoft Windows Standard Interfaces Data Engine Application Engine SUN Solaris Meta Data Tru64 UNIX AIX Drivers and Adapters DG/UX HP-UX VMS AS/400 OS/390 NonStop Himalaya page 9 Application Integration with Bridgeworks Web Services OpenVMS J2EE .NET JSP Servlets HTML DCL 3GL ACMS Bridgeworks Architecture JSP BWX MC Tomcat J2EE JVM JVM Platform = … Your Application BWX SC RPC Alpha/OpenVMS V7.2-1+ Windows NT / 2000 UNIX Tru64 Components in Yellow you supply, BridgeWorks provides/generates the rest BWX Manager Internet Apache Apache with Tomcat & EJBs & RPC RPC OpenVMS VAX V6.2+ Alpha V6.2+ 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 Soap/XML Legacy Applications Legacy Legacy Applications Legacy page 12 Web-enabling with Java page 13 Web-enabling OpenVMS Data & Applications JAVA Based technologies – JAVA, Java Beans, Enterprise Java Beans – Servlets – Java Server Pages (JSPs) – JDBC page 14 Java 2 Standard Edition page 15 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 16 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) page 17 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 <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 page 18 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 DBMS Database server page 19 Apache, Tomcat & J2EE Servers page 20 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 21 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 22 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 23 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 24 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 25 How does it all fit together http://www.myserver.com:80/Simple_JDBC.jsp Browser RMS $GET $PUT Simple_JDBC.jsp HTTP Apache AJP Protocol Attunity JDBC Tomcat page 26 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 27 J2EE Value Proposition Application Application Application J2EE JVM JVM OS OS OS Hardware Hardware Hardware Pre Java With Java With J2EE page 28 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 29 Webservices page 30 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 31 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 32 eXtensible Markup Language - XML • A tag-based textual format for: – – • • Standard Rigorous, so easy to parse (relative to HTML) – • Document mark-up Data well-formed versus valid Unfettered by legacy ad-hoc ‘standards’ page 33 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 34 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 highperformance XSLT page 35 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 36 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 [email protected] – 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 37 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 38 Illustrating Web Services Technologies UDDI Registry SOAP Internet UDDI Registry Application Application Application WSDL Interface page 39 .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 40 Developing Web services with Microsoft.NET page 41 Netbeans page 42 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 43 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 page 44 The Main Window Editing Workspace The Explorer Properties page 45 Code Completion Editor Toolbar Java API Documentation Multiple buffers page 46 page 47 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 48 NetBeans Update Center • NetBeans update centers plus dedicated OpenVMS update centers • Tools/Update Center, make sure your proxy is set up properly page 49 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 50 CMS Support Plug-in • Supports – Reserve – Unreserve – Replace – Fetch – Show History – Differences (graphical) – Create Element – Delete Element – Variants, including long variant names page 51 EDT-keypad Plug-in • • • Provides key bindings for EDT keypad Works on any platform Knows how to use DEC keyboard page 52 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 53 page 54 HP logo