Title: Natural for AJAX
1Natural for AJAX
-
- Patrick Gould
- Advisory Systems Engineer
2Agenda
- Product Overview
- Product Demonstration
- Question and Answer Session
3Natural for Ajax Rich Internet Applications
- Development of Natural Rich GUI Internet
Applications - Based on AJAX technology
- No page re-rendering between user interactions
- Thin client concept
- Only a Web browser required for client
- Reachability similar to Web applications
- Complex controls support advanced GUI user
interface - Drag/drop, graphical user interface elements
- User experience similar to desktop applications
4Building Rich Internet Applications
Good Accessibility Web-based
Intelligent Client Data validation or online
help without server communication
Less network traffic Server delivers only
updated data
Fast User Interface Client updates only those
parts of the UI that have changed
5Natural for Ajax - Architecture
6Natural for Ajax - Architecture
7Natural for Ajax - Architecture
- Create Ajax page
- Generate page adapter
8Natural for Ajax - Architecture
- Generates Natural code for page adapter
- Develop business logic for each page and page
event
9Natural for Ajax - Architecture
- Application Designer deploys Page to application
server - Natural for Eclipse or Natural Studio deploys
Natural adapter and program to Natural
10Natural for Ajax Runtime
- Browser sends url for logon page to application
server - Application Server sends logon page
- Browser enters login request
- Application server forwards credentials to
Natural - Natural establishes a session and sends page id
and data back - Application server sends page and data to browser
11Natural for Ajax Runtime
-
- Browser decide to terminate session
- Natural terminates session and sends logoff page
id and data - Application server sends logoff page and data
12Natural for Ajax Login Page
13Natural for Ajax Login Page
14Natural for Ajax Predefined SessionIDs
- Predefined Session IDs allow simple access to
applications without knowledge of connection
details - Select a Session ID from a drop down list
15Natural for Ajax Predefined SessionIDs
- Xml file for Session IDs
- Session ID
- Define Host Name
- Portnumber
- Shell script used by Web I/O to start session
- UserId and Password
- Natural Parameter
- Further Information
16Natural for Ajax Connection Details
- Define connection parameter manually
17Natural for Ajax - Examples
18Natural for Ajax Example Overview
19Natural for Ajax Example Calculator
20Natural for Ajax Create an example
21Application Designer
- Select Natural Template
- Create Page Layout
- Define Properties
- Generate Natural Page Adapter
22Natural for Eclipse Adapter Code
23Natural for Ajax Code Example
- Natural Code for Calculator Example
- Link to Adapter
- PAGE-EVENTfilled by CIT andlinks to the action
performed by the user - Perform business logic
- Update Page
- Code outline taken from the adapter via copy and
paste
24Natural for AjaxSyntax Enhancements
25Natural for Ajax Natural Syntax Enhancements
- Syntax enhancements will be provided with Natural
6.3.1 and 4.2.3 - process page using
- Sends data to external I/O system referring to a
page layout - Waits for the external I/O sytstem to respond
with an event - process page update and send event
- Updates data sent previously via process page
- May trigger an event
- Waits
- process page modal end-process
- Allow nesting of process page statements for
cascading popups - page-event
- Will be provides by the application server to
Natural - Natural processes the return data depending on
the value of event
26Natural for Ajax Natural Syntax Enhancements
- Syntax enhancements will be provided with Natural
6.3 and 4.2.3 - New Object type adapter
- Represents the external page layout in Natural
- External page identifier
- List of possible events
- Maps the identifiers used on the external page
with the Natural data elements - Generated with Eclipse
27Natural for AjaxSecurity and supported
environments
28Natural for Ajax Security
- Mainframes
- User ID and password will be checked with
Operating System or RACF - Session will be started and running with the
client user id - z/OS batch and CICS
- VSE batch and CICS
- NSC performs application security checks as usual
- Unix
- User id and password will be checked with
Operating System method (PAM) or via user exit. - Session will be started and running with the
client user id - Inactivity timeout apply
- NSC performs application security checks as usual
29Natural for AJAX supported environments
- Development
- Natural for Eclipse 3.1.2 or
- Natural for Windows 6.3.1
- Application Designer 2.3.1
- Runtime
- Natural 6.3.1 for Unix or
- Natural 4.2.3 for Mainframes
- J2EE Application Server
- JBoss Application Server 4.0.5
- Sun Java System Application Server 8.2
- Apache Ant 1.6.5 to perform the deployment on
JBoss Application Server
30Natural for AJAX Components
- Natural for Ajax (NJX) consists of
- J2EE enterprise application (njx111.ear)
- J2EE resource adapter (njx111ra.rar)
- Both components will be installed on a J2EE
Application Server. - Application Designer (CIT) 2.3 is integral
component of NJX, included in the njx111.ear
file. - A license for Natural for Ajax includes
- NJX
- CIT 2 developer seats
- CIT runtime 1 CPU.
31Product Demonstration
32Question and Answer Session
33Thank You!