Ad102 - Extreme Makeover -- LotusScript and Java Editor Edition
Upcoming SlideShare
Loading in...5
×
 

Ad102 - Extreme Makeover -- LotusScript and Java Editor Edition

on

  • 2,180 views

Join us as we "reveal" the new LotusScript and Java editing capabilities in Lotus Designer 8.5.1. You'll learn how to leverage key features such as a class browser, automatic recompilation, code ...

Join us as we "reveal" the new LotusScript and Java editing capabilities in Lotus Designer 8.5.1. You'll learn how to leverage key features such as a class browser, automatic recompilation, code templates, content assist, hover help, hyperlinking and many other to make writing your LotusScript code a 'snap'.
Also, you'll learn how editing your Java libraries, agents, web service consumers, and web service providers in Lotus Domino Designer 8.5.1 can give your Java skills a wake up call!

Statistics

Views

Total Views
2,180
Views on SlideShare
1,937
Embed Views
243

Actions

Likes
1
Downloads
59
Comments
0

1 Embed 243

http://www-10.lotus.com 243

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Ad102 - Extreme Makeover -- LotusScript and Java Editor Edition Ad102 - Extreme Makeover -- LotusScript and Java Editor Edition Presentation Transcript

  • AD102: Extreme Makeover, LotusScript® and TM Java Editor Editions David Taieb | Senior Software Engineer | IBM Santosh Kumar | Advisory Software Engineer | IBM
  • Financial Disclaimer The information on the new product is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information on the new product is for informational purposes only and may not be incorporated into any contract. The information on the new product is
  • Agenda ● New Editors in IBM Lotus Domino® Designer 8.5.1 ▬ Benefits of Eclipse based Source Editor ▬ Which design elements are getting the new editors ● Live demo: deep dive on the new LotusScript and Java Editors capabilities by building a sample application ▬ LotusScript Agent to create documents with company stock quotes information ▬ Java Agent to export documents into Symphony spreadsheet and send email notification ● New features in IBM Lotus Domino Designer 8.5.x maintenance stream ● Q&A 3
  • Benefits of Eclipse based source editors ● Core features provided by the JFace Text framework: content assist, hover help, syntax highlighting, continuous error reporting, search, etc... ● Rich set of standard preferences that work consistently across all editors ● Lots of views give you access to the right information when you need it: Properties, Problems, Outline, etc... ● Extensibility: Lots of extension points allow you to create your own plugins. ● Robust code base: actively tested and maintained by a large and vibrant open source community. ● Strong Accessibility support. Learn more at http://www.eclipse.org 4
  • New Editors in IBM Lotus Domino Designer 8.5.1 ● New LotusScript Editor: ▬ Script Libraries ▬ Agents ● New Java Editor: ▬ Script Libraries ▬ Agents ▬ Web Service Providers ▬ Web Service Consumers 5
  • Agenda ● New Editors in IBM Lotus Domino Designer 8.5.1 ▬ Benefits of Eclipse based Source Editor ▬ Which design elements are getting the new editors ● Live demo: deep dive on the new LotusScript and Java Editors capabilities by building a sample application ▬ LotusScript Agent to create documents with company stock quotes information ▬ Java Agent to export documents into Symphony spreadsheet and send email notification ● New features in IBM Lotus Domino Designer 8.5.x maintenance stream ● Q&A 6
  • Getting started with LotusScript Editor Preferences ●Can be disabled ●New “Automatic recompilation“ options ●New “Saving with Errors” options ●Enhanced Code Assistance ●New Code Templates options ●New Comment Templates options ●Enhanced “Font and Colors” options Tip: Preferences can be Imported/Exported 7
  • Code and Comment Templates ●Error handling standardization ●Documentation generation ●Can use dynamic variables 8
  • Creating the LotusScript Agent and Library Pick the type at creation 9
  • New LotusScript Editor UI Improvements ● Full-Text Editing ▬ Copy/Paste entire code ● Class Browser ▬ Variables and methods ▬ Icons for Public/Private/Static ▬ Continuous error reporting ▬ Sorted ● Automatic scrolling ● Undo/Redo across section ● Eclipse Based Editor ▬ Find/Replace with regular expression ▬ Line numbering ▬ Whitespace characters ▬ Accessibility ● Contextual Properties View ● Problems View 10
  • Creating the stub methods with Auto-Complete Press [ENTER] Create section with Code and Comment  Automatically edits/indents/ completes common code elements 11
  • Get a productivity boost with Content Assist ● Provide completion proposal based on the current scope ▬ Methods ▬ Variables ▬ Use statement ● Works for backend as well as custom classes ● Secondary popup window shows help messages or user generated comments 12
  • Content Assist also works with custom code ● List of proposals also include custom methods and class ● Shows developer comments in secondary popup ▬ works also for Properties Get/Set, Types, Variables, even Libraries! 13
  • Get started on the code quicker with Hover help ● Shows help documentation for backend classes ▬ In place navigation ▬ Lots of code examples ▬ Allow Copy/Paste ● Shows developer comments for custom classes and methods 14
  • Get instant feedback with continuous error reporting Within section Across sections Changing to private causes error in method 15
  • Better manage your custom classes Class Browser shows field information and their modifier Hover help shows developer comments and aggregated class Icon denotes information (including superclass) Private modifier 16
  • Refactoring made easier with automatic recompilation ● Change the signature of a method ● Instantly get all the related errors from the problem view ● Easily access the errors in the code Error indicator in the editor tab and the Database Navigator Problem view list all the errors Double-click sets the focus on the error in the editor 17
  • Easier source code navigation with Hyperlink ● Navigate to class or method declarations ● Support Use statements ● Works also with external LSS files Click to switch to declaration Click to switch to declaration 18
  • Agenda ● New Editors in IBM Lotus Domino Designer 8.5.1 ▬ Benefits of Eclipse based Source Editor ▬ Which design elements are getting the new editors ● Live demo: deep dive on the new LotusScript and Java Editors capabilities by building a sample application ▬ LotusScript Agent to create documents with company stock quotes information ▬ Java Agent to export documents into Symphony spreadsheet and send email notification ● New features in IBM Lotus Domino Designer 8.5.x maintenance stream ● Q&A 19
  • Getting started with Java Editor Preferences Domino Designer Preferences Eclipse Java Editor Preferences 20
  • Creating Java Design elements ● Enable Java based design elements use Eclipse based Java interface ● Leverage features of Eclipse Java editor. ● New Eclipse based editor supported in ▬ Agent ▬ Library ▬ Web Service Consumer ▬ Web Service Provider 21
  • Getting started with Eclipse based Java Interface • Creating a Java design element – Opens Java Interface for specific design element. • Java design element – tree representation of the resource and source files in the element. • It supports following actions for common operations for working on design element – New Java Class – Import – Export – Compile All • Properties tab defines the behavior of design element 22
  • Enhanced productivity with Eclipse Java Editor ■ Java editor provides specialized features for editing Java code. ■ The editor includes following features  Syntax highlighting  Content/code assist – opens a scrollable list of available code completions – hover over a selected line in the content assist list, you can view Javadoc information for that line  Code formatting  Quick fix – problems underlined with a problem highlight line, Quick fix can offer corrections 23
  • Enhanced productivity with Eclipse Java Editor... ■ Leverage following Eclipse Views for exploring Java code.  Java Outline – displays an outline of the structure of the currently-active Java file in the editor area.  Type Hierarchy View – shows the hierarchy of a type  Call Hierarchy View – shows callers and callees for a selected Java member. – *Currently limited to open design element(s) 24
  • Leverage external library ■ Import Operation : Brings up dialogs for importing  Java source file  Java archive (.jar, .zip)  Java Script library  Web service consumer  Resource file ■ The invoked dialog box will aid in importing files into Java design element. • Importing Archives, Script Library and WS consumer adds to Java Build Path • The classes of an imported library are added to the classpath. 25
  • Error markers • Errors are flagged in the folder hierarchy as an X in a red box • The specific errors are listed in the Problems view at the bottom of the screen. • Clicking on specific error in problem view will open the Java design element or Java source which is resulting in a specific error. • Tip*: The error markers are persisted and are shown when application is re-opened. 26
  • Other Java Editor improvements • Refactoring support – Rename operation also updates the “Base Class” for Java type design element. • Delete action lets you preview the deletion before making the decision. • Project level support for Java compiler versions • Basic level support for Eclipse remote debugging of Java design elements 27
  • Web service consumer and provider • Web service consumer and provider supports similar Java interface with similar operations. • They also show the generated WSDL file in the WS contents. • - The WSDL can be opened in Eclipse WSDL editor to show graphical view of WSDL contents. • Both elements support property panel to define the behavior. 28
  • In summary... Top new editor features list ● Continuous error reporting ● Code/Comment templates ● Content Assist ● Hover Help ● Hyperlink ● Save with Errors ● Automatic recompilation and Problem view ● Class browser ● Refactoring and Code Formatting ( Java only) ● Type and Class hierarchy View (Java only) 29
  • Agenda ● New Editors in IBM Lotus Domino Designer 8.5.1 ▬ Benefits of Eclipse based Source Editor ▬ Which design elements are getting the new editors ● Live demo: deep dive on the new LotusScript and Java Editors capabilities by building a sample application ▬ LotusScript Agent to create documents with company stock quotes information ▬ Java Agent to export documents into Symphony spreadsheet and send email notification ● New features in IBM Lotus Domino Designer 8.5.x maintenance stream ● Q&A 30
  • New features in IBM Lotus Domino Designer 8.5.x maintenance stream ● New LS Editor for Database Script The information on the new product is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information on the new product is for informational purposes only and may not be incorporated into any contract. The information on the new product is not a commitment, promise, or legal obligation to deliver any material, code or functionality. The development, release, and timing of any features or functionality described for our products remains at our sole discretion 31
  • New features in IBM Lotus Domino Designer 8.5.x maintenance stream ● Formula Editor integration for Database Script The information on the new product is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information on the new product is for informational purposes only and may not be incorporated into any contract. The information on the new product is not a commitment, promise, or legal obligation to deliver any material, code or functionality. The development, release, and timing of any features or functionality described for our products remains at our sole discretion 32
  • New features in IBM Lotus Domino Designer 8.5.x maintenance stream ● Auto Save of Java library when sources are saved. ● Expanded contents of jar or zip files ● Support for refactoring across library. The information on the new product is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information on the new product is for informational purposes only and may not be incorporated into any contract. The information on the new product is not a commitment, promise, or legal obligation to deliver any material, code or functionality. The development, release, and timing of any features or functionality described for our products remains at our sole discretion 33
  • New features in IBM Lotus Domino Designer 8.5.x maintenance stream ● Support for WSDL input while creating WS provider ● Updating the WSDL in WSDL editor regenerates the WebService provider The information on the new product is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information on the new product is for informational purposes only and may not be incorporated into any contract. The information on the new product is not a commitment, promise, or legal obligation to deliver any material, code or functionality. The development, release, and timing of any features or functionality described for our products remains at our sole discretion 34
  • Agenda ● New Editors in IBM Lotus Domino Designer 8.5.1 ▬ Benefits of Eclipse based Source Editor ▬ Which design elements are getting the new editors ● Live demo: deep dive on the new LotusScript and Java Editors capabilities by building a sample application ▬ LotusScript Agent to create documents with company stock quotes information ▬ Java Agent to export documents into Symphony spreadsheet and send email notification ● New features in IBM Lotus Domino Designer 8.5.x maintenance stream ● Q&A 35
  • Related Lotusphere Sessions ● Meet the developer lab ▬ Domino Designer ▬ Xpages ● Jumpstart sessions ▬ JMP101 - IBM Lotus Domino Designer 101 ▬ JMP102 - The Top Things All New IBM Lotus Domino Developers Need to Know ▬ JMP103 - LotusScript JumpStart ● Application Development Track ▬ AD101 - IBM Lotus Domino Designer: Full Speed Ahead ▬ AD107 - Enhance Your Existing Applications with XPages ● KeyNote ▬ KEY104 - IBM Lotus Notes and Domino: Strategy and Future Directions 36
  • Legal Disclaimer © IBM Corporation 2009. All Rights Reserved. The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing contained in this publication 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 this presentation 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 this presentation 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. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results. Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here. All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer. IBM, the IBM logo, Lotus, Lotus Notes, Notes, Domino, Quickr, Sametime, WebSphere, UC2, PartnerWorld and Lotusphere are trademarks of International Business Machines Corporation in the United States, other countries, or both. Unyte is a trademark of WebDialogs, Inc., in the United States, other countries, or both. Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. 37