This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need opinion on EJB 3.1 as a Restful Web Service

Sunil Singhania
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic