Romain Pelisse

Sustain Developer

Romain Pelisse

Romain Pelisse's contributions

Article Thumbnail
Article

JCache and Infinispan - standardize your application's cache

Romain Pelisse

With the adoption growth of Infinispan, its community has been resurrecting works on the quite old, but stalled, JSR-107, aka JCache . The first step was obviously the released of the JSR 1.0 version, a few month back, and most recently in December with Infinispan 7.0.2.Final is a certified JSR-107 1.0 implementation . It's actually quite useful news, as it allows you to build webapps or even JEE apps using a standard API to access Infinispan. Using JCache API is...

Article Thumbnail
Article

Using RHQ (JON) to monitor Java apps

Romain Pelisse

While there is not yet a RHQ plugin for Glassfish, it is already possible to monitor an instance of Glassfish (GF), using the existing JMX Server resource template. Let's see how this unfolds... Set up Foreword: While not difficult, setting this up on a laptop requires running a LOT of Java processes, on top of a database. As the latter needs to be a somewhat older version of PostgreSQL (8.4), you might even end up running it on VM using...

Article Thumbnail
Article

XML editing with Bash script

Romain Pelisse

Photo by seeweb Countless products uses XML files, whether it is for data persistence, serialization or mere configuration. This is even more true when it comes to the Red Hat middleware portfolio , the JBoss projects having always been keen on using this format for configuration files - on top of the ones specified by JEE such as the famous (or infamous ?) web.xml . While the XML format has some definitive qualities, it is not the easiest format to...

Article Thumbnail
Article

VM Truckloader first release ... why and how to use it!

Romain Pelisse

I've recently released a tool called vm-truck-loader to automate virtual machine creation with VMware vCenter. Using a simple CSV file, and leveraging the API exposed by vCenter, this Java based command line tool enables you to design a fully automated deployment process, and can be a key to implement a proper Standard Operating Environment around vCenter. In this regard, I thought I'd do a quick entry on this blog, to briefly describe what the tool can do. Instrumenting virtual machine...

Article Thumbnail
Article

Separating IDE workspaces from code repositories

Romain Pelisse

As I've been using Git , SVN (with git-svn) and Hg for quite a long time now, I've adapted my way to handle the local repositories created with those tools. Especially, I quickly found out that it is quite crucial to separate those repositories from your IDE workspaces. Some explanation of why and how are in this entry. (Photo credit by motjetom ) Eclipse workspaces To understand why I wished to write about this, one has to know that many...

Article Thumbnail
Article

Using Git with SVN

Romain Pelisse

(Photo credit by Crystalline Radical ) Nowadays, while most people in our industry know about DVCS tools, such as Git and Mercurial, and what they can do, not all are aware that git can be used with SVN . It is, of course, quite a shame as on top of being the best way to learn how to use git - this feature also enables one to use all the nice tricks of DVCS (offline commit, local history rewriting, commit...

Article Thumbnail
Article

A Puppet Module for tuned-adm

Romain Pelisse

Some months ago, I developed and released a small Puppet module for tuned-adm . As this tool is a nice feature of RHEL , I think it is only fair from me to advertise about it here, on the Red Hat developer blog. Quick overview of 'tuned-adm' (Photo credit: Accretion Disc ) To make this brief, this command will take care of tuning the operating system for you, based on the usage you want to make of it. For instance...