| Author |
Creating EJB 2.1 application and deploying on websphere
|
Vighnesh Mu
Greenhorn
Joined: Jan 06, 2011
Posts: 29
|
|
Hi,
I have a requirement where i need to write an EJB which should check a JMS message queue(developed in websphere 6.0) for every minute and do some operation. Can anybody tell me which EJB should i use like stateless session bean or MDB etc because I need timerservice too and where can I find a good example for the above. I tried to do a stateless session bean and deploy on websphere server but it didn't work. since i am unable to create an .ear file as i faced problem in ejb-jar.xml entries, if anybody knows the complete process of developing an EJB 2.1 application and deploying on websphere 6 please help me.
Thanks,
Vighnesh
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
Vighnesh,
There's a number of questions in there.
For reading from a queue, you need an MDB. It can delegate to a stateless session bean once it reads the message.
For the ejb jar xml problem, what error did you get? Posting what problem you have is more likely to yield a solution.
As far as documentation, see an IBM redbook. They walk through how to create/deploy EJBs to WebSphere using RAD/RSA.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: Creating EJB 2.1 application and deploying on websphere
|
|
|