Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exposing REST service as EJB 3.1 method

 
Kumar Kunal
Greenhorn
Posts: 1
Eclipse IDE Java Windows Vista
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to convert Restful WebService (RestEasy) to EJB 3.1 Stateless session bean

In my current project we are using Restful Web Services (Resteasy) combined with Jpos and Jcard with an ISO-8583 message format. The task is to remove all the dependencies of resteasy,jpos and jcard and implement it through EJB 3.1 stateless beans for the current functionality.

I have seached / googled all over the net with regard to how to proceed but unluckily no success till yet.

Would be grateful if any one can provide any pointers / suggestions / demo code for the same.

Please Note - Its a already developed module in Restful + jpos + jcard .. is it possible to convert restful webservice to ejb 3.1 stateless beans ..using jboss server..
 
Rob Spoor
Sheriff
Pie
Posts: 20497
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you just add @Stateless to your REST web services, doesn't that turn them into stateless beans? If you need the stateless bean remotely, just use a remote business interface.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic