It's not a secret anymore!
The moose likes Web Services and the fly likes EJBs, Resource Adapters and Webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "EJBs, Resource Adapters and Webservice" Watch "EJBs, Resource Adapters and Webservice" New topic

EJBs, Resource Adapters and Webservice

Nilesh Yawale

Joined: Dec 16, 2003
Posts: 11
Hi All,
I'm trying J2EE connector architecture on J2EE 1.4 Application server. Is it possible to register resource adapter as webservice? Also I'm using a session bean to use the resource adapter. How to register EJBs as webservice on J2EE 1.4 application server?
Thanks in advance for your support.

Nilesh<br />SCJP<br />IBM certified for OOAD using UML
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Hello Nilesh,
First of all, I'll have to ask you to add a last name into your display name -- it's required by the naming policy.
Regarding your questions,
1) I'm not aware of such a feature (exposing a connector as a web service)
2) I'd suggest leaning on your particular application server's documentation on how to expose an EJB as a web service.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
In J2EE 1.4 only Stateless Session beans and Java Beans (plain old Java classes) can be deployed as Web Services.
I wouldn't recommend using a JCA adapter as a Web Service anyway -- too fine a granularity.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: EJBs, Resource Adapters and Webservice
It's not a secret anymore!