Implement JRuby methods in Java

19 Januar 2015

My last post has shown how to create pure Ruby classes in Java. This post goes deeper into how to implement Ruby methods in Java including methods with optional parameters, implementing object initializers and invoking Ruby methods including a super implementation written in Ruby. The practical example followed in this post is implementing a custom appender for the Semantic Logger Ruby framework. Finally the rules for implementing Ruby methods in Java are summarized.

Create JRuby classes and methods at runtime

30 Dezember 2014

JRuby brings Ruby to the Java platform. It does a great job at seamless integration between Ruby and Java code by directly mapping Ruby to Java and back again. Nevertheless there may be cases where a more customized behavior is desired. This post presents some ways for a deeper integration.

Thread pool configuration for inbound resource adapters on TomEE

05 Oktober 2014

Developing resource adapters is surely one of the least known parts of the JavaEE platform. Besides developing the component additional knowledge is required for operating the component. Whereas for servlets most of the customization work for an operating environment is done by configuring the WebContainer thread pool size and the resource pool sizes, this is slightly more complex for resource adapters. This article presents a demo application that allows to play around the properties that have to be taken care of.

Testing outbound resource adapters with Arquillian on an embedded TomEE

14 April 2014

This post shows how to test custom resource adapters with own implementations for the connection factory, managed connection factory etc using Arquillian on TomEE embedded.

Inbound resource adapters and Java EE 7 style empty interface MDBs on TomEE & Wildfly

05 April 2014

Java EE 7 brings some not so obvious additions. One of them is in particular interesting for resource adapter developers. This posting shows what this is about, how to run it on Wildfly and on TomEE, and how to test it.

Older posts are available in the archive.