I know there are many documents available on net which mostly describes technical difference.
But I'm rather interested to know what are the common use cases where you prefer one specific type over other any why ?
Are those preferences because integration patterns/products support particular type ?
Thanks for answer. However practical use case difference and when to use what. Both, JAX-WS and JAX-RS have standard implementations. I have come up with the following differences:
RESTful services (Mostly web integration, mobile phone apps)
JAX-WS and JAX-RPC are SOAP based services. (Enterprise web services)
JAX-WS Java EE later versions support this and standards still evolving. - SOAP based services not preferred for mobile app communication because of heavy payload compare to rest. - More suitable for the enterprise web services where you need interoperability, transactions, message delivery and reliability.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With