© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
HP NonStop Application and Development Modernization
Tom Miller
NonStop Enterprise Solutions and Architecture team
November 8th, 2012
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 2
Agenda
Why Modernize NonStop
• Quick intro to modernization – What and Why
• Types of modernization
• User Interface modernization
- JSF
- GWT
• Application interface modernization
• Application infrastructure modernization
• Database modernization
Development tools modernization
• Eclipse
• NSDEE Overview
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Why Modernize
NonStop?
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 4
Why Modernize?
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 5
Why Modernize?
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 6
Why Modernize?
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 7
Why Modernize?
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 8
Modernization Tools and Frameworks
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 9
SQL/MX ANSI Compliant
Best Practice: Leverage Modern Standards
• Modern software
• Web/GUI interfaces
• Java/C++
• Standard development tools
• Relational database
• Enterprise integrated
Open, low-cost and more common
skills…
…yet retain the NonStop
fundamentals
Standard hardware
Common chipsets
Blades
Storage
I/O infrastructure Peripherals
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 10
Modernization on The NonStop Today
Guardian
OSS
iTP WebServer Java
NSJSP SOAP JToolkit SASH
NSDEE
• OSS – Korn Shell, Unix-like
• iTP WebServer, secure, reliable
• NonStop Java – standards compliant, Hotspot
• NSJSP – Tomcat servlet container
• NS SOAP 4 – based on Axis2/C open source project
• JToolkit – Java interface to PWAY, Enscribe, etc.
• SASH – modern, open source frameworks
• NSDEE – Eclipse development environment
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 11
Home Depot: Major US Hardware Retailer
1000s of Cash Registers in over 2100 stores; 1.5 billion customer transactions per year;4 to 5 million txns/day; 1500-2000 txns/sec (peak) Captures detailed info of every sale:
items, price, date, credit, etc.
Enables No-receipt refunds:
hassle-free and fraud-free
XML data Sales information
iTP WebServer
NS SOAP
Pathway Apps
NonStop System
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
How Do We Modernize
NonStop?
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 13
Classic Application Model
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 14
Java Application Design For NonStop
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 15
Java Application Design For NonStop
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Open Source Frameworks
and NSJSP (Tomcat) Container
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 17
Open Source Java Frameworks on NonStop
SASH == MyFaces, Axis2, Spring, Hibernate
Apache MyFaces Component based Web UI Framework
Apache Axis2 Web Service Framework
Spring Framework for developing POJO components
Hibernate Object Relational Mapping (ORM) framework
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 18
NonStop Tomcat Container
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 19
NSJSP (Tomcat) Management
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 20
NSJSP (Tomcat) Management
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Web
Services
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 22
Two Approaches to Soap Web Services
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 23
Web Services Using Either NonStop SOAP or Java
No
nSt
op
TC
P/IP
V6
Parallel TCP/IP
TS/MP Serverclass
TS/MP Serverclass
service consumer
TS/MP Serverclass
Network Access
HTTP Server SOA/Web Services
Business Logic
Transparent Scalability
Transparent Fault Tolerance
iTP WS
NonStop SOAP
SOAP HTTP
Axis2 Spring-
WS
NSJSP
User App
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 24
NonStop SOAP 4 to Access an Existing Pathway Server
Pathway Server
iTP WebServer
(HTTPd)
services.xml
SOAP Service Client
Design time
Runtime
Internet
SOAP Admin DDL
dictionary
SDL
SOAP Server
WSDL XSD, HTML files
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
User Interface Modernization
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 26
Browser Based User Interface
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 27
NSJSP Dialog Sessions
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 28
JSF (MyFaces)
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 29
Scobol Screen Converted to Browser
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 30
An Alternative to JSF, the Google Web Toolkit
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 31
Google Web Toolkit Advantages
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 32
GUI Development with GWT
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Eclipse Development
Environment
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 34
Eclipse Development Environment This could be the only IDE you will ever need.
-Widely Adopted
-Over 1400 plugins available - J2EE
- EBJ
- C/C++
- Perl
- UML
- NSDEE (NonStop Native Languages)
- Source code management
- Compile
- Debug
- Deployment
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 35
NSDEE Architecture
– NSDEE Core
• Supports C, C++, COBOL, pTAL
• Local edit and build
• Remote edit and build
– NSDEE Debug
• Integrated debugging for Integrity
NonStop systems
– NSDEE 3.0 builds on eclipse
Eclipse 3.7.2 and CDT 8.0.2
– NonStop Java developers can
install the standard eclipse JDT
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 36
JAVA Development Perspective
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
NonStop Native Code
Development with
NSDEE
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 38
NonStop Development Modernization: NonStop NSDEE
• NonStop Development Environment for Eclipse (NSDEE)
• Eclipse Plugin
• COBOL, C/C++, pTAL, SQL/MX, ...
• Available for S-Series and Integrity
• Covers full development lifecycle
− Editing (syntax highlighting, etc), compiling
− Building/Linking, Debugging
− Deploying
• DEBUG via Eclipse
• local and remote builds
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 39
NSDEE Key Features (1 of 2)
A seamless integration with the open-source Eclipse development environment
Over 1400 plugins available
Single development environment for
Native C/C++, Native COBOL, pTAL, and Java languages
Integrity NonStop systems
NonStop S-series systems
Support for project types specific to NonStop servers
Support for databases:
HP NonStop SQL/MP and HP NonStop SQL/MX
Secure connection support
Telnet/ftp or SSH/sftp connections
An integrated debugger
Cobol, C/C++ (optional NSDEE Debugger product required)
Java
The ability to use the same tools and skills across platforms
Tool to migrate ETK-generated NonStop projects to Eclipse
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 40
NSDEE Key Features (2 of 2)
Local Projects
Build (compile/link) performed on workstation
Deploy executable to NonStop
Launch application and view results from within Eclipse
NSDEE debugger (Integrity NonStop systems only)
Configurations – sets of options
• Debug and Release
Remote Projects
Build (compile/link) performed on NonStop
Integrity NonStop systems only
All source and object files stored on NonStop
• Files copied to workstation for editing
• Simultaneous updates detection
NSDEE debugger (Integrity NonStop systems only)
Integrated help system
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 41
NonStop Development Perspective
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 42
NonStop NSDEE Project Types
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 43
Supplied Skeleton (“Hello World”) Programs
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 44
SQL/MP and SQL/MX Support
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 45
Integrated Debugger
Supports C/C++ and COBOL Uses Native Inspect as “back-end” Debugs: launched application running process snapshot/saveabend file
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 46
Requirements for NSDEE
To use NSDEE
A Windows PC running
• Windows 7 (32-bit or 64-bit),
• Windows Vista (32-bit)
• Windows XP
Java run-time, version 5 (or later)
Eclipse Indigo with CDT 8.0.2
• supplied with NSDEE
To build local projects
Cygwin make package version 3.81 (or later)
• supplied with NSDEE
OR
Msys version 1.0 (or later)
• supplied with NSDEE
NonStop cross-compilers for the languages you want to use
To debug
An Integrity NonStop system
Native Inspect T1237H01^AAT (or later)
To use SQL/MX
A NonStop system with SQL/MX compiler
SQL/MX preprocessors installed on the PC
ODBC/MX installed on PC
To Use SQL/MP
A NonStop system with the SQL/MP compiler
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 47
ECLIPSE and CDT
NSDEE 3.0 is only supported on Eclipse Indigo (Version 3.7.2)
The C/C++ Development Tooling (CDT) version has to be 8.0.2
NSDEE 3.0 is supported on Windows 7 (32 bit and 64 bit)
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 48
New NonStop Development Perspective
Project Explorer
NonStop Development Perspective
Deprecated NonStop Perspective of NSDEE 2.1 Build, Deploy and
Manage configurations
toolbar icons
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 49
Project Creation
Project wizards
• C Project
• C++ Project
• COBOL Project
• pTAL Project
• Makefile Project with Existing code
• Remote Makefile Project
Each local project wizard supports multiple project types.
• NonStop Executable
• NonStop Dynamic Link Library
• NonStop Linkable file
• NonStop Archive library
• NonStop User library
• NonStop Makefile Project (replaces standard make of NSDEE 2.x)
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 50
NonStop Tools
No DEFINE file tool in the new perspective
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Summary
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 52
Summary: Modernization on The NonStop Today
• Develop your apps using industry standard app development tools
• Architect your apps using industry standard programming paradigms
• Deploy your apps on a scalable, yet industry standard app server
• Integrate your apps with other apps in the enterprise as SOA services
• Store your data in a high performing, yet standard relational database
• Access your data via industry standard database access technologies
• Connect using industry standard network protocols
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Questions?