Re: clarification regarding web services...

Hemant Khandelwal <[email protected]> Mon, 10 May 2004 12:02:34 +0530
Newsgroups gmane.comp.java.sun.ejb.general
Message-ID <[email protected]>
clarification regarding web services...Hi,

For your queries, I suggest you chcek the vendor docs to find out how they are supporting webservices. 

You can use stateless session bean in J2EE1.4, which is specified using the <service-impl-bean> tag in the webservices.xml. You should check you server vendor document for the support on the exact support on this. Once your call is in EJB or a servicve endpoint class, you can use API for messaging like noemal EJB/J2EE programming.

It is important to note that in J2EE1.4 web services, the JAX-RPC servlet that accepts webservices call is provided by the JAX-RPC runtime system (and not by the developer). A developer provides the implemenntion of service endpoint, using a stateless session bean or a service endpoint class. The user developed classes are then associated with the JAX-RPC servlet.

-Hemant
www.pramati.com
  ----- Original Message ----- 
  From: Kesavanarayanan, Ramesh (Cognizant) 
  To: [email protected] 
  Sent: Tuesday, May 04, 2004 4:09 PM
  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.. 

  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..

  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) 
          b) Connector which speaks with legacy systems 

  4) does all the application servers support both the above forms of message providers (i,e) JAXM and JAX-RPC. 

  5) Does the UDDI registry always has list that supports JAX-RPC whom could be searched using a  JAXR. 



  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".