cancel
Showing results for 
Search instead for 
Did you mean: 

SAAJ vs JAX-RPC

Former Member
0 Kudos

Hi Team,

Whats the differences implementing web service clients using SAAJ and JAX-RPC ?

Do we have any performance related differences between these two ?

If I am not worng, SAAJ dynamic way of calling web services which means that it will create SOAP message on fly for every request.

So SAAJ may take more time comapred to implementing the clients using JAX-RPC.

Please correct me if my assumption is wrong.

Thanks,Anil

Edited by: Anilkumar Vippagunta on Jan 29, 2008 1:50 AM

Edited by: Anilkumar Vippagunta on Jan 29, 2008 1:50 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Former Member
0 Kudos

Hi Abhishek,

Thanks for sharing useful links.

My question is more onto diff between SAAJ and JAX-RPC.What are the differences between these two.

I didn't find such a differences in these links !!!

Thanks,Anil

Former Member
0 Kudos

Hi Anil,

SAAJ is SOAP w/ attachment API for Java

JAX-RPC is Java for XML Remote Procedural Call.

SAAJ is manually creating( by coding) SOAP messages and sending to other applications

JAX-RPC is only to concentrate on your java code. It hides all the complexity of creating XML and SOAP messages and how to send it on network.

Prior to JAX-RPC JAXM 1.0 was there which contains both SAAJ and JAXM. JAXM .

After evolution of JAX-RPC , JAM1.0 was splitted into two, SAAJ and JAXM.

Now both JAX-RPC and JAXM interbnally uses SAAJ for developing and deploying XML messages/Interfaces.

JAXM is used maily for EbXML and JAX-RPC is mainly used for providing and consuming Web Services.

JAX-RPC contains several protocols which are used for Web Services apart from building SOAP meaasges which SAAJ takes care of.

Now new evolution of JAX-WS has come which is better and efficient than JAX-RPC

Hope this helps.

Regards,

Piyush

Answers (2)

Answers (2)

Former Member
0 Kudos

SAAJ provide interfaces for creating and sending SOAP messages.

Both JAX-RPC and JAX-WS make use of SAAJ.

I would not compare the performance between the custom code using SAAJ API and JAX-RPC....

Former Member
0 Kudos

Yes your assumptions are incorrect...

JAAS has noting to do with WebServices...

It is Authentication and Authorization..(Login and Accessiablity)

The comparrsion could be between JAX-RPC and JAX-WS.

and In general, JAX-WS performance is better than that of JAX-RPC at larger payloads.

Former Member
0 Kudos

Hi Vikas,

I am sorry...Its SAAJ framework not JAAS

Thanks,Anil