This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Author

Exposing REST service as EJB 3.1 method

Kumar Kunal
Greenhorn

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
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Exposing REST service as EJB 3.1 method
 
Similar Threads
Web Service with EJB 3.1 endpoint packaging
JBoss Seam and Webservices
Wrapper class on the top of stateless session bean
Spring 3.0 Framework, CAS and EJB
Build Web Service layer on top of existing JSF & EJB web application