File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Jini As a WebService Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Jini As a WebService" Watch "Jini As a WebService" New topic

Jini As a WebService

Zia-ul-haq Farani

Joined: Apr 27, 2004
Posts: 1
UDDI can be used as a WebService but i want to know whether we can use Jini with UDDI as a WebService.I need some informative material on this topic.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Could you explain what would these two technologies (Jini, UDDI) be responsible for?
I guess it would be possible to publish the UUID of a Jini service into the UDDI registry and then lookup the service from available Jini Lookup Services, but that still doesn't make it a web service if the actual Jini service is being invoked with an RMI call, a raw socket connection, or something else which isn't SOAP.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
I think you are going to always need an interface component that handles the "web service" to JINI translation.
For example, I have a servlet that takes an HTML form request and creates a Java object that is sent via JINI to a JavaSpace. Another process looks for requests showing up in the space - does the required processing and writes the result to the space. The servlet then picks up the result via the JINI connection to the JavaSpace and creates the HTML response.
This could just as easily work with a SOAP request and a published WSDL.
I agree. Here's the link:
subject: Jini As a WebService
It's not a secret anymore!