358 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
XPages Extension Library Stocking Filler
Fri, Dec 19th 2014 210
XPages Goes Responsive
Fri, Dec 5th 2014 319
Latest Release of Extension Library Brings Bootstrap, jQuery, Responsive Design and More
Thu, Nov 20th 2014 330
OpenNTF at November User Groups
Thu, Nov 13th 2014 215
Cast, Counted and Audited - Here are the results of the OpenNTF Board Election!
Thu, Oct 2nd 2014 202
OpenNTF Election will end October 1.
Fri, Sep 26th 2014 111
The OpenNTF Vote is next week!
Tue, Sep 16th 2014 104
Top 10
IBM Connect 2014 - BP207 - Don’t Reinvent the Wheel - (Re)use Open Source Software From OpenNTF
Tue, Feb 4th 2014 354
Latest Release of Extension Library Brings Bootstrap, jQuery, Responsive Design and More
Thu, Nov 20th 2014 330
XPages Goes Responsive
Fri, Dec 5th 2014 319
OpenNTF at November User Groups
Thu, Nov 13th 2014 215
XPages Extension Library Stocking Filler
Fri, Dec 19th 2014 210
Cast, Counted and Audited - Here are the results of the OpenNTF Board Election!
Thu, Oct 2nd 2014 202
On OpenNTF: PC Config - easy inventarisation of hard- & software
Wed, Jul 2nd 2014 144
XPages RDBMS Support - Recent Improvements
Thu, Aug 21st 2014 142
OpenNTF Board Elections
Thu, Aug 28th 2014 142
Latest Release of XPages Extension Library Improves RDB Support
Tue, Jul 1st 2014 137


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
67 hits



Recent Blog Posts
210


XPages Extension Library Stocking Filler
Fri, Dec 19th 2014 9:11a   Padraic Edwards
Hopefully the eleventh XPages Extension Library release for Notes/Domino 9.0.1 will serve as a nice stocking filler for you all as 2014 draws to close. It's been a great year for XPages on OpenNTF with a total of nine releases delivering lots of new features and fixes. This new release is notable for two things in particular. First, it contains a bunch of fixes and improvements relating to the Bootstrap-based responsive design offering that shipped in the previous release (901v00_10.201 [read] Keywords: domino notes xpages community openntf
319


XPages Goes Responsive
Fri, Dec 5th 2014 10:11a   Padraic Edwards
As was recently announced, Bootstrap is now part of the OpenNTF XPages Extension Library, added in release 10. The ExtLib includes a new plugin that contains Bootstrap 3.2.0, providing new renderers for the XPage core controls, the ExtLib controls, and two new Bootstrap themes. An added benefit of supporting Bootstrap is that the ExtLib now includes jQuery 2.1.1, giving XPages developers the power to use jQuery in their apps as well. As most XPages developers know, Responsive Web Des [read] Keywords: ibm xpages applications blogging desktop development openntf
330


Latest Release of Extension Library Brings Bootstrap, jQuery, Responsive Design and More
Thu, Nov 20th 2014 4:11p   Paul Withers
For the XPages community, this week has seen some significant announcements and releases on OpenNTF. Indeed, I don't think it's hyperbole to say this is the most significant addition of functionality since the Extensibility API and the Extension Library itself. Covering everything was a webinar yesterday reviewing progress on the Extension Library this year. If you missed it, the webinar is available on replay. The Extension Library was at the core of the announcements. The latest [read] Keywords: domino ibm notes xpages application bug community database development eclipse integration java openntf xml
215


OpenNTF at November User Groups
Thu, Nov 13th 2014 5:16p   Paul Withers
Next week two board members, Christian Guedemann and Nathan T Freeman, will be representing OpenNTF at DanNotes. On Wednesday 14:30 Christian and Nathan will be presenting a session together entitled "OpenNTF and open source for developers", detailing plans for OpenNTF over the year to come. On Thursday, there are three more sessions by Nathan or Christian: 09:30 OpenNTF, Graphs, and Revolutions by Nathan T Freeman Problem: Your Domino domain has thousands of isolated dat [read] Keywords: domino notes xpages application community database development enterprise openntf profile
202


Cast, Counted and Audited - Here are the results of the OpenNTF Board Election!
Thu, Oct 2nd 2014 2:06a   Peter Tanner
The votes have been cast, counted and audited, and OpenNTF has a renewed slate of Directors, five of whom are joining the Board for the first time. Member Directors: Serdar Basegmez - Developi Information Systems Jesse Gallagher – I Know Some Guys Christian Guedemann - WebGate Justin Hill – Prominic Martin Rolph - Oval Contributor Directors: Oliver [read] Keywords: openntf
111


OpenNTF Election will end October 1.
Fri, Sep 26th 2014 7:12a   Peter Tanner
Ballots have now been sent to representatives of each OpenNTF Member and to all OpenNTF Contributors. If you didn't receive a ballot, please contact the ip-mamanger at openntf.org. Votes are due by October 1. [read] Keywords: openntf




104


The OpenNTF Vote is next week!
Tue, Sep 16th 2014 3:14p   Peter Tanner
Ten people involved in OpenNTF's software development activities have decided to run for the eight Director positions. Six are running for the five posiitons reserved for employees of Member companies, and four are running for positions reserved for OpenNTF Contributors. The vote will be held next week. All people eligible to vote should have received an email with candidates statements. If you haven't, please contact ip-manager at openntf dot org Member Candidates' State [read] Keywords: admin collaboration domino ibm lotus notes xpages community development email openntf twitter
142


OpenNTF Board Elections
Thu, Aug 28th 2014 1:12p   Peter Tanner
Nominations are now open for the OpenNTF Board Elections. Several Board members will not be standing for re-election – so there is certainly room for new blood. There are five board positions open for Member Directors (those representing OpenNTF's member companies) and three board positions open for Contributor Directors. Member Directors are elected for two years and Contributor Directors for one year. So, if you work for an OpenNTF Member company or if you are an [read] Keywords: openntf
142


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
130


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




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