Archiv der Kategorie: OSGi

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 , , | Hinterlasse einen Kommentar

Domino & Spring Boot: An example project

I have uploaded an example for running Spring Boot applications on top of Domino. You can find it here: https://github.com/hasselbach/domino-springboot This solution is running for years in productive environments. Hopefully I will find some time to explain how it works.

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

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 (3) – Importing the Starter Project

Now you can import the projects required from Git. First, go to „File > Import…“ Then select „Projects from Git“ and „Clone URI“ to clone an existing repository: To get the URI, you have to open https://github.com/hasselbach/ and select the … Weiterlesen

Veröffentlicht unter Java, JEE, OSGi, Performance, REST, Server, Web | Verschlagwortet mit , , , , | 4 Kommentare

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

XPages: A ClientSide State

I have created a ClientSide State for XPages, which allows horizontal scaling of XPages applications with a single click. After installing the OSGi Plugin on the servers and the DDE, you can activate it with a single click: Then, the … Weiterlesen

Veröffentlicht unter OSGi, Server, XPages | Verschlagwortet mit , , , | 5 Kommentare

HowTo: Vaadin on Domino (4)

Now, let’s access some Domino resources. I have created a database named „VaadinResources.nsf„, containing a normal image resource, and an image added via package explorer to the „WEB-INF“ folder: Vaadin provides stream resources, which allows creating of dynamic resources. These … Weiterlesen

Veröffentlicht unter OSGi, Vaadin | Verschlagwortet mit , , | 2 Kommentare

HowTo: Vaadin on Domino (3)

Let’s create another application, based on Vaadin’s AddressBook example. You can download the source code directly or grab the code from the repository; it is a single class file named „AddressbookUI“ only. After importing (or manually creating) the class in … Weiterlesen

Veröffentlicht unter OSGi, Vaadin | Verschlagwortet mit , , | 2 Kommentare

HowTo: Vaadin on Domino (2)

When running your own servlet, you eventually want to access the Domino environment. To do this, some changes has to be made to the HelloVaadin plug-in. 1. Open the „MANFIFEST.MF“ and open the „Dependencies“ tab 2. Add the plug-in „com.ibm.osgi.domino.core“ … Weiterlesen

Veröffentlicht unter OSGi, Vaadin | Verschlagwortet mit , , | Hinterlasse einen Kommentar

HowTo: Vaadin on Domino

This example requires a valid XPages Plugin Development Environment. The execution environment used is the XPages Domino JRE. 1. Create a new plug-in project and select „Equinox“ as OSGi framework 2. Set the name of the activator class to „ch.hasselba.vaadin.Activator“ … Weiterlesen

Veröffentlicht unter OSGi, Vaadin | Verschlagwortet mit , , | 8 Kommentare