Hi everybody! I am doing a project about developing a web service for a workflow management system implemented in Java. I´m going to implement the web service in Java with the JWSDP (Java Web Services Developer Pack).
I have read a lot about the web services implementing ways. I know Java offers me the possibility of using JAX-RPC, JAXM and SAAJ for implementing it.
JAX-RPC Basically, If the communication style between the service and the requestor is (or has to be)synchronous and for accesing the service I have to make "calls a methods of the service", then I must use JAX-RPC. This means, basically, that the communication model is point to point, the requestor and the services are tightly-coupled and the execution steps do not take long time.
JAXM On the other hand, With this option the information between the requestor and the server is a literal XML document and a JAXM client does not call to a specific method. In fact, might not know what program on the server actually process the request. What the server returns is not a method value, but rather a response generated by the processing application. Also, the process which are in both parties, in the requestor side and server side are long running proccess and their steps take long time.
My problem is that in the "workflow management system" there are process which can take long time and others which not, and I would like to use both technologies, jax-rpc -> "Remote Procedure Call" and jaxm->"Document-driven" in the same web service, but I do not if it is possible.
Do you know something about it? It´s possible? Can you give directions to me?