|Latest 7 Posts
| Websphere Liberty Profile and external authentication redirect|
Wed, Dec 21st 2016 0
| My slides of my Cloudant introduction session at Meet IT|
Fri, Dec 16th 2016 2
| I am an IBM Champion, again|
Thu, Dec 15th 2016 1
| My abstract has been accepted for IBM InterConnect 2017|
Wed, Dec 14th 2016 1
| Special page for my open source projects|
Mon, Dec 12th 2016 1
| My evolution as a developer: becoming a Full stack developer|
Thu, Dec 8th 2016 2
| My slides of my Cloudant session at Sutol 2016|
Fri, Nov 11th 2016 2
| Primefaces upload control and ClickJacking filter on IE8|
Wed, Mar 11th 2015 7
| Cloudant connector plugin update: manage Design documents|
Thu, Oct 13th 2016 7
| XPages tip: My take on a bootstrap pager|
Thu, Dec 17th 2015 5
| XPages Quick tip: Move Java files for a better Source Control experiences|
Fri, Sep 23rd 2016 5
| My steps in the JSF 2.0 world|
Fri, Oct 24th 2014 4
| Quick XPages tip: add Fullcalendar plugin to your application|
Thu, Aug 27th 2015 4
| HR Assistant now as project at OpenNTF|
Mon, Oct 24th 2016 4
| Quick XPages tip: Show validation status icon on bootstrap tabs|
Thu, Jul 9th 2015 3
| XPages quicktip: use the Calendar build in Months|
Thu, Nov 26th 2015 3
| Nice workaround to JSF 1.x EL limitation|
Mon, Mar 14th 2016 3
||Jackson JSON mapper plugin for XPages
Frank van der Linden
To work in Java with JSON there are several libraries, like GSON, JSON-simple and even the IBM version. They are very easy to use.
In my recent J2EE projects their was always a need of consuming JSON and returning JSON. The library we used their was Jackson JSON library.
It was a refreshing way to work with JSON without building or consuming it line by line. Jackson is mapping JSON directly to POJO. So with one line of code the JSON is transformed to a real Java Object and can be used all over your project.
private ObjectMapper mapper = new ObjectMapper();
The other way around it also very easy, write your POJO directly to the output writer, like a File or mostly the response of a servlet, which we used in our projects.
Where message is a POJO, and data is JSON as String
Inside a NSF
I was thinking to make it available to a XAgent. First I included the 3 libraries the lib directory under WEB-CONTENT inside my NSF and add them to the build path.
Immediately I a was able to use the code in my Java class. So it worked, but…. if I want to use it in another NSF I need to perform the above steps.
There started the idea to put everything in an OSGi plugin, so all the NSF’s on the Domino server can benefit from it.
I put everything in a plugin project, thanks to the great blog of John Dalsgaard,
Created a feature and update site and put everything on a Bitbucket repository, so everyone can use it.
To get everything working you need to add a custom java policy file in side the <domino directory>jvm/lib/security. You can use the java.pol file who is inside the repository. The benefit of using java.pol is that after an upgrade or what ever, the java.pol file is not affected.
Have fun with it…
The post Jackson JSON mapper plugin for XPages appeared first on elstar IT.
Feb 13, 2015
| Recent Blog Posts
Websphere Liberty Profile and external authentication redirect|
Wed, Dec 21st 2016 7:18p Frank van der Linden
At one of my customers I was busy with the upgrade their virtual development environment.
Currently we run Websphere Application Sever 8 inside Rational Application Developer on a not so fat virtual development environment. Which cause lots of waiting for the developer to deploy changes of the portal to the local WAS server.
We tried JRebel, but in combination with RAD I can say it is not happy couple. It caused have memory use and after a certain period a not response environment
My slides of my Cloudant introduction session at Meet IT|
Fri, Dec 16th 2016 1:15p Frank van der Linden
Last Wednesday Meet IT conference was held at IBM Client Center in Milan. I did a session about Cloudant and how you can use it inside an XPages application.
My session was in the Auditorium, a big room like a theater with good chairs, very good audio and screens. Was nice to it such big room.
A (XPages) developers guide to Cloudant – MeetIT from Frank van der Linden
A big thanks to Giuseppe Grasso, Daniele Grillo and Stefano Benassi for organising it. All well deserved IBM Champion
I am an IBM Champion, again|
Thu, Dec 15th 2016 6:43a Frank van der Linden
Yesterday at MeetIT conference in Milan, Amanda Bauman, has announced the IBM Champions for ICS.
I am among the 123 IBM Champions in 2017, and that makes me very happy.
It is the third time after 2013 and 2014, but the first time as an Freelancer.
Thanks to all how nominated me.
Let see what 2017 will bring as an IBM Champion. One great event is already known, speaking at IBM InterConnect.
A special attention for 2 new Dutch IBM Champions, Ronald Dekkers from Acuity and Remco Angioni, my fo
My abstract has been accepted for IBM InterConnect 2017|
Wed, Dec 14th 2016 10:13a Frank van der Linden
Yesterday I received an email from the IBM InterConnect 2017 team with the message that my abstract has been accepted.
Wow, was stunned, and happy and a little bit ‘scared’……..
When the news is setting in, I was thinking of the next steps.
I already made the registration, next housing and flights. And of course preparing my slide deck
My session will be about our HR Assistant application we build for the ICS Development Competition, with a deep dive in the code and lesson
Special page for my open source projects|
Mon, Dec 12th 2016 9:05p Frank van der Linden
Tonight I thought it would be a good idea to create a special page at my side with links of all my open source projects.
You can find them here or at the bottom of my homepage.
by The post Special page for my open source projects appeared first on elstar IT.
My evolution as a developer: becoming a Full stack developer|
Thu, Dec 8th 2016 8:18p Frank van der Linden
Is the time of the year to have some time to reflect.
Entering the IT
Around 2000 I entered the IT world, first as a Domino Administrator, but after a good talk with a former colleague I made the switch to become a Developer.
So I became Domino Developer and learned Formula language and later Lotusscript. Did some certifications.
When the browser became more important I moved more and more to web development and did some great projects, for example I build the public website of a big insurance
My slides of my Cloudant session at Sutol 2016|
Fri, Nov 11th 2016 11:52a Frank van der Linden
Today I did a session at Sutol conference in Prague.
It was about how to get started with Cloudant as an XPages developer.
A (XPages) developers guide to Cloudant from Frank van der Linden
In my session I mentioned my Cloudant OSGi plugin, which can be find at https://bitbucket.org/flinden68/cloudant-connector/
by The post My slides of my Cloudant session at Sutol 2016 appeared first on elstar IT.
HR Assistant now as project at OpenNTF|
Mon, Oct 24th 2016 1:53p Frank van der Linden
Today I have added our winning application, HR Assistant, as project at OpenNTF.
I have added the source code in a zip as the release, but I encourage you to go to the Github repository directly.
Included a notice and license file, which is required for every project on OpenNTF.
And last but not least, there are screenshots and….. documentation
Have fun with it. And a demo is in the making.
by The post HR Assistant now as project at OpenNTF appeared first on elstar IT.
Cloudant connector plugin update: manage Design documents|
Thu, Oct 13th 2016 2:31p Frank van der Linden
Yesterday I was helping out Patrick Kwinten with some he had with my Cloudant Connector plugin on Slack. He asked also about the possibility to add or modify Design Documents, I found there foundation was already there.
Design documents can be seen as the schema in your Cloudant database, which specify what is in the view and how the ftSearch index is build.
Below is an example of a Design Document. As everything in Cloudant the syntax is JSON.
I will be speaking at Sutol 2016 in Prague|
Wed, Oct 12th 2016 12:26p Frank van der Linden
Yesterday I received an email that my session has been accepted for the upcoming Sutol Conference in Prague.
It is the first time I will be at SUTOL, so I am looking forward to it. I heard some very good things about this conference.
Hope to see you in Prague next month, may be we can go for a short run through the city. ( The best way, in my opinion, to explore a city ;-))
by The post I will be speaking at Sutol 2016 in Prague appeared first on elstar IT.