53c85d69c7fe2c1fe0ecec4080e29ad4.ppt
- Количество слайдов: 22
® Extending EGL with New Cool Web 2. 0 Technologies Chris Laffra EGL Rich UI Architect, RBD Product Architect, IBM Rational laffrac@us. ibm. com © 2008 IBM Corporation
IBM Rational Software Development Conference 2008 Agenda for today § Background 4 Benefits of EGL 4 Impact of Web 2. 0 on application development and delivery § Values of EGL Rich UI § Demos § Conclusions 2
IBM Rational Software Development Conference 2008 First, some Context: Software delivery challenges Business focus § Responsiveness as a key competency § Effectiveness of people as a critical success factor § Revenue growth with cost containment Software delivery challenges § Keeping software projects aligned with changing business priorities § Delivering better business results within the constraints of current investments and skill sets § Effectively managing business and technical risk § Dealing with increasing complexity 3
IBM Rational Software Development Conference 2008 Rich Web Applications § People want “cool” technologies: Dojo, Google Maps, etc. § Browsers are ubiquitous and more powerful § Reap the benefits of Client-Server architectures: 4 Presentation logic moves to browser 4 Server concentrates on business and data logic 4 Server bandwidth and response times increase § Many low-level technologies to learn: 4 Java. Script, HTML, CSS, Ajax, Dojo, Silver. Light, SOAP, WSDL, Flex, XML, JSON, Google Maps, HTTP, etc 4 Focus is on “how” instead of “what” § EGL Rich UI hides these details and complexities: 4 Focus is on “what” instead of “how” 4 Improves developer productivity 4 Easily extensible with new technologies 4
IBM Rational Software Development Conference 2008 Three Main Benefits of the EGL Language PORTABLE § Java, SOA, Cobol, System Z/I/P, Browser, . . . § Optimal native deployment to any platform § Easy inter-operability with legacy § High productivity with equal flexibility § Language simplicity and robustness § Immediately useable by business developers ABSTRACT SIMPLE § Effectively hide technical complexity § Use declarative approach to everything § Support emerging standards 5
IBM Rational Software Development Conference 2008 What’s the Buzz? § Rich Internet Applications 4 Rich like a desktop application (widgets, interaction, responsiveness) 4 Data on server, syntactical validation in client 4 Orchestration moves to browser: mashups, more flexible solutions § Deployment Model 4 Install on a server once, all clients automatically get the new version 4 Ease of use, no installation required, great for situational consumption § Operational Advantages 4 Logic moves from server to client, reducing load on server 4 Stateless logic, more opportunity for caching/virtualization 4 Less complexity on server, reduce provisioning costs 6
IBM Rational Software Development Conference 2008 Rich Internet Applications Challenges § Complex to build, many details to consider § Many technologies and incompatibilities in browser: 4 Core concepts: Java. Script, HTML, CSS, Ajax, SOAP, JSON, XML 4 Presentation logic: Dojo, Silver. Light, Flex, Volta, GWT 4 Backend technologies: SOAP, XML, JSON, PHP/C#/Java, J 2 EE 4 Common issues: performance, security, consumability, support § Required technologies operate on a very detailed, low level § Metaphors and abstractions are hard to mix and match § Require highly skilled adaptable software hackers § Matching skills with traditional business developers is hard 7
IBM Rational Software Development Conference 2008 EGL Web 2. 0 Architecture One language end-to-end EGL The Internet PHP/ASP/ J 2 EE/etc compilation Server COBOL + Java + J 2 EE Browser Java. Script COBOL RPG SOA System I JDBC System Z SOA ENT. Data compilation “CALL” JSF JCL EGL In RBD 7. 1 today Layouts EGL Mashup Gateway Plain HTML GWT REST/SOAP dojo Volta mashups Silverlight SOA Flex Etc. Google Gears On IBM Alpha. Works today In RBD 7. 5 late 2008* * Plans are always subject to change 8
IBM Rational Software Development Conference 2008 EGL: shielding complexity Widget Writer Java. Script AJAX Dojo Google Complexity Simplicity UI EGL Widget Library Business Developers Doability IBM ISVs Simplicity Produce Data + Logic Consume REST XML SOAP JSON Complexity SOAP XML REST PHP EGL COBOL Java RPG SQL Complexity 9
IBM Rational Software Development Conference 2008 What are the key Elements of the EGL Rich UI Programming Model? With earlier versions of IBM Rational Business Developer, EGL source code can already be translated into Java and COBOL for deployment on System Z and I servers. The same EGL code allows easy access to databases and existing programs written in COBOL, Java, PL 1, and RPG. That makes EGL a perfect language for doing enterprise modernization and successfully SOA-enabling legacy applications. In addition to COBOL and Java, EGL Rich UI now adds the ability to also generate Java. Script, that then runs in a web browser and that accesses logic on the server using Services calls. The resulting Java. Script allows for mashups of various data sources being integrated inside the browser by simple code written in EGL. Existing Java. Script libraries can also be easily exposed in EGL and used in compositions thereafter. The Java. Script that is generated from the EGL, and any dependent native Java. Script libraries can be deployed to various application servers, such as Web. Sphere Application Server and Apache Tomcat. However, EGL Rich UI runs just as well on lightweight stacks, such as the LAMP stacks that just rely on an Apache HTTP Server. EGL Rich UI applications run in the most prominent browsers, such as Internet Explorer, Firefox, and Safari. The latter one is especially interesting to many people, as it is the browser that is included with the i. Phone. When used end to end, EGL can be used as a very productive technology to modernize user interfaces and leverage existing investments in software and hardware, but also in people skills. 10
IBM Rational Software Development Conference 2008 How does EGL integrate with other Technologies like Flex, Silverlight, or Dojo? HTML and Java. Script by themselves make it hard to develop highly interactive, complex applications that manage state, services, and presentation. Various solutions have risen to the surface to fill the gap. Both Flex and Silverlight are examples where a new programming runtime was developed from scratch to write rich clients in, and the browser is just used as a transport and hosting mechanism. The actual application logic and presentation code runs inside a browser add-on and interaction from normal HTML and Java. Script is provided through a special Java. Script API. EGL Rich UI uses that API to integrate with technologies like Flex and Silverlight so that these technologies can be seamlessly integrated into a comprehensive solution. Dojo is a different story. It does not require any browser add-on but instead is implemented as a regular Java. Script library. Dojo offers both a component model and a set of rich widgets, some of which have fairly advanced support for management of application data. Dojo is quickly becoming a de facto standard for many web presentation components in IBM products, such as the new and exciting Jazz platform and Project Zero. Dojo is a very powerful solution, but being a Java. Script technology, dojo tends to expose many complexities of browser-based applications, such as the quirky Java. Script language, CSS styling, and figuring out how to do HTML layouts using divs and tables. Java. Script has its uses but is not for everyone. The same is true for both Flex and Silver. Light that use complex languages such as Action. Script and C# for doing event handling and doing things like validation of inputs. In contrast, EGL Rich UI allows people to focus more on the "what" rather than the "how". The composition of user interfaces is much more declarative using EGL Rich UI, allowing developers to focus more on their intent rather than on technical details, making them much more productive then when they would use complex solutions like Java. Script. Developers can still reach out into the native Java. Script layer if they really need to, but EGL Rich UI offers a much smoother progressive disclosure story. Things are simple when they need to be, and only get complex when they EGL Rich UI is designed to be extensible from day one. In essence, any technology or library that is written in Java. Script or that has a Java. Script interface can be exposed very easily into EGL Rich UI. Included with the EGL Rich UI offering we provide numerous examples that do just that. Some of those examples are Google Maps, dojo, Silver. Light, 2 D rendering, Flex, etc. Each offer their own specific values and features. 11
IBM Rational Software Development Conference 2008 RSDC Scheduler Architecture WAS, DB 2, IBM I, RPG SOAP/REST Service Calls get. Track(id) get. Session(id) vote(id, 5) EGL records JSON Responses Simple Services Scalability High Degree of Caching Virtualization Browser 12
IBM Rational Software Development Conference 2008 Three Benefits of EGL Rich UI Single Language Rich User Interfaces • EGL in 3 tiers: • Declarative UI • Easy installation • Ajax support • Rich set of widgets • No version pain • Flexibility • Easily extensible • Mashup using SOA 1. Data and Logic 2. Soap/Rest Services 3. Declarative UI • Just 1 language • Skill transfer Mobility the main focus of this particular RUI release 13
IBM Rational Software Development Conference 2008 EGL Rich UI mashup with Google Map One model and 2 views (a list and a map with markers) 14
IBM Rational Software Development Conference 2008 EGL Rich UI mashup with Google Map (source) The EGL Google. Map abstraction itself is 45 lines of Javascript 15
IBM Rational Software Development Conference 2008 DEMO 16
IBM Rational Software Development Conference 2008 EGL Rich UI – Summary of Values § Simple, declarative UI descriptions § Resulting Javascript code deploys on light-weight web server and runs in browser § One language § Simple metaphors § Customizable § Data-driven § Declarative 17
IBM Rational Software Development Conference 2008 Download IBM Rational EGL Rich UI Support § EGL Rich UI is available for evaluation today at IBM Alpha. Works: http: //www. alphaworks. ibm. com/tech/reglrws 18
IBM Rational Software Development Conference 2008 Wisdom of the Crowd – EGL Cafe • Join • Download • product trials • Sample code • Learn • Documentation Corner • Jon’s Corner – Learn • Articles, Books • About Products • Sandbox • Participate • Forums • Blogs • Ratings • Reviews • Share code • Partners • Goings. On 19
IBM Rational Software Development Conference 2008 QUESTIONS 20
IBM Rational Software Development Conference 2008 Rational Team Concert for System z & IBM i Call for Beta Testers § Rational Team Concert hosted on z/OS on System z or IBM i on Power Systems IBM Rational Team Concert § Collaborate & unify software teams across platforms including z/OS developers and IBM i developers § Specialized support for z/OS & IBM i languages such as COBOL, RPG, and EGL § Beta Program starting in July 2008 § Go here for additional information and to register interest: 4 https: //www 14. software. ibm. com/iwm/web/cc/earlypr ograms/rational/RTCiz 2008/ § (click Download Tab to access registration link) Open and extensible on ü Collaborate in context ü Right-size governance ü Day one productivity transparent integrated presence wikis OPEN real-time reporting chat automated hand-offs Web 2. 0 custom dashboards automated data gathering EXTENSIBILITY Eclipse plug-ins services architecture FREEDOM TO CREATE 21
IBM Rational Software Development Conference 2008 THANK YOU Learn more at: § IBM Rational software § § § IBM Rational Software Delivery Platform Process and portfolio management Change and release management Quality management Architecture management § § § IBM Alpha. Works EGL Rich Web Rational trial downloads Leading Innovation Web site developer. Works Rational IBM Rational TV IBM Rational Business Partners © Copyright IBM Corporation 2008. 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, the ondemand business logo, Rational, the Rational 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. 22
53c85d69c7fe2c1fe0ecec4080e29ad4.ppt