Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Questions on deployment chapter from RMH

 
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can any one clarify some queries I have on deployment chapter of RMH
1.Between chapters 22 and 23 .. I found lot of similarity and some confusions. The service-ref element is used in web.xml and ejb-jar.xml ,then what is the use of webservice.xml , it seems a duplication .
I was thinking chapter 22 depicted a client deployment and chapter 23 was a server deployment so the webserivces.xml is used only for endpoint deployment and not J2EE client deployment.

2. In the chapter 24 pg 715. It say Listing 24-1 has two difference between the heavy height WSDL definition . One the style="rpc" and the other encoding but I havent been able to see any encoding namespace or encoding used to show encoding in listing 1.

Thanks
Dhiren
 
author
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not totally sure what the question is (sorry), but the webserivces.xml file is used in conjuntion with J2EE Web Service components, the JAX-RPC Service Endpoints and the EJB Endpoints. The service-ref element is simply configuring a JAX-RPC client side gererated stub or dynamic proxy so that the J2EE component, be it a Servlet, JSP, or EJB, can access that stub/proxy to communicate with some other Web service.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic