Archive for 2012
Configuring IBM MQ in JBoss

In today's post I will explain how to install the WebSphere MQ resource adapter on JBoss.
Installing WebSphere MQ resource adapter:
To install WebSphere MQ resource adapter, copy the file wmq.jmsra.rar (from installation directory) to the server's.
Saving development time with local EntityManager in JPA

In almost all real world projects (non Spring + We are not considering Arquillian or any similar framework) where you are using JPA (Hibernate implementation), the data source binding happens by JNDI and the services are provided by EJBs, which means.
Reverse a String in Java

One of the frequently asked questions in interviews, let's try few ways available in JDK to reverse a string:
import java.util.Stack;
public class StringReverse {
public static String reverse1(String s) {
int length = s.length();
if (length.
Merging PDFs while retaining the fill able forms inside them

My previous post was about merging the PDF files into single file using PDFBox, the limitation of that approach was if you had fill able form inside any PDF file it was lost, to over come that issue here is an updated version of the same post using.