AXIS vs JAX-WS for Web Service Client

前端 未结 2 637
时光说笑
时光说笑 2021-02-14 13:41

I am deciding on the implementation of Web Service Client in Java. I\'ve generated Axis client in Eclipse and JAS-WS client with wsimport. Both solutions work and now I have to

2条回答
  •  情话喂你
    2021-02-14 13:57

    One thing to keep in mind in the comparison. If your web client app has a need to connect multiple users to your back end simultaneously, the Java reference implementation has no way of doing this (at least that I've been able to find). By using the Authenticator class, you're tied to only allowing a single user to ever access the back end and you don't even control the lifespan of that user connection. The Authenticator is a surprisingly difficult-to-use API with severe limitations.

提交回复
热议问题