SOA / Web Services / Java

A Technology Blog

Archive for January, 2013

3 reasons not to use REST

Posted by Vivek on January 17, 2013

Here are a few reasons why RESTful services can be avoided:

1. REST is not a good choice when the way client application use service require high degree of control.

2. It is required to use vendor based tools to generate client stubs or server skeletons.

3. There is a need for coarser granularity to reduce the number of network calls.

In addition, advanced security controls and standards cannot be used. Exposing data can be dangerous sometimes.


Posted in integration, Java/J2EE, SOA | Leave a Comment »

3 reasons to use REST

Posted by Vivek on January 17, 2013

Here are a few reasons why REST is gaining popularity:

1. Need for speed – REST can take advantage of HTTP caching and proxy to provide improved speed. Example – cacheable map tiles in Google maps  

2. Efficient parsing – It is easy to parse JSON, plain old XML (POX) than the verbose SOAP

3. Reduce network traffic – SOAP messages generally require compression when passed over network. Passing lighter JSON, POX messages will consume less bandwidth.

REST is the backbone of web 2.0. It is now supported by all major vendors like IBM, Oracle and Microsoft. With cloud, adoption of REST has also increased. REST retains advantages of XML such as platform and language independence. Languages like Perl, python and javascript also support REST. Deployment of a REST based service is easy. Also, RESTful services are scalable.

Posted in integration, Java/J2EE, SOA | 1 Comment »

Why Contract First Approach?

Posted by Vivek on January 13, 2013

I have been asked a lot of questions in the past about why we should use the contract-first or WSDL first approach of developing web services. This article very well answers the question:

Posted in Java/J2EE, SOA, Web Services | Tagged: , , | 1 Comment »

SOA testing tools – A comparitive study

Posted by Vivek on January 5, 2013

This is my attempt to compare the various SOA testing tools in the market. Please feel free to provide your suggestions or comments.

Sr No

Features Crosscheck Networks SOAPSonar 3.0.5 iTKO LISA 3.6e Mindreef SOAPscope (Progress Actional) Parasoft SOAtest 5.1 Rational Service Tester Greenhat (Rational Test Workbench) SOAP UI Pro


 Learning curve Medium Medium Simple Medium Simple Medium Simple


Simple Navigation Y Y Y Y Y Y Y


Dynamic Data Population Y Y Y Y Y Supported in GH Performance (Rational Performance Test Server) Y


Project Save, Merge, Import, and Export (allows Team Project Sharing) Y Y Y Y Y Y Y


WSDL Merge (services, operations, XSD schema) Y X X X X X X


Clone Test Suites, Test Groups, Test Cases, Test Settings Y Y Y Y Y Y Y


Run Test Suites from HP Quality Center Y Y X Y X Y X


WSDL Operation Response/Request Chaining Y Y Y Y Y Y Y


WS-Security and Identity Management Digital Signature, Encryption, Username, X509, SAML, Kerberos Y Y Y Y Y Y


SOAP with Attachments (DIME and MIME) Y Y   Y Y   Y


WS-Addressing Y Y X Y Y Y Y


XSL Transformation Y X   X X X X


Design Time WSI-BP 1.1 Compliance Y Y Y Y X Y Y


Report generation PDF, XML, CSV formats PDF, HTML, CSV, Excel PDF Y CSV, HTML, RTF Y PDF, HTML, RTF, Word, Excel


Data Source Support CSV, Excel, SQL Server 2000/2005, Oracle SQL, ODBC, JDBC, Excel, Raw file SQL Server
Apache Derby
CSV, Excel, relational databases X via JDBC via JDBC


Regression Testing Suite Y Y Y Y Y Y Y


Record and Playback X Y Y X Y Y Records HTTP traffic


Extensible Y Java support Limited Y Y Y Supports Groovy and JavaScript


Performance Testing Support Y Y Y Y Using Rational Performance Tester Y Y


MQ Support Y Y X Y Y Tibco EMS, IBM MQ, Sonic MQ X


REST Service Support Y Y Y Y X Y Y


JMS Support Y Y Y Y Y Y Y


Stub Generation Y Y Y Y Y Y Y


SMTP Support Y     Y X Y  


SOAP 1.2 Support Y Y Y NA NA NA Y


OS Platforms Windows. SOAPSonar can be run on MAC and UNIX based systems through the use of a Virtual Machine running a Windows OS Windows (XP/Vista/Me/2000), Linux, Unix, Solaris, Mac OSX Microsoft Windows
Red Hat Linux,
Enterprise Linux,
Solaris (including
the x86 series)
SUSE Linux
Windows, Linux, Solaris, Mac windows and linux AIX, Linux, Solaris, Windows Windows, Linux, Mac


UDDI Support   Y X Y Y Y X


Policy Enforcement Y Y Y Y Y WS-Policy X


Mock Service Y Y Y Y Y Y Y


Asynchronous Service Testing   Y   Y asynchronous using WS-Notification Y X


UI Support Y Y Y Y X Y X


Industry Specific Data Formats X Out of the box support X X X HL7, MLLP, SWIFT, FIX, IATA, AMQP X


ESB Support IBM, Tibco, Oracle IBM, TIBCO , Software AG / webMethods, Oracle , Progress, Cordys, SAP, Microsoft Oracle, IBM, Jboss, SAP NA NA IBM, Tibco, Software AG, Oracle, SAP NetWeaver NA


Variants Personal Edition, Standard Edition, Automation Edition, Platinum Edition. (Personal Edition lacks features such as WS-Security validation, performance testing, and vulnerability testing) NA NA NA Rational Service Tester, Rational Performance Tester GH tester, GH Performance, GH VIE SOAPUI, SOAPUI Pro


License Commercial (Free – Personal Edition) Commercial Commercial Commercial Commercial Commercial Commercial (Free – SOAPUi)

Posted in SOA, SOA Testing, Web Services | 6 Comments »

2012 in review

Posted by Vivek on January 5, 2013

The stats helper monkeys prepared a 2012 annual report for this blog.

Here’s an excerpt:

4,329 films were submitted to the 2012 Cannes Film Festival. This blog had 38,000 views in 2012. If each view were a film, this blog would power 9 Film Festivals

Click here to see the complete report.

Posted in Miscellaneous | 1 Comment »