Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-RPC Clients

 
Rahul Mishra
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RMH mentions that in case of using Static Stubs/Dynamic Proxies - the deployer binds the Service on the actual Application Server.

So we get the Service from JNDI ENC and then the routine follows.

I was checking the code for Apache Axis Stubs , i noticed two things
a) It uses DII behind the scenes - the stub invokes the web service using a Call Object

b) It uses the Factory Pattern by creating a Service Locator

Does anyone know of any toolkits which use JNDI for getting services ? Just curious to know if it's just a matter of taste or whether certain toolkits use the JNDI approach.

Any validations of my findings shall be appreciated

Thanks

SCJP > SCBCD > SCJDWS (Coming Soon...)
[ September 07, 2007: Message edited by: Rahul Mishra ]
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use Sun Java Systems Application Server, it uses JNDI to lookup the service.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic