• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Doubt regarding Service EndPoint Design

 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Problem
A developer creates an endpoint interface for an existing stateless session bean. Which is the correct mapping approach?
Options
Select 1 correct option.

1. RMI

2. Handlers

3. WSDL-to-Java

4. Java-to-WSDL

correct option is :Java-to-WSDL
Source:www.xyzws.com

Can any explain me why it is so ?
Thnaks in advance.

[ April 11, 2008: Message edited by: Divya Gehlot ]
[ April 11, 2008: Message edited by: Divya Gehlot ]
 
Ranch Hand
Posts: 577
Tomcat Server Notepad Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To serve the purpose of interopability, it's always preferred to create WSDL first and then use WSDL to Java to create Webservice end points.

But, as we have already the EJBs serving the business logic (and ofcourse having Home and Remote interfaces), we can easily create Webservice end point potentially consisting of the methods present in Remote interface using Java to WSDL. In this way, we can convert the existing EJBs to EJB end points so that client can invoke these services by sharing the created WSDL.

Any ideas welcome!

Thanks and Regards,
Naren
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic