File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Creating EJB 2.1 application and deploying on websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Creating EJB 2.1 application and deploying on websphere" Watch "Creating EJB 2.1 application and deploying on websphere" New topic
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: 30136
    
150

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating EJB 2.1 application and deploying on websphere
 
Similar Threads
Trying EJB3 from Eclipse WTP Book
where to start from ?
call session bean from java program
MDB Jms message headers null
How to refer web project from ejb project