This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Exposing REST service as EJB 3.1 method 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 "Exposing REST service as EJB 3.1 method" Watch "Exposing REST service as EJB 3.1 method" New topic

Exposing REST service as EJB 3.1 method

Kumar Kunal

Joined: Dec 24, 2011
Posts: 1

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..

Kumar Kunal
Rob Spoor

Joined: Oct 27, 2005
Posts: 20079

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.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Exposing REST service as EJB 3.1 method
It's not a secret anymore!