Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client side and Server side Handlers

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please answer my questions even they are stupid ones as i am trying to learn web services.

This is what i read about Handlers in JAX-RPC

There are two kinds of handlers: client and server.

Client handlers can intercept messages sent from a client application, the "request", and the corresponding

message returned by the service, the "response".


Server handlers can intercept messages sent to a Web service, the "request", and the corresponding message

returned by the service, the "response".


I can't understand the difference between these two from above definations .


Please tell me what is a client and a server side Handlers?
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The difference is in where the code runs - as part of the client or as part of the server.

If you're just starting to learn WS, I'd suggest to learn JAX-WS, not JAX-RPC (which is obsolete).
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks ulf ,

What is the difference between JAX-WS and JAX-RPC .

JAX-RPC is very confusing , but trying to learn ASAP
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Googling for "difference jax-rpc jax-ws" will get you useful results.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic