Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating EJB 2.1 application and deploying on websphere

 
Vighnesh Mu
Greenhorn
Posts: 29
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic