Schlagwort-Archive: Java

Quick-n-Dirty: Hotfix for DateTimeHelper

This weekend I stumbled over a bug of the DateTimeHelper: If the value of the field is empty, no actions and/or action listeners connected with a managed bean will be executed anymore. Here is an example of a small XPage … Weiterlesen

Veröffentlicht unter Java, JSF, XPages | Verschlagwortet mit , , , , , | 1 Kommentar

High Performance REST Applications (4) – Looking into OSGi

Before going any deeper into the the servlet project, let’s have a look at the imported projects and talk about some OSGi basics. First you will notice that for every cloned repository three Eclipse projects have been imported: A plugin … Weiterlesen

Veröffentlicht unter Apache Wink, Java, JEE, OSGi, REST, Server, Web | Verschlagwortet mit , , , , , , | 2 Kommentare

High Performance REST Applications (2) – Dev Environment

Before you can start developing a Servlet as an OSGi Plugins, you must set up a development environment first. To do this, download Eclipse IDE (Eclipse IDE for Java EE Developers) and XPages SDK from OpenNTF (The XPages SDK is … Weiterlesen

Veröffentlicht unter Java, JEE, Performance, REST, Web | Verschlagwortet mit , , , , , , | 1 Kommentar

High Performance REST Applications (1) – Intro

This is a new serie about developing high performance REST applications on top of Domino. It will contain my presentations from SNoUG and EntwicklerCamp this year and describes all required steps to develop, build and deploy these servlets on a … Weiterlesen

Veröffentlicht unter Java, JEE, Performance, REST | Verschlagwortet mit , , , , , , | 1 Kommentar

Domino & Java 1.8: Thank you, IBM!

For years it was a lot of pain when developing for the Domino platform using Java 1.6 only. But now, Java 1.8 is available, and this allows to use the latest versions for a lot of libraries and development tools. … Weiterlesen

Veröffentlicht unter Java | Verschlagwortet mit , , , , | Hinterlasse einen Kommentar

Domino & REST: Debug your Plugin

When developing OSGi Plugins, you should have your own development server running on your local machine. Not only because of the faster deployment of changes (a new version of a plugin must always deployed with a HTTP restart), but because … Weiterlesen

Veröffentlicht unter Jackson, Java, JEE, OSGi, REST | Verschlagwortet mit , , , , , , | Hinterlasse einen Kommentar

Domino & REST: Accessing Domino’s Environment / Check Authentication

If we want to access Domino’s Environment, it is the ContextInfo class which gives us all we need. Everything you need to do to use the class is described in an earlier blog post. The class gives mainly access to the … Weiterlesen

Veröffentlicht unter Apache Wink, Jackson, Java, JEE, REST | Verschlagwortet mit , , , , , , , | 2 Kommentare

Domino & REST: A basic Servlet

To have a good starting point when creating RESTful applications on top of Domino, I have created a „Hello World“ example of a JEE Application, based on Apache Wink & Jackson 2.5.0. The Jackson AnnotaionProcessor is registered into Apache Wink … Weiterlesen

Veröffentlicht unter Jackson, Java, JEE, REST, Web | Verschlagwortet mit , , , , , | 1 Kommentar

Jackson: Skip Objects conditionally

I had a simple problem when implementing this brilliant solution in one of my REST applications: As soon I was using @JsonAnyGetter / @JsonAnySetter and the HidableSerializer together, a NPE was thrown during serialization. The Problem occured in Jackson 1.9.13 … Weiterlesen

Veröffentlicht unter Jackson, REST | Verschlagwortet mit , , , , | Hinterlasse einen Kommentar

Java NAPI: Enable / Disable Recycling of C Handles

Initialize Java NAPI com.ibm.domino.napi.c.C.initLibrary( „“ ); Disable Recycling com.ibm.domino.napi.c.BackendBridge.setNoRecycle( session, session, true ); Enable Recycling com.ibm.domino.napi.c.BackendBridge.setNoRecycle( session, session, false ); To use these methods in an agent, you have to import some Jars first.

Veröffentlicht unter Java | Verschlagwortet mit | Hinterlasse einen Kommentar