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 Need opinion on EJB 3.1 as a Restful Web Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Need opinion on EJB 3.1 as a Restful Web Service" Watch "Need opinion on EJB 3.1 as a Restful Web Service" New topic
Author

Need opinion on EJB 3.1 as a Restful Web Service

Sunil Singhania
Greenhorn

Joined: Apr 04, 2011
Posts: 3
I have a requirement in which i have to create a Restful web service which will work in a clustered environment i.e. shouldbe load balanced and supprt failover. For this I plan to use EJB 3.1 as a Restful web service which would reside in a .war. This would then call other EJB 3.1 beans for peocesing which would reside in another.jar. Using EJB would ease cluster issues.
I can create a Restful service without EJB 3.1 but then clustering would mean using mod jk aka web clustering which I have not done yet. So is my approach right?

Also have been using till now Jboss5 which has JEE 5. So would have to migrate to Jboss 6 which supports EJB 3.1 which again adds some complexity for me.

I was not sure of the forum this was to be in as it combined both EJB and web service. I chose this forum to post my query. I am hoping someone can throw light on this. Thanks
 
wood burning stoves
 
subject: Need opinion on EJB 3.1 as a Restful Web Service