• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Creating EJB 2.1 application and deploying on websphere

 
Greenhorn
Posts: 29
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
A magnificient life is loaded with tough challenges. En garde tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic