File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "EJBs, Resource Adapters and Webservice" Watch "EJBs, Resource Adapters and Webservice" New topic
Author

EJBs, Resource Adapters and Webservice

Nilesh Yawale
Greenhorn

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
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3879
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


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJBs, Resource Adapters and Webservice
 
Similar Threads
Legacy conectivity
J2EE Pattern Oriented Framework (Jt 1.2)
please reply!!!
J2EE Pattern Oriented Framework (Jt 1.8)
jboss vs j2ee server