This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Doubt regarding Service EndPoint Design 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 » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Doubt regarding Service EndPoint Design" Watch "Doubt regarding Service EndPoint Design" New topic
Author

Doubt regarding Service EndPoint Design

Divya Gehlot
Ranch Hand

Joined: Sep 10, 2006
Posts: 243
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 ]

SCJP1.5(81%), SCDJWS(94%), next mission SCEA (but need to wait or that)
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 576

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


Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt regarding Service EndPoint Design
 
Similar Threads
Server side steps involved in Doc Processing
UDDI Question doubt(ExamWorx)
TargetNameSpace
Doubt in question
How to maintain session in Client side