
25c8d065234cde07f5f420af8f758fe8.ppt
- Количество слайдов: 23
© 2009 IBM Corporation IBM Software Group What’s new in RBD 8. 0. 1 EGL Online User Group ®
IBM Software Group | Rational software Agenda Currency and related software support Rich UI updates IDE updates Runtime Updates 2
IBM Software Group | Rational software Currency and related software support Eclipse 3. 6. 1 Rational Application Developer 8. 0. 1 Web. Sphere Application Server 4 Version 6. 0 is no longer supported 4 Version 6. 1 and 7. 0 are supported 4 Version 8. 0 Beta is not supported (8. 0 support to come) Java 4 JRE 1. 4 is no longer supported 3
IBM Software Group | Rational software Rich UI Updates 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 4
IBM Software Group | Rational software 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 5
IBM Software Group | Rational software Expand the functionality of the RBD Rich UI visual editor ü 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 6
IBM Software Group | Rational software 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 7
IBM Software Group | Rational software 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 8
IBM Software Group | Rational software Improve the look and feel of developed applications ü New default theme based on Dojo Claro 4 Developed from scratch by a team of UI designers at IBM 4 Default theme for Dojo -based EGL applications http: //download. dojotoolkit. org/release-1. 5. 0/dojo-release-1. 5. 0/dijit/themes/theme. Tester. html 9
IBM Software Group | Rational software 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 10
IBM Software Group | Rational software 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) 11
IBM Software Group | Rational software Speed up common tasks – dedicated services Dedicated services are specialized services that are tied to a Rich UI application 4 Dedicated services are automatically deployed when the application is deployed 4 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 @Dedicated. Service) and invoke using standard call/returning to statement my. Service My. Service { @Dedicated. Service }; call myservice. func(“param 1”) returning to display. Results; 12
IBM Software Group | Rational software 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 4 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 13
IBM Software Group | Rational software 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 4 In version 75 x, a properties file must exist for each locale specified during the deployment of an EGL Rich UI application (text-en_US. properties, etc. ) 4 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 4 Title property of a RUIHandler 4 RUILib. set. Title(); Handler My. RUIHandler type RUIHandler{ title = “This is a title” } end 14
IBM Software Group | Rational software IDE Updates - Deployment Services 4 Can be deployed by generating a. egldd file (RBD 7. 5. x behavior) 4 Can be deployed by invoking the Deploy operation on a. egldd file (EGL CE behavior) Rich UI Applications 4 Can be deployed by invoking the Deploy operation on the. egldd file (EGL CE behavior) 4 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: 4 Web Projects (Services and Rich UI applications) 4 Host Systems as specified in an EGL Build Descriptor (Services only) 15
IBM Software Group | Rational software IDE Updates - EGL Interpretive Debugger Updated Suspend Preferences 4 First line of initial program 4 First line of called programs 4 First line of Transferred-to programs Conditional Breakpoints 4 A boolean expression that, when evaluated to true, causes execution to suspend 4 Allows you to avoid stepping through repeated operations until a specific sequence is reached Global Conditional Breakpoints 4 A conditional breakpoint that is executed for every statement of an EGL application Prompt for database credentials and remote system credentials 4 You will be prompted if there is no credentials or if the credentials are invalid 4 The prompt will appear up to 3 times 4 Avoid locked database and remote system accounts due to repeated log-in failures 16
IBM Software Group | Rational software IDE Updates - EGL Debugger Watchpoints 17
IBM Software Group | Rational software Runtime Updates - REST service invocation from EGLgenerated Java External or EGL-generated REST services can be invoked from an EGL-generated library or service running in a Java environment (Web. Sphere/Tomcat/JSE) Service is invoked synchronously (i. e. caller waits for response before resuming) Allows for: 4 server-side “chaining” of services 4 multiple service responses can be combined into a single response service My. Service function func 1(param int) returns (boolean) service 2 My. Service 2 {@bindservice}; service 2. func 1(param); end 18
IBM Software Group | Rational software 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: 4 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. 4 XML serialization can also be invoked programmatically using the XMLLib APIs to serialize a record to/from a string: XMLLib. convert. To. XMLLib. convert. From. XML Program My. Program function main( ) xml string = XMLLib. convert. To. XML(flex. Rec); XMLLib. convert. From. XML(xml, flex. Rec); end 19
IBM Software Group | Rational software Runtime Updates – New Java Build Descriptor Options cache. Prepared. Statements Build Descriptor Option 4 Values are yes / no. The default is no. 4 When a program, library, service, or handler is generated with cache. Prepared. Statements=YES and it connects to a database, all Prepared. Statements used with that connection will be cached 4 Avoids the overhead of repeatedly creating the same prepared statement for the life of an application New fields. Match. Columns annotation for SQL records 4 Values are yes / no. The default is no. 4 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 4 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 20
IBM Software Group | Rational software 21
IBM Software Group | Rational software 22
IBM Software Group | Rational software Learn more at: IBM Rational software Rational launch announcements Rational Software Delivery Platform Accelerate change & delivery Deliver enduring quality Enable enterprise modernization Ensure Web security & compliance Improve project success Manage architecture Manage evolving requirements Small & midsized business Targeted solutions Rational trial downloads developer. Works Rational Leading Innovation IBM Rational TV IBM Business Partners IBM Rational Case Studies Rational Client Programs © 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. 23
25c8d065234cde07f5f420af8f758fe8.ppt