I have found an excellent presentation on REST webservices here that serves as beginning point to start learning REpresentational State Transfer(REST) WebServices.
Tuesday, June 10, 2008
Introduction to RESTful Webservices
Posted by
krish
at
8:57 AM
0
comments
Labels: presentation, REST, Webservices
Thursday, June 5, 2008
Free PDF Creator software
Looking for PDF creator software? I have found the following free PDF creators very easy, useful and feature-rich. Why to buy expensive Adobe PDF creator when I have these software on hand for free :)
1. Primo PDF
Creates PDF files from 300+ file types. You can secure with passwords and add document information (title, author, etc.) during creation.
2. PDF Creator
PDF Creator allows you to easily create professional looking PDF files in seconds. It is very simple to use. Open any file or document you want to turn into a PDF file. Click File -> Print and select "PDFCreator" as your print and click Print. PDF Creator will take over and in seconds your new PDF file will be ready to save.
3. PDF reDirect
Posted by
krish
at
12:20 PM
0
comments
Labels: Free, PDF creator, software
Friday, May 30, 2008
JBoss ESB 4.2 presentation
Cool presentation on JBoss ESB 4.2 product.
Posted by
krish
at
3:39 PM
0
comments
Managable SOA
Today I have stumbled on an article that describes why Service Oriented Architecture is still slow to be adopted in large organizations.
Posted by
krish
at
3:35 PM
0
comments
Labels: ESB, Open Source, SOA
Thursday, May 22, 2008
Problem connecting to Websphere MQ in binding mode
Today, I have run into a problem in sending a message to Websphere MQ. I just want to send a message from a stateless session bean running in JBoss 4.0.5 on Solaris box. Both my application server and Websphere MQ are running on the machine. So, I decided to connect to MQ in a binding mode. Simple task isn’t it?
I quickly wrote a simple MQ java client, modified the session bean to call the mq client , deployed the application, run a sample test and expected the message to show up in the MQ queue. But, instead I got an exception reported in the application server log. Below is the stack trace of the exception.
java.lang.UnsatisfiedLinkError: no mqjbnd05 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at com.ibm.mq.MQSESSION.loadLib(MQSESSION.java:872)
at com.ibm.mq.server.MQSESSION$1.run(MQSESSION.java:228)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.mq.server.MQSESSION.
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:70)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:492)
at com.ibm.mq.MQManagedConnectionJ11.
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:179)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:215)
at com.ibm.mq.StoredManagedConnection.
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:168)
at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:772)
at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:697)
at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:657)
at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:153)
at com.ibm.mq.MQQueueManager.
Just by looking at error message, it is clear that the system can not find library file for mqjbind05 in java’s library path. A quick grep on the system showed that required mq java library file(libmqjbind05.so) is available at /opt/mqm/java/lib.
I thought adding the above directory path to my environment variable $PATH would solve the problem but it did not. Apparently, Solaris does not seem to pick this entry from $PATH variable add to java’s library path. That left me no option but to add the path as VM argument. I did it so by adding
‘-Djava.library.path=/opt/mqm/java/lib’ to my server’s VM arguments. And guess what? It worked!!
Posted by
krish
at
1:49 PM
0
comments
Labels: Java, JBoss, Websphere MQ
Monday, February 25, 2008
Jboss Seam Author's site problem
I am trying to download source code for the JBoss(R) Seam book but unfortunately the author Michael Yuan's site is no longer available. I have googled in vain to find any alternative source for this source code. I think I should contact Michael if the site is down for temporarily or for ever.
Posted by
krish
at
11:01 AM
0
comments
Monday, February 18, 2008
Flex and Seam examples
Recently there is a lot of momentum in two simple and great frameworks Seam and Flex. Seam is a lightweight web integration framework that glues EJB and JSF components whereas Flex brings on Rich Internet Application capabilities to Web applications.
People started thinking why can not marry these two frameworks to come up with more sphesticated framework for web applications.
Here is an article that discusses why Seam and Flex can work together on OnJava.
On similar lines, Cameron Ingram an application architect in a company I am currently working for, created an excellent project called FlexBooking that uses Seam and Flex technologies. This project is based on Seam's Hotel booking example. You can also find more sample projects using GraniteDS, Seam and Flex here at Cameron's blog.
Posted by
krish
at
9:03 AM
1 comments
Labels: Flex, Hotel Booking, Seam