A Deep Dive into the Essentials Project from OpenNTF

Post on 14-May-2015

1.023 views 6 download

Tags:

description

Come take a deep dive into the new OpenNTF Essentials project and learn from the project developers why every XPages developer should be using this collection of projects to save time and money! In this webinar, learn: -Why OpenNTF Essentials is more than just a bundle -The OpenNTF Domino Java API -Debugging with the Debug Toolbar -And more! You’ll leave this webinar armed with a better understanding of the free tools available to you on OpenNTF.

Transcript of A Deep Dive into the Essentials Project from OpenNTF

A Deep Dive Into the Essentials Project from OpenNTF

Tweet about this event: #XPages and mention us: @teamstudio @TLCCLTD

December 12, 2013

@teamstudio teamstudio.com

@TLCCLTD

Courtney Carter Inbound Marketing Specialist

Who We Are • Our background is in creating tools for collaborative

computing in mid-size and large enterprises, primarily for IBM Notes

• Easy-to-use tools for developers and administrators • 2300+ active customers, 47 countries • Offices in US, UK and Japan • Entered mobile space in 2010 with Unplugged: easy

mobilization of Notes apps to Blackberry, Android and iOS

Teamstudio Unplugged • Your mobile Domino server: take your Notes apps

with you! • End-users access Notes applications from mobile

devices whether online or offline • Leverages existing skills and technology – XPages –

a replication model you already know • Unplugged 3.0 just released • IBM Collaboration Solutions Award Winner 2013

Unplugged Templates • Continuity – Mobile offline access to BCM

programs

• OneView Approvals – Expense approvals; anywhere, anytime

• CustomerView – lightweight CRM framework for field sales and field service teams o Contacts – customer information database o Activities – customer activity log o Media – mobile offline file storage and access

• Next Teamstudio/TLCC webinar: January • SocialBiz webinar: Enterprise Mobile Strategy - December 17 • Wireless Wednesdays webinar series: begins January 8

o Learn Domino mobile development

• IBM Connect: booth 114 • Promotion:

o Sign up for a demo of Usage Auditing and be entered to win a MacBook Air

A Deep Dive into the Essential Project from OpenNTF

1

#XPages

Paul Della-Nebbia TLCC

@PaulDN

Your Hosts Today:

Howard Greenberg TLCC

@TLCCLtd

Upcoming and Recorded Webinars

2

Next Webinar in January Date and details to be announced…Bring lots of Java…

www.tlcc.com/xpages-webinar

View Previous Webinars (use url above)

3

Click here for more information and to signup

The breakout sessions have been published, lots of XPages content!

TLCC Courses and Services

• The Leader in Notes and Domino Training since 1997

• Self Paced Distance Learning Courses for Notes/Domino

– XPages, Development, and Administration (user too!) • OnSite Private Classes • TLCC Mentoring Services • Free demo courses

– Intro. To XPages Development – Application Development 1

4

5

Save hundreds and even Thousands of Dollars on the most popular courses and packages Through December 31st

Click here for more information

TLCC Customized Training Options

• Let TLCC design a custom blended learning plan for your organization that uses a combination of:

– Self-Paced TLCC courses – Live Instructor Led Online – Private Onsite Classes – Mentoring

• Success Stories

6

Asking Questions

7

Q & A at the end! Type in your questions as they come up

Your Presenters Today:

#XPages 8

Christian Güdemann, WebGate •Why OpenNTF Essentials is more than just a bundle •XPages Toolkit - A new way to develop

Nathan Freeman, RedPill •The OpenNTF Domino Java API •Logging Made Easy

Mark Leusink, LinQed •Debugging with the Debug Toolbar •Extended debugging with the XPages Toolbox

@guedeWebGate

@openntf

@markleusink @RedPillDev

OpenNTF Essentials

A Deep Dive

OpenNTF Essentials – is more

● … than a update site

● … a project collection

OpenNTF Essentials – is

● … the coordination of some key projects

● … the platform to bring developers together

OpenNTF – Essentials

● OpenNTF Essentials – The Runtime– Plugins to extend the capability of the IBM

Domino/XWork Server and Domino Designer

– Example applications for the plugins

● OpenNTF Essentials – The Toolbox– Projects which deliver debugging and test

capabilities

– Projects with sample code to educate developers

OpenNTF Essentials

Runtime

OpenNTF Essentials - Architecture

XPages runtime / Extension Library

XPT-Core

XPTAgents

RSSObjectListProperties

Bootstrap4XPages

POI4XPages Workflow 4 XPages

ExtLib X

Social Business ToolkitExtLib Bazar

OpenNTF Domino APIOpenNTF Logger

RUNTIME

XPages Toolkit

● @nnotation based programming● Several UI Elements● Agent like behaivor

● DEMO of @nnotaion based programming

OpenNTF Domino API

● End of manual memory management● Graceful exception handling● Real Java iteration● Auto-type coercion● OpenLog integration● Helpers, helpers, helpers!● Demo!

OpenNTF Essentials

The Toolbox

Mark Leusink

OpenNTF Essentials deep dive 12 December 2013

Who’s that?

Freelance consultant/ developer IBM Notes/ Domino

XPages, web, Java, client, mobile

OpenNTF Board member & contributor Auto Logins XPage Multiple File Uploader XPage Debug Toolbar

IBM Champion Bootstrap4XPages.com

Toolbox – contents (1/2)

• XPages Eclipse Debug Plugin • Test & debug (OSGi) plugins

• XSP Starter Kit • Starter template/ sample code for plugin development

• Source control • eGit plugin for Designer • Subversion plugin for Designer

Toolbox – contents (2/2)

• Log file reader • Browser based viewing of server’s log files

• XPages Toolbox • CPU & memory profiling, create heapdumps

• XPage Debug Toolbar • Scope contents, in-page logging, API Inspector

Log file reader

• Looks familiar? • So what if you don’t have access to the

server?

Log file reader

• Database you have to install on your server • Allows easy access to server based log files

• And configuration files

DEMO

XPages Toolbox

• CPU & memory profiling • View memory status • Create heapdumps

• And then use (i.e.) Eclipse MAT to view your memory

• Change logging levels • View threads

• Review the installation guide

DEMO

XPages Toolbox – more info

• XPages Masterclass Video (no 3) https://www.youtube.com/watch?v=R4AzMhrUIfc

• Where did my memory go? – part 1 & 2 http://lazynotesguy.net/blog/2013/08/30/wheres-my-memory-gone-peeking-inside-jvms-heap-part-1-installation/

XPage Debug Toolbar

• Log debug messages • View contents of scopes • Log file reader • API Inspector

Debug Toolbar - Logging

Alternative to print() or _dump() functions No server console access needed Your messages only Makes your admin happy

Add messages using: dBar.debug( “message” ); dBar.info( “message”); dBar.warn( “message” ); dBar.error( “message” ); dBar.dump( <object> );

Debug Toolbar - Logging

Specify a context: dBar.info( “message”, “context” );

dBar.error() function accepts ‘error’ objects:

try { var doc:NotesDocument = null; var id = doc.getUniversalID(); } catch (e) { dBar.error(e); }

That’s all folks!

Q & A

Questions????

9

Use the Q&A pane in WebEx to ask questions We will answer your questions verbally

Question and Answer Time!

10

Teamstudio Questions? contactus@teamstudio.com 877-228-6178

TLCC Questions?

howardg@tlcc.com paul@tlcc.com 888-241-8522 or 561-953-0095

Howard Greenberg

Courtney Carter

Upcoming Events:

TLCC End of Year Sale

Teamstudio webinar on Dec 17th - Tips to Build a Rock Solid Enterprise Mobile

IBM Connect 2014 Registration is open, Register by Friday to save

#XPages

@TLCCLtd

@Teamstudio

@PaulDN

Paul Della-Nebbia

Christian Guedemann

Nathan Freeman

Mark Leusink