Search

Aparna Chaudhary Blog

My Blog about Java, and Open Source

Category

JavaEE

Patch User Defined WildFly Modules in Domain Mode

WildFly 8 added support for patching application server. This is an interesting feature and I wanted to play around a bit. But unfortunately I could not find any official documentation explaining how to generate a patch. With some effort, I could finally patch user defined static module. In the following blog post I would like to share the details.

Continue reading “Patch User Defined WildFly Modules in Domain Mode”

Monitoring WildFly Metrics

Recently I worked on a Nagios plugin for WildFly/JBossAS resource monitoring. The plugin is written in Python and uses HTTP-JSON based API (JBossAS REST Management API) to collect server statistics. The plugin currently supports standalone mode.
Other available plugins need additional SAR or WAR to be installed on the application server. Typically in Enterprise setups; it is sometimes not allowed to perform any additional installations on the target system. The main advantage of this plugin is it leverages the REST API of JBossAS. This allows us to monitor the application server without any additional configurations and installations.
Continue reading “Monitoring WildFly Metrics”

JBoss AS7.1 on RHEL6

as7_logoToday I got JBoss AS 7.1.0.CR1 fresh out of oven. The GA release is expected in next month. Full JavaEE certification is planned for this release. The following tutorial demonstrates how to set up JBoss AS7.1 on RHEL6.

Continue reading “JBoss AS7.1 on RHEL6”

Activiti 5 with Spring Integration 2.0 Mail Adapter

activiti_logo Activiti is an open source BPM and workflow system. The first GA release is expected to be out next month i.e. Dec 2010. The roadmap of activiti looks very promising and also involvement of companies like SpringSource and MuleSoft can make it even more interesting. There are couple of good articles and tutorials available on the wiki to help you get started with activiti. To get a feel of the framework, instead of developing a simple hello world app, I thought of integrating activiti with Spring Integration. SpringSource team is working on this integration module and once that is in place some of the boilerplate code from my prototype would be cleaned up. The following blog post demonstrates the use of spring integration mail module with activiti.
Continue reading “Activiti 5 with Spring Integration 2.0 Mail Adapter”

jBPM4.4 with Spring3

I’m working on a jBPM prototype since last couple of days. The integration with Spring wasn’t a smooth ride. In my previous projects, I used jBPM3.2. But it seems jBPM4 is pretty much a rewrite. There are couple of few nice additions like service API’ for task and process management, support for java task and many more. And there are few changes which I didn’t like. Till 4.2 the support for JPA was provided, which is taken off starting 4.3 release. Yes definitely you can write some wrappers and still achieve it. But!! Between 4.3 and 4.4 also there are some major API changes. So the whole point is to get the app running, I had to digg into mailing lists and source code. Now that it works, I thought I would write a short blog about it.

Continue reading “jBPM4.4 with Spring3”

Introduction to Hibernate Search Framework

Enterprise Search is becoming one of the common requirements of any consumer web application that we build these days. So I thought of learning some stuff in this domain. If you think about open source frameworks providing enterprise search functionality, probably Lucene is the one and only answer that comes to your mind. Lucene is a fully featured full text search engine library. Some other platforms and frameworks are developed that leverages core search functionality of Lucene.

Solr is one of such platforms that provide cool features like token highlighting, faceted search and many many more. Solr runs as a standalone search server and can be integrated into the applications using HTTP/XML API. Solr is typically used (or suggested to be used) when the underlying data that you are trying to index doesn’t change often.

Hibernate Search is a framework built on top of Lucene and Hibernate Core. In the following blog post, I would explain how to integrate Hibernate Search into your application.

Continue reading “Introduction to Hibernate Search Framework”

Create a free website or blog at WordPress.com.

Up ↑