Archiv der Kategorie: Server

Dropping Domino’s HTTP task (3): WebSSO Integration (Part 1)

To integrate the new HTTP stack into the existing environment, we can use LTPA tokens. These tokens are cookies which store the authentication information and allow to share them betweeen different participating Domino servers. A users must log on only … Weiterlesen

Veröffentlicht unter Java, Server, Web | Verschlagwortet mit , , , | Schreib einen Kommentar

Dropping Domino’s HTTP task (2): Running in User Context

To use the approach as an alternative to Domino’s HTTP task, we need support for the different user contexts, because using NotesFactory.createSession() just creates a session for the current Notes ID used. This goal can be achived by using the … Weiterlesen

Veröffentlicht unter Java, Server, Web | Verschlagwortet mit , , , | 5 Kommentare

Dropping Domino’s HTTP task

Instead of waiting for updates of the Domino HTTP task any longer I was thinking about how to use modern HTTP technologies on top of Domino. But instead of implementing it in the Domino stack, I think I found a … Weiterlesen

Veröffentlicht unter Java, Server, Web | Verschlagwortet mit , , , , , | 8 Kommentare

HCL, Domino & node.js

I am very happy to hear that HCL invests in Domino and improves the existing technology stack. But as a German, I have to be sceptical (it’s in our genes), because I can not see any advantage in the integration … Weiterlesen

Veröffentlicht unter ExtLib, Java Script, REST, Server, Spring, XPages | Verschlagwortet mit , , , | 4 Kommentare

Domino & Spring Boot: How does it work

The example Spring Boot Plugin I have published two days ago is a full working example to run Spring Boot applications directly in the Domino HTTP task. It is designed as an OSGi plugin and runs inside the servlet container, … Weiterlesen

Veröffentlicht unter Java, OSGi, Server, Spring, Web | Verschlagwortet mit , , | 3 Kommentare

Domino & Spring Boot: ScheduledTasks

When developing Spring Boot applications running on Domino, there is a feature which runs out of the box and makes developers happy: ScheduledTasks. These are the equivalent for agents, but they are running directly in the HTTP task (which allows … Weiterlesen

Veröffentlicht unter Agenten, Java, Server, Spring, Web | Verschlagwortet mit , , , , , | 4 Kommentare

The anatomy of a LTPA token

LTPA Token LTPA token are widely used in the IBM world for authentication between different physical machines, also known as WebSSO. There are two three types available, LTPA1, LTPA2 and a Domino format. LTPA1 and LTPA2 are commonly used with … Weiterlesen

Veröffentlicht unter Security, Server | Verschlagwortet mit , , , | 1 Kommentar

Domino & REST: Listeners for Initialization & Destroying of a Servlet

If you need to know when your Servlet is initialized or destroyed, you can use a ServletContextListener in your application. First, create the class AppServletContextListener and implement the javax.servlet.ServletContextListener interface. This provides two methods for capturing the events: contextInitialized and … Weiterlesen

Veröffentlicht unter Java, JEE, REST, Server | Verschlagwortet mit , , , , , | 2 Kommentare

XPages & Domino JNA

Karsten Lehmann has published a very promising project named „Domino JNA„, which allows access to the underlying IBM Domino/Notes C API from Java. If you want to use the project in a XPages, you have to add some Java permissions … Weiterlesen

Veröffentlicht unter Java, Security, Server, XPages | 1 Kommentar

How To Crash a Domino Server in 500ms

How To Crash a Domino Server in 500ms 1. Create a Java agent and do something in your finally block (or in a ThreadDeath exception handling) which runs longer than 500ms import lotus.domino.AgentBase; public class JavaAgent extends AgentBase {    … Weiterlesen

Veröffentlicht unter Agenten, Bug, Java, Server | Verschlagwortet mit , , , | 2 Kommentare