350 likes | 477 Views
Easily Web Enable your Natural Applications. Tom Philpott Senior Product Marketing Manager Software AG USA Inc. Evolution of the Application – Generation 1. Evolution of the Application – Generation 2. Evolution of the Application – Generation 3. Evolution of the Application – Generation X.
E N D
Easily Web Enable your Natural Applications Tom Philpott Senior Product Marketing Manager Software AG USA Inc.
Evolution of the Application – Generation Network Natural Network Natural Application Server
Advantages to an XML-based Web Enablement Approach • XML provides automated integration • with applications as well as screen presentation of data for users. More of a complete solution. • XML offers flexibility • for message-based integration with many applications and business partners • XML enables durable integration possibilities • compared to the brittleness of screen scraper connections (some of which might be affected by changes in legacy green screens) • XML addresses emerging trends • new enterprise computing trends (Microsoft .NET and XML-based messaging)
Web Enablement Legacy Transition Level of Understanding Graphical user interface or data extension Legacy Evolution
Transform existing Natural Applications into NEW Web Enabled Systems! Recommended Option for Web-Enablement Natural Engineer & WebStar
How Natural Engineer can help! • A workbench for Natural application maintenance, Natural Engineer does: • Impact analysis - tells you what code to change and the impact on your application. • Automatic modification - applies individual and pre-coded changes automatically and keeps track of changes • Applies Coding standards - can change application code to have a consistent appearance, rules, documentation • Modularization of Code - can extract program code to create subprograms for specific functions (I/O related code, DB Access Code), adding efficiency and reusability • Versioning - can tell you what code to change as you migrate to a new version of Natural
Pre-defined Processes • Code beautification • Code optimisation • Version migration • Application modularization • Any section Subprogram • INPUT MAP Subprogram • DB Access Subprogram
Subprograms for marked Code Subprogram Define Data Parameter … Local … End-Define For Index … … End-For … End … For Index 1 To Table.Last-index Table.Fld-type(Index) := ' ' Table.Fld-level(Index) := 0 Table.Fld-name(Index) := ' ' Table.Fld-format(Index) := ' ' Table.Fld-length(Index) := ' ' Table.Fld-max-occurr(Index) := ' ' End-For Table.Last-index := 0 Table.Level := 0 …
Subprograms for User Interface Code Subprogram … Input // '-' (28) 'SchGen Experimental' '-' (28) // '-' Message (AD=O) // 'Type "X" = Yes/True or " " =No/False:’ True-or-false (AD=MT) // '-' (78) … Define Data Parameter … End-Define Input … … End
Subprograms for Database Access Code Subprogram Define Data Parameter … Local … End-Define Find … … End-Find … End … Find MyView With City = ‘Paris’ Where Job-Title = ‘Ingenieur Commercial’ … Display … … End-Find …
Benefits of Natural Engineer • Natural Engineer saves you time and money on maintenance-related activities: • Quick: Scanning and changing of code is done quickly and correctly by Natural Engineer • Experienced: Natural Engineer knows the correct solution in maintaining the code • Thorough: Natural Engineer does an analysis of what is needed, lets you make the final decision and keeps an audit log of all code changes • Easy: Natural Engineer GUI interface is easy to use and navigate
Natural Engineer & WebStar • Basic idea • XSL-based presentation of XML data delivered by Natural. • Principles (Highlights) • Business logic of application remains the same • Changed code is generated • Application still functions as 3270 application • Use of standards: XML and XSL • Highly flexible presentation through XSL: HTML, PDF and more • Works dynamically with multiple browsers.
During development: Generates XSL sheet : from Map definition XML template : from Map definition Natural code : from Input Using Map … Reinput etc. At runtime Issues filled-in XML If necessary, applies XSL to XML Sends either HTML/XML to browser Natural Engineer WebStar Highlights
Automatically transforms terminal application into Web application Makes use of the Natural language, a language you already know Protects investment in current applications Is compatible with componentization Makes use of XML standards Follows the approach of XML-supplied XSL clients WebStar Benefits
How Natural Engineer’s WebStar works Web Browser Web Server HTML XML HTTP Server XSL Processor XSL Processor Server Ext’ion XML HTML Editor XSL XSL Natural Server HTML Presentation layout NAT Application that creates XML data & 3270 Data Screen XSL Presentation code (referenced from XML via URL) XML Data to be presented (referencing XSL via URL) XSL Editor
Developing Natural Web Applications withSpectrum .NET Mark Barnard R&D Manager – Construct/Spectrum Software AG
Presentation Agenda • What is Spectrum? • What are Web Services? • Spectrum implementation of Web Services • Spectrum .NET
What is Spectrum? • Built to provide access to Natural from Windows • Leverages the power of EntireX • COM/ActiveX based technology on the client • Includes complete application generation for: • Traditional Client/Server applications • Web applications (HTML based) • Tiered architecture
Spectrum Features • COM component which accesses Natural subprograms via EntireX ACI • Uses familiar concepts and terms; Data Areas, CallNat • Code generation technology on the client • Includes two application frameworks • Client/Server • Web • Construct Windows Interface written using Spectrum
CST431 SPE431 NEXT Web Natural App. Server Maint. Subprogram Browse Subprogram Any Subprogram Forms Current Spectrum Architecture Microsoft Windows Spectrum Proxy Spectrum Proxy Spectrum Proxy Spectrum Dispatch Client EntireX Message Broker Spectrum Dispatch Server
Web Application Framework • Web Interfaces: • Generation of Client Components • HTML, ASP, Visual Basic • Easy to customize • Template based • Application templates
What are Web Services? • Programmatic Interfaces available over the web • Uses XML standards • SOAP – Simple Object Access Protocol • UDDI – Universal Description, Discovery and Integration • WSDL – Web Services Definition Language • Benefits • Allows different systems/languages to interact • Standards adopted by many
Web Services continued • SOAP • XML protocol for information exchange • Contains the message, bindings, rules… • Usually functions over HTTP • WSDL • Format for describing the network end-points and their messages • UDDI • Registry containing available web services
Spectrum .NET • Spectrum .NET will be composed of these components: • Web Services generation for Natural objects • Web Application framework for quick development • Generation tools and services for developers • Existing Spectrum middleware
Spectrum .NET Web Services • Can be generated against any existing or new Natural Subprogram • Parameter data areas are represented as XML for the message • Spectrum .NET Server will process messages • No extra coding required
Web Services Demo • DEMO!
Web Application Framework • New Application framework using the .NET development platform • Based on existing Spectrum 431/441 Web SDK • Communications with new Web Services and/or existing Spectrum components • No Visual Basic or .NET coding required
Web Application Demo • DEMO!