23
® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

Embed Size (px)

Citation preview

Page 1: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

®

IBM Software Group

© 2009 IBM Corporation

What’s new in RBD 8.0.1

EGL Online User Group

Page 2: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

2

Agenda

Currency and related software support

Rich UI updates

IDE updates

Runtime Updates

Page 3: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

3

Currency and related software support

Eclipse 3.6.1

Rational Application Developer 8.0.1

WebSphere Application Server Version 6.0 is no longer supported

Version 6.1 and 7.0 are supported

Version 8.0 Beta is not supported (8.0 support to come)

Java JRE 1.4 is no longer supported

Page 4: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

4

1. Expand the functionality of the RBD Rich UI visual editor

2. Include more business-oriented widgets out of the box

3. Improve look and feel of developed applications

4. Speed up common tasks (e.g. build UI forms from data records)

Goals: Ease development of Web 2.0 style apps with EGL

Rich UI Updates

Page 5: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

5

Expand the functionality of the RBD Rich UI visual editor

Improved visual feedback as user is dropping new

widgets and moving existing widgets

Improves ease-of-use when developing Rich UIs

Introduced new grid-oriented layout widget

Allows precise placement of widgets

Greatly improved visual editor performance

Visual editor uses Mozilla XULRunner browser by default

Can be changed to IE in the preferences

Full page refreshes happen less frequently

Goal is for developers to completely develop UIs

using the visual editor, and only use the source

editor for required coding

Page 6: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

6

The properties view has been reorganized to make

things easier to find

It is now possible to switch between the tabs of a

widget in the Visual Editor design view

Widgets can be dropped within the selected tab

Expand the functionality of the RBD Rich UI visual editor

Page 7: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

7

Include more useful, business-oriented widgets out of the box

Out of the box support for Dojo Dijit 1.5 widgets

Date/time pickers, graphs, currency and other input

widgets (with built-in validation), tab and accordion

containers, tree, and more

Widgets organized on the Palette by function

Dojo local runtime imported into workspace and

used by default

Can switch to Google runtime or AOL remote

runtime toolkit, which can be imported into your

workspace from the Help system

Page 8: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

8

Include more useful, business-oriented widgets – Data Grid

Improved Data Grid widget supports:

Pagination or scrollbars (fixed headers)

Sorting

Row selection (none, single, multiple)

Row checkboxes

Column-level formatting

Column-level alignment

Computed columns

Widget replacement

Ability to provide cell editing support

Dynamic data loading

Page 9: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

9

Improve the look and feel of developed applications

New default theme based on Dojo Claro Developed from

scratch by a team of UI designers at IBM

Default theme for Dojo-based EGL applications

http://download.dojotoolkit.org/release-1.5.0/dojo-release-1.5.0/dijit/themes/themeTester.html

Page 10: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

10

Speed up common tasks – drag and drop a record

Drag-and-drop EGL record to generate UI forms and data grids Enables quick construction of UI forms and data grids

Uses MVC pattern to automatically bind UI elements to data

Page 11: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

11

Speed up common tasks – new Record wizard

Quickly generate EGL records for calling XML or JSON-based web services Greatly simplifies development effort when

needing to call an existing RESTful web service (developer no longer needs to code input/output data records)

Page 12: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

12

Speed up common tasks – dedicated services

Dedicated services are specialized services that are tied to a Rich UI application Dedicated services are automatically deployed when the application is deployed

The service does not need to be configured in the EGL deployment descriptor

You do not need to know service URL prior to deployment

When the service is deployed, there is no public URL

The service can be located in the same project as the Rich UI application or in a referenced project

Steps to use:

1. Code EGL service as usual (no need to select REST or SOAP deployment)

2. In a Rich UI application, declare the service as a variable (with @DedicatedService) and invoke using standard call/returning to statement

myService MyService { @DedicatedService };call myservice.func(“param1”) returning to displayResults;

Page 13: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

13

Speed up common tasks – test without deploying

Fully unit test EGL applications without deploying to a server

EGL services can be invoked from a Rich UI application running in Preview or Debug, without requiring the service to be deployed to a server User is prompted to see if the Source version or Deployed version of the service should be

invoked

Avoids needing to setup a local test server

Avoids needing to republish and restart server when service is changed

Avoids needing to know the URL of the service while it is under development

Page 14: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

14

Speed up common tasks – properties files and page titles

NLS properties files can now be used by the same Rich UI application running in various locales In version 75x, a properties file must exist for each locale specified during the deployment

of an EGL Rich UI application (text-en_US.properties, etc.)

In version RBD Next the rules are more flexible. When deploying to en_US, properties files are resolved in the following order:

– text-en_US.properties

– text-en.properties

– text.properties

A title can now be specified for a RUIHandler to control the string that appears as in the title bar of the Browser window Title property of a RUIHandler

RUILib.setTitle();

Handler MyRUIHandler type RUIHandler{title = “This is a title”

}end

Page 15: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

15

IDE Updates - Deployment

Services Can be deployed by generating a .egldd file (RBD 7.5.x behavior)

Can be deployed by invoking the Deploy operation on a .egldd file (EGL CE behavior)

Rich UI Applications Can be deployed by invoking the Deploy operation on the .egldd file (EGL CE behavior)

RBD 7.5.x Rich UI Deployment Wizard has been removed

Deployment information can now be easily stored in a source code repository

Services and Rich UI applications can be deployed to various targets

Targets include: Web Projects (Services and Rich UI applications)

Host Systems as specified in an EGL Build Descriptor (Services only)

Page 16: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

16

IDE Updates - EGL Interpretive Debugger

Updated Suspend Preferences First line of initial program

First line of called programs

First line of Transferred-to programs

Conditional Breakpoints A boolean expression that, when evaluated to true, causes execution to suspend

Allows you to avoid stepping through repeated operations until a specific sequence is reached

Global Conditional Breakpoints A conditional breakpoint that is executed for every statement of an EGL application

Prompt for database credentials and remote system credentials You will be prompted if there is no credentials or if the credentials are invalid

The prompt will appear up to 3 times

Avoid locked database and remote system accounts due to repeated log-in failures

Page 17: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

17

IDE Updates - EGL Debugger Watchpoints

Page 18: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

18

Runtime Updates - REST service invocation from EGL-generated Java External or EGL-generated REST services can be invoked from an EGL-generated

library or service running in a Java environment (WebSphere/Tomcat/JSE)

Service is invoked synchronously (i.e. caller waits for response before resuming)

Allows for: server-side “chaining” of services

multiple service responses can be combined into a single response

service MyService

function func1(param int) returns (boolean)service2 MyService2 {@bindservice};service2.func1(param);

end

end

Page 19: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

19

Runtime Updates - XML serialization in EGL-generated Java

EGL Flexible Records can now be converted to and from XML in the Java runtime environment

Uses: XML serialization can be used in REST services

The use of XML is seamless. The data is converted to and from XML as part of the service call.

XML serialization can also be invoked programmatically using the XMLLib APIs to serialize a record to/from a string:

XMLLib.convertToXML

XMLLib.convertFromXML

Program MyProgramfunction main( )xml string = XMLLib.convertToXML(flexRec);

XMLLib.convertFromXML(xml, flexRec);end

end

Page 20: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

20

Runtime Updates – New Java Build Descriptor Options

cachePreparedStatements Build Descriptor Option Values are yes / no. The default is no.

When a program, library, service, or handler is generated with cachePreparedStatements=YES and it connects to a database, all PreparedStatements used with that connection will be cached

Avoids the overhead of repeatedly creating the same prepared statement for the life of an application

New fieldsMatchColumns annotation for SQL records Values are yes / no. The default is no.

Yes means the fields of the record have the same characteristics as the columns in the database

Same type, length, number of digits, and nullability

When set to yes we can generate more efficient code:

Skip checks for null when the field isn’t nullable

Skip overflow checks and type conversion code

Page 21: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

21

Page 22: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

22

Page 23: ® IBM Software Group © 2009 IBM Corporation What’s new in RBD 8.0.1 EGL Online User Group

IBM Software Group | Rational software

23

© Copyright IBM Corporation 2010. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM products and services are trademarks of the International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.

Learn more at:IBM Rational softwareRational launch announcementsRational Software Delivery PlatformAccelerate change & deliveryDeliver enduring qualityEnable enterprise modernization

Rational trial downloadsdeveloperWorks RationalLeading InnovationIBM Rational TVIBM Business PartnersIBM Rational Case StudiesRational Client Programs

Ensure Web security & complianceImprove project successManage architectureManage evolving requirementsSmall & midsized businessTargeted solutions