150 likes | 314 Views
Natural Business Services for Construct Users. Mark Barnard R&D Manager – Natural Business Services. Agenda. What is NBS? Overview Architecture Using the Natural SPoD plug-in Developing Testing Administration Deployment Using Construct Existing models New Models
E N D
Natural Business Services for Construct Users Mark Barnard R&D Manager – Natural Business Services
Agenda • What is NBS? • Overview • Architecture • Using the Natural SPoD plug-in • Developing • Testing • Administration • Deployment • Using Construct • Existing models • New Models • Future transformation of old models • Using client tools • Eclipse plug-in (Java) • Visual Studio .NET • crossvision Application Composer • Questions
What is NBS? • Combination of Existing Products • Construct • Spectrum • Natural Studio • Provide Development tools and Run-Time infrastructure • Supports Service-Oriented Architecture (SOA) • Ability to develop a “Business Service” using Natural • Services are composed of existing or new subprogram and Natural data area definitions • Services have business methods and belong to business domains • NBS has a repository to contain service meta-data.
Terminology • Business Service – a logical definition that comprises repository entries and Natural objects • Service Repository – Natural/Adabas based repository that stores the definition of a Business Service. Also groups services and defines/stores security definitions • Service Runtime – facilitates access to services, service repository and server code generation. Consists of both a client and server (Natural) component • Client Proxy – A Java or .NET class that can invoke a Business Service • Server Proxy – Natural subprogram that connects service subprograms to the Service Runtime • Plug-in – An additional tool included in development IDEs that allow developers to create Business Services and Proxy's • Proxy Wizard – A Wizard accessible from a plug-in that generates proxy source code. • Service Wizard – Generates Natural code and repository entries to enable a business service
NBS Architecture Client Server RUNTIME Windows, Linux, UNIX Java Generated Code and Applications .NET Natural – Mainframe, Linux, UNIX XML Service Runtime (Server) Service Repository Natural Objects Databases Adabas DB2 Oracle IMS VSAM SQL Windows, Linux, UNIX Service Runtime (Client) EXX-ACI Code Generation Refactoring DEVELOPMENT Windows, Linux SPoD-PAL Eclipse Tools / IDEs Natural Services VS.NET Natural Core Infrastructure / Management Security Monitoring Testing Auditing & Logging
Service Types Any Subprogram Repository Domain Service Custom Methods CST OBJECT-MAINT Service Maint. Methods CST OBJECT-BROWSE Browse Method CST OBJECT-GENERIC Any Subprogram(s) Domain Service Custom Methods CST OBJECT-MAINT Service Maint Methods CST OBJECT-BROWSE- SELECT-SUBP Multi- Methods CST OBJECT-BROWSE Search Methods
Creating New Services • Use the Business Service wizard to create a new service
Testing services • Browse the repository to locate a service • Use the test feature to supply data and invoke a method
Business Service Administration • Editing services • Security
Business Service Administration (cont) • Audit trail • Configuration
Searching for Services • Search the repository
Using Services on the Client • Can generate code in .NET or Java to access business services • Plug-ins for Visual Studio .NET and Eclipse • Can create web services
Creating Rich GUI Interfaces • Using Application Composer / Designer
New Transform Model – BROWSE to OBJECT-BROWSE • “Transforms” BROWSE model generated program into: • Object-browse-subp • Object-browse-dialog • Object-browse-dialog-driver • Separation of presentation and business/data logic. • Transformation highlights • Field and File names need to be replaced with PDA names • General search and replace of common converted code • Customers can add their own conversion rules
Questions • Questions?