357 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
XPages RDBMS Support - Recent Improvements
Thu, Aug 21st 2014 145
On OpenNTF: xspless - a LESS CSS Builder for Domino Designer
Thu, Jul 3rd 2014 274
On OpenNTF: PC Config - easy inventarisation of hard- & software
Wed, Jul 2nd 2014 261
Latest Release of XPages Extension Library Improves RDB Support
Tue, Jul 1st 2014 318
On OpenNTF: ID Vault Scanner for a Hybrid Company using IBM SmartCloud Notes
Mon, Jun 30th 2014 230
On OpenNTF: WCM Sample Custom HTML Editor with CodeMirror
Fri, Jun 27th 2014 226
On OpenNTF: RSS Sample for IBM Digital Data Connector in WebSphere Portal
Fri, Jun 6th 2014 232
Top 10
IBM Connect 2014 - BP207 - Don’t Reinvent the Wheel - (Re)use Open Source Software From OpenNTF
Tue, Feb 4th 2014 1236
New Release of the XPages Extension Library
Tue, Mar 4th 2014 508
Eight Community Members Elected to OpenNTF Board of Directors
Tue, Sep 3rd 2013 440
On OpenNTF: Automated Dead Mail Deletion App
Wed, Mar 5th 2014 418
New Functionality in the Single Page Application Wizard for XPages
Wed, Mar 12th 2014 395
Over 100 Days as OpenNTF Chairman - a short recap
Tue, Mar 25th 2014 390
Register Now for the OpenNTF Annual General Meeting
Mon, Apr 14th 2014 352
OpenNTF.org remembers Tim Tripcony #codefortim
Tue, May 20th 2014 349
Overview of the XPages Scaffolding Project on OpenNTF
Thu, Mar 20th 2014 346
On OpenNTF: Agendas for Meeting Rooms displayed in front of the Rooms
Tue, Apr 8th 2014 338


The best hidden and very powerful XPages 8.5.3 Feature
Niklas Heidloff    


I've created a new project which shows how to use a very powerful feature in IBM Domino 8.5.3. The project contains samples demonstrating how to create threads and Eclipse jobs from XPages to run longer taking operations asynchronously without blocking the XPages user interface or to run scheduled tasks.

Watch this video to see the sample in action (video has no tone).

An example is a task that checks on a scheduled basis for new messages in mailboxes, databases, social networks like Facebook and Twitter, etc. Server side code of an XPages application can then get the latest messages simply by reading the cached information from the task.

All samples in this project use a new feature in Domino 8.5.3. com.ibm.domino.xsp.module.nsf.SessionCloner can be used to clone a Domino session of the currently authenticated user. This allows developing threads that run on behalf of a specific user which can use the Domino Java APIs even after the user's HTTP session has expired. com.ibm.domino.xsp.module.nsf.ThreadSessionExecutor which leverages SessionCloner adds additional convenience functionality to set context like the current database, it handles session timeouts, etc.

The Eclipse jobs framework is a powerful framework used by Eclipse rich client developers. Eclipse jobs are essentially threads plus extra functionality like scheduling, progress monitoring, pooling etc. The XPages runtime supports these Eclipse jobs also server side since the necessary plugin comes with the XPages runtime similarly to the OSGi core framework.

In order to run the samples Domino 8.5.3 is needed. The extension library or upgrade pack 1 is only needed to check and display progress in an XPage via the xe:jsonRpcService control.

The Java code for threads and jobs can either be run in a NSF or as plugin. If run in a NSF the java.policy file needs to be changed to grant permissions. For plugins that is not necessary. Check out the project for more details.

These capabilities are advanced capabilities in addition to the 8.5.3 synchronization improvements as mentioned in Karsten Lehmann's blog:
From Phil Riand: "Synchronization no longer happens on the session itself, but on the page instance.  In short, it can now execute 2 different page instances at the same time, while it locks for postback calls to the same page instance and execute them sequentially."
From Karsten: "there will be a new database property called xsp.session.transient. This flag means that unique session objects will be created per request to the server and discarded right after the request ended. This is a first attempt to provide session less mode. If you use this option, then you can create one database with all the services and no synchronization will happen, as each request will have its own session object."




---------------------
http://www.openntf.org/blogs/openntf.nsf/d6plinks/NHEF-8SJB2R
Mar 19, 2012
68 hits



Recent Blog Posts
145


XPages RDBMS Support - Recent Improvements
Thu, Aug 21st 2014 6:11a   Niklas Heidloff
Below is a video from Brian Gleeson from the XPages team about improvements to the relational database support. "In recent releases of the XPages Extension Library, there have been a number of changes and additions to the feature that supports Relational Databases in XPages applications. To ensure that the XPages community is aware of these changes and their impact, the XPages development team has created the video below. The video is in two parts and each part covers the [read] Keywords: domino ibm xpages applications community database db2 development microsoft mysql openntf server sql
274


On OpenNTF: xspless - a LESS CSS Builder for Domino Designer
Thu, Jul 3rd 2014 6:12a   Mark Leusink
LESS (Leaner CSS) is a dynamic stylesheet language that allows you to use variables, nesting, functions (and more) in your CSS file. LESS files can be compiled into plain CSS file. xspless is the name of a new project that Jesse Gallagher created. It is a LESS CSS Builder for Domino Designer. From the documentation: "This is an Eclipse builder plugin for Designer. By installing this plugin, right-clicking on an application, and choosing "Add/Remove LESS CSS Nature", it allows Desi [read] Keywords: domino application css eclipse openntf
261


On OpenNTF: PC Config - easy inventarisation of hard- & software
Wed, Jul 2nd 2014 6:12a   Mark Leusink
Dominic Shields just released v0.23 of PC Config. This Notes client application can collect all types of information from the PC it runs on with a single click. It allows you to easily get an overview of the hard- and software in your organisation. Out of the box it shows you the collected information in various views (by OS, CPU, RAM, User, Drive space, etc.). It can also create (Excel) charts from the data it collected. Examples of the information it collects are: OS, CPU, [read] Keywords: ibm notes notes client application mac network openntf vm
318


Latest Release of XPages Extension Library Improves RDB Support
Tue, Jul 1st 2014 12:12a   Peter Janzen
The 7th 9.0.1 release of the XPages Extension Library is now available on OpenNTF. Besides providing a number of fixes for existing features, this release focuses on improving support for using Relational Databases as a data source. First and foremost, the Relational Database plugin has been moved out of ExtlibX and into the main Extlib branch. This now means that when you install v901_r07 of the Extension Library or subsequent releases, relational database support in XPages will be inst [read] Keywords: domino notes xpages database openntf
230


On OpenNTF: ID Vault Scanner for a Hybrid Company using IBM SmartCloud Notes
Mon, Jun 30th 2014 12:55a   Niklas Heidloff
Shankar Venkatachalam and J. Rajendran have published a new project on OpenNTF, called SCN ID Vault Scanner for a Hybrid Company. Below is their short description. Read the documentation to learn more. "The tool is programmed to compare the Company directory and the .csv file(IBM SCN Vault users list ) to identify, how many users doesn't have their ID file on the vault on a single document . The tool will also identify user's whose ID files are not in the synchronization state , [read] Keywords: domino ibm id vault lotus notes application database openntf password
226


On OpenNTF: WCM Sample Custom HTML Editor with CodeMirror
Fri, Jun 27th 2014 12:51a   Niklas Heidloff
Eric Morentin and Jonathan Booth have published a new project, called WCM Sample Custom HTML Editor with CodeMirror. "In IBM WebSphere Portal v8.5 a new extension point was exposed within the Web Content Manager (WCM) Authoring portlet to support replacing all HTML fields with a custom editor. The extension works in the same way as all other custom fields of WCM. The extension is documented with a sample here. CodeMirror is described on their web site as “a versatile [read] Keywords: ibm javascript openntf portlet server websphere websphere portal




232


On OpenNTF: RSS Sample for IBM Digital Data Connector in WebSphere Portal
Fri, Jun 6th 2014 12:22a   Niklas Heidloff
Thomas Steinheber and Jonathan Booth have published a new project, called RSS Sample for IBM Digital Data Connector in WebSphere Portal. See below for their description and check out the screenshots. "Starting with Version 8.0.0.1 CF11 IBM WebSphere Portal includes the Digital Data Connector framework. It introduces the pattern of using IBM Web Content Manager design components to render data from arbitrary sources such as Atom feeds and RSS feeds. This sample builds on top of t [read] Keywords: ibm community integration java openntf websphere websphere portal xml
255


On OpenNTF: Theme PAA for IBM WebSphere Portal
Wed, May 28th 2014 12:14a   Niklas Heidloff
Stephan Hesmer and Jonathan Booth have open sourced a new project, called Theme PAA for IBM WebSphere Portal which provides access to the Portal 8.5 Theme as a PAA (Portal Application Archive) deliverable. Below is their description. Stephan also blogged recently about the theme enhancements in 8.5. "This project provides access to the IBM WebSphere Portal 8.5 Theme as a PAA deliverable. The Theme PAA is a great tool to quickly get started with your own theme as well as a grea [read] Keywords: ibm ldd lotus application archive openntf websphere websphere portal
337


On OpenNTF: Change Tracking for IBM Domino Directory
Tue, May 20th 2014 11:34p   Niklas Heidloff
Shankar Venkatachalam has published a new project “Change Tracking for IBM Domino Directory”. "We have created an application called “Change Tracking for IBM Domino Directory”. As the name indicates, the application tracks the changes in person and group documents in the IBM Domino Directory. The application reports what has changed, who has made the change and when the change has happened. The application works for IBM Domino version 6 to 9 as well as i [read] Keywords: domino ibm notes application openntf
349


OpenNTF.org remembers Tim Tripcony #codefortim
Tue, May 20th 2014 2:11p   OpenNTF
The entire OpenNTF.org community was shocked last week to learn about the death of Tim Tripcony. Tim was a prolific contributor to OpenNTF.org, both with his own projects and his collaboration on the XPages Extension Library and the OpenNTF.org Domino API. Tim was a big supporter of open source and the IBM XPages community. His death touches every one of us personally. In an effort to remember Tim’s amazing contributions to our community, the OpenNTF.org board would like to inv [read] Keywords: collaboration domino ibm xpages community openntf




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition