191 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
DomiNodeJS: Node.js on Domino
Fri, Aug 26th 2016 16
Aus aktuellem Anlass: Quo vadis, Domino?
Thu, Aug 25th 2016 10
Java NAPI: Enable / Disable Recycling of C Handles
Wed, Jul 6th 2016 8
XPages & Domino JNA
Fri, Jun 24th 2016 10
Vaadin In XPages: A UIComponent for embedding Vaadin applications
Tue, May 3rd 2016 14
EntwicklerCamp 2016: XPages erweitern und ausbauen
Fri, Apr 15th 2016 7
EntwicklerCamp 2016: Ein Leben ohne Notes Client
Thu, Apr 14th 2016 6
Top 10
DomiNodeJS: Node.js on Domino
Fri, Aug 26th 2016 16
Vaadin In XPages: A UIComponent for embedding Vaadin applications
Tue, May 3rd 2016 14
HowTo: Vaadin on Domino
Sat, Jan 24th 2015 10
XPages & Domino JNA
Fri, Jun 24th 2016 10
Aus aktuellem Anlass: Quo vadis, Domino?
Thu, Aug 25th 2016 10
HowTo: Vaadin on Domino (2)
Sat, Jan 24th 2015 8
Testing XPages (2): BrowserMob Proxy
Thu, Sep 17th 2015 8
Java NAPI: Enable / Disable Recycling of C Handles
Wed, Jul 6th 2016 8
XPages: WebContent Files (1) – Create a file using the Java NAPI
Tue, Nov 18th 2014 7
REST & Security: CSRF Attacks
Tue, Dec 30th 2014 7


Sven Hasselbach
Blog Title blog@hasselba.ch
Blog URL http://blog.hasselba.ch
RSS Feed http://hasselba.ch/blog/?feed=rss2
Validate Feed feedvalidator.org or validator.w3.org
Feed Last Checked Aug 26, 2016 7:26:26 AM EST. Realtime Update:
Location Wiesbaden, Hessen, Germany


Recent Blog Posts
16
DomiNodeJS: Node.js on Domino
Fri, Aug 26th 2016 7:26a   Sven Hasselbach
A while ago I started a new project which allows a seamless integration of Node.js into the Domino server. The project is hosted on GitHub: https://github.com/hasselbach/dominodejs The Node.js server is running as a DOTS task, and under the hood the J2V8 project is used for the V8 integration. Currently, the project is a pre alpha, and it it is more for fun than for profit. There are a lot of open questions about the architecture, but it shows what cool things can be done with Domino.
10
Aus aktuellem Anlass: Quo vadis, Domino?
Thu, Aug 25th 2016 12:35p   Sven Hasselbach
Schon mal darüber nachgedacht, was nach 2021 kommt? Migrationen dauern lange, sind niemals vollständig, und irgend ein wichtiges Detail wird übersehen. Und in der Zwischenzeit? Gerne biete ich meine Unterstützung an: Bei der Suche nach Alternativen für IBM Notes / Domino, bei Strategien für den Übergang, oder bei der Kopplung an neue Systeme. Einfach mal Kontakt aufnehmen. Gern auch per Mail: contact hasselba.ch
8
Java NAPI: Enable / Disable Recycling of C Handles
Wed, Jul 6th 2016 9:09a   Sven Hasselbach
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.
10
XPages & Domino JNA
Fri, Jun 24th 2016 5:57a   Sven Hasselbach
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 to the java.pol file on your server: grant { permission java.util.PropertyPermission "jnidispatch.path", "write"; permission java.util.PropertyPermission "jna.loaded", "write"; } Additionally, you have to import the following JARS from „
14
Vaadin In XPages: A UIComponent for embedding Vaadin applications
Tue, May 3rd 2016 7:19a   Sven Hasselbach
I have created an UIComponent to embed Vaadin applications into XPages. It allows to run both technologies on the same site by adding it to your XPage:                                     XPage                                                                                                             This little example shows the XPage above including the the Adressbook applica
7
EntwicklerCamp 2016: XPages erweitern und ausbauen
Fri, Apr 15th 2016 7:42a   Sven Hasselbach
Die PDF Version meiner Entwickler Camp 2016 Session „XPages erweitern und ausbauen“ gibt es hier: ec2016-Votrag-XPagesErweiternUndAusbauen.pdf Die verwendeten Sources finden sich in diesem Repository auf GitHub: ec2016-xpages-erweitern Bei Fragen/Problemen einfach eine kurze Info an mich.
6
EntwicklerCamp 2016: Ein Leben ohne Notes Client
Thu, Apr 14th 2016 11:31a   Sven Hasselbach
Hier gibt es die PowerPoint Präsentation von meiner Entwickler Camp 2016 Session „Ein Leben ohne Notes Client“: ec2016-Votrag-LebenOhneNotesClient.pptx Die kompletten Sources finden sich in diesem Repository auf GitHub: ec2016-ein-leben-ohne-notesclient Bei Fragen/Problemen einfach eine kurze Info an mich.
5
Kurze Werbeunterbrechung
Tue, Mar 8th 2016 1:00p   Sven Hasselbach
Probleme bei der XPages-Entwicklung? Schulung gefällig? Fehlt die eine oder andere Komponente? Oder wird ein neuer Renderer benötigt, der zur Abwechslung mal den HTML Code generiert, den man gerne hätte? Ich biete gerne meine Unterstützung an. Einfach mal Kontakt aufnehmen. Gern auch per Mail: contact hasselba.ch
5
How To Crash a Domino Server
Sun, Feb 21st 2016 4:23a   Sven Hasselbach
How To Crash a Domino Server 1. Create a Java agent and do something in your finally routine (or in a ThreadDeath exception handling) which runs longer than 500ms import lotus.domino.AgentBase; public class JavaAgent extends AgentBase {     public void NotesMain() {         try {             int i = 0;             while (i < 1000) {                 i++;                 System.out.println("Round " + i);               
5
Vaadin IBM Challenge
Mon, Dec 14th 2015 3:40a   Sven Hasselbach
Since two weeks the Vaadin IBM challenge is over. While I was only able to do the bare minimum, I really enjoyed the different tasks (see here for list of steps). Congrats to the winners! And thanks to the Vaading Team & IBM for this exciting experience.
6
Things I never blogged about: XPages & Google’s EventBus
Tue, Dec 1st 2015 8:36a   Sven Hasselbach
This is another topic I wanted to blog about for a long time: The use of Google’s EventBus in XPages applications. EventBus is a replacement for the Java in-process event distribution. It makes life a lot easier. My first plan was to add the guava.jar into an OSGi plugin because of security reasons (otherwise you have to use the „grant{ permission java.security.AllPermission;}„) but I never had the time. That’s why I created a simple example which uses the jar in the lib/
3
Things I never blogged about: The XPagesExecutor Service
Sun, Nov 29th 2015 9:55a   Sven Hasselbach
The XPages engine has its own executor service to run jobs concurrently in another thread: the XPagesExecutor service. Under the hood, the service uses a ThreadPoolExecutor for executing tasks, so it allows to use Runnables or Callables/Futures for asynchronous computation. For fun, you can even run a server instance, the started threads can run as long as you want (e.g. they are not bound to the XPages lifecycle). Here is a small XPage with a button to start a Runnable via the Executor:  
3
[Discontunued] Testing XPages(3): Testing the Business Logic
Sat, Nov 28th 2015 7:47a   Sven Hasselbach
I will not develop my planned XPages Testing Framework further because for me it has no business case anymore. While there never was enough time to make it to a „real project“ for the daily development (full JUnit integration, deployed as an OSGi plugin etc) and this code is only an example, I used this technique with another code base in some projects. It was a big help during development, because it allows to „look inside“ the XPages engine while testing. How does it wo
7
Debug Retrofit REST applications
Fri, Nov 27th 2015 3:34p   Sven Hasselbach
Today I had some problems with designing a Retrofit REST application, so I needed a way to debug the request and the response from the server. After poking around, I found the HttpLoggingInterceptor from OkHttp.  It provides all the functionality I need and is really easy to implement. First you have create a OkHttpClient instance, add the interceptor and set the debug level to HttpLoggingInterceptor.Level.BODY: OkHttpClient client = new OkHttpClient(); HttpLoggingInterceptor interceptor = new




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition