The Artima Developer Community
Sponsored Link

Web Services Forum
JAX-RPC and JAXM together?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jose Prados

Posts: 1
Nickname: floyd23
Registered: Nov, 2003

JAX-RPC and JAXM together? Posted: Nov 7, 2003 2:10 AM
Reply to this message Reply
Advertisement
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?

Jose Prados.

Topic: Servlet Context Previous Topic   Next Topic Topic: Tomcat  and rights of access

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use