This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need opinion on EJB 3.1 as a Restful Web Service
 
Similar Threads
Restful Web Services in RAD
JEE 5 Vs JEE 6
JBoss 5.1.0 GA + EJB 3.0: RESTful Web Services with Jersey
JSP/HTML/Javascript/XML task: Need Consultation
New to web service