Re: clarification regarding web services...

Guy Katz <[email protected]> Tue, 4 May 2004 16:45:06 +0200
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <[email protected]>
see inlined

-----Original Message-----
From: Kesavanarayanan, Ramesh (Cognizant) [mailto:[email protected]]
Sent: Tuesday, May 04, 2004 12:39 PM
To: [email protected]
Subject: clarification regarding web services...



Hi all,


I have a copule of doubts in Web services

1) Can a service enpoint in java be a EJB or  a Java Bean apart from a
servlet..
[Guy Katz] EJB endpoints are available (even though under the hood it
probably is a servlet). java beans endpoints are not availavble (even though
with a servlet endpoint the object that is being invoked can delegate to a
java bean)

2) In both asynchronous and synchronous service model, does the web
container with which the client speaks to should (mandotorily) have a
JAX-RPC Servlet enpoint mounted on a container..
[Guy Katz] you can use JAXMServlet to recieve SOAP messages

3) In case of asynchronous service model, does this servlet needs to contact
a JMS which in turn speaks with
        a) the MDB hosted on a EJB container to DB (or)
[Guy Katz] if you use a servlet endpoint with JAX-RPC than you will probably
use JMS. its not that the servlet NEEDS to contact JMS its something you do
in your code
        b) Connector which speaks with legacy systems
[Guy Katz] see a

4) does all the application servers support both the above forms of message
providers (i,e) JAXM and JAX-RPC.
[Guy Katz] no, they are mandated to support only JAX-RPC (and only since
J2EE 1.4) but you might find many supporting JAXM also.

5) Does the UDDI registry always has list that supports JAX-RPC whom could
be searched using a  JAXR.
[Guy Katz] did not understand the question. JAXR is the API to search UDDI
registries. i dont know what is th elist you talk about. but its been a
while since i eplyed a web service.


Can someone thro light on the above in detail please..


Regards
Ramesh Kesavanarayanan
[email protected]
Cognizant Technology Solutions India Pvt Ltd.
Off                :  +91-44- 52098497
USHotline   :  (201)678-3200 ext 48507.


===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[email protected] and include in the body of the message "help".




===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".