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
subject: Need opinion on EJB 3.1 as a Restful Web Service