ejb@glassfish.java.net

Re: MDB example

From: <jfan28_at_yahoo.com>
Date: Thu, 20 Nov 2008 13:11:13 -0800 (PST)

Hi,
I have been trying to run MDB sample code in eclipse, but no luck. here are what I did:
 
create ejb project for mdb bean
create client application project for appclient
deploy mdb bean.jar and appclient.jar to glassfish server (they are all seen o nthe server)
run appclient,  but see java.lang.NullPointerException
it seems client application can not connect with JMS resource in glassfish(connectionfactory and queue are created correctly)
 
would you please provide the steps how to run this project in Eclipse?
 
Thanks,
Jin