2009 November | DeepakGaikwad.net - Part 2
Home » Archive

Articles Archive for November 2009

JUnit »

[12 Nov 2009 | 2 Comments | ]

Unit testing is now a days an integrated part of any development process. It saves considerable effort when we write repeatable unit test classes, instead of relying on manual unit testing. JUnit can be called leader in Java unit testing. This framework provides many commonly needed features, which make unit testing really effortless. JUnit also provides feature of grouping test cases as a test suite. Test cases can be grouped logically, functionally and even according to purpose of group – regression test, sanity test, smoke test etc.

We would also need …

Featured »

[9 Nov 2009 | No Comment | ]
Checklist to Maitain a WordPress Based Site

Over past one year, I have been playing around with my WordPress based site. This involved primarily two activities. First and most important is adding and improving contents of the site. This is publishing new interesting articles. It is bit challenging activity, cause you have to have good contents that will pull visitors continuously. But there is another activity which also made me invest considerable time. This is maintaining the website and the content management tool – WordPress. Now, after so many iterations, I am ready with a list of …

JEE, Tech Notes »

[5 Nov 2009 | No Comment | ]

WSDL, webservice description language, is the contract definition of any webservice. This XML document is used to tell the world what is going to be the definition/structure of the webservice, what that webservice has to offer. Here is an example webservice document explained using inline comments. We are not taking any complex example here. But it is very close to real life wsdl. There are many tools available that can be used to write wsdl.

<?xml version=”1.0″ encoding=”UTF-8″?>
<wsdl:definitions targetNamespace=”http://www.deepakgaikwad.net/ws/ExampleServices”
xmlns=”http://www.deepakgaikwad.net/ws/ExampleServices”
xmlns:soap=”http://schemas.xmlsoap.org/wsdl/soap/”
xmlns:wsdl=”http://schemas.xmlsoap.org/wsdl/”
xmlns:xs=”http://www.w3.org/2001/XMLSchema”>

<!– Document the wsdl –>

Java »

[3 Nov 2009 | No Comment | ]

Polymorphism, i.e. runtime type determination, is very important in Java. Polymorphic programming is generic programming. Here we are not calling methods of concrete classes at the time of coding, instead we are writing generic code, that can allow us to assign desired concrete instances at runtime. Let us take an example-
java.util.List interface represents all lists and is extension of java.util.Collection interface. Concrete implementations are java.util.ArrayList, java.util.LinkedList, java.util.Vector. While writing code you take a freedom of using the generic type i.e. List. But at runtime, based on some parameter you determine …

Featured, Tech Notes »

[2 Nov 2009 | 4 Comments | ]
Performance Testing Web Service Using SoapUI

Performance testing is a critical step in the life cycle of any project. This step checks if the application is capable of handling expected load within desired response time limits in given environment resources. Web services are not free from the performance requirements. Generally, web services involve remote access by many clients, hence web services need to have high performance. Due to remote access involvement, testing a web service is not as easy as testing a standalone programs or web based applications. There is need of special tools to test …