This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes EJB Components into WebServices Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "EJB Components into WebServices" Watch "EJB Components into WebServices" New topic
Author

EJB Components into WebServices

Saket Barve
Ranch Hand

Joined: Dec 19, 2002
Posts: 224
Hello,

We have an up and running system using EJB on Websphere. A new requirement has come up, requiring us to expose the EJB business layer as a webservice in order to enable another system to use ours.

What are the options available? In view of the experienced folks which approach would be most suited?

One way I believe is to create a wrapper around the EJB and expose this wrapper to SOAP. Any feedback will be most welcome.

Regards,
Saket

[ May 31, 2005: Message edited by: Saket Barve ]
[ May 31, 2005: Message edited by: Saket Barve ]
Masoud Kalali
Author
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

Hi
If you mean Session Beans then there are some standard for exposing an stateless bean Endpoint interface , WSAD and RAD do it automatically for you.

But if you wanna expose some entity ? bean operations as a web service then , i think, best way is to wrap then with some session beans.


just my 2 cents.


Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
Saket Barve
Ranch Hand

Joined: Dec 19, 2002
Posts: 224
Thanks, Masoud. Your two cents certainly count

Regards,
Saket
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: EJB Components into WebServices
 
Similar Threads
Static method
How to have checkbox value blank instead of "null"
JDK 1.5 Type Safety warning
eclipse 3.0 and java 5
Starting database instance