Articles in the Tech Notes Category
JEE, Tech Notes »
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 –>
…
Featured, Tech Notes »
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 …
JUnit, Tech Notes »
Test driven development, automated testing, open source unit testing frameworks, mocking test data, etc. etc. have been buzzing around us for past few years. Most of the Java developers must have used JUnit to write unit test cases at least once. Below are some of the points that I found important while writing JUnit test cases in application development. You can call these as tips, best practices, or whatever you like.
Externalize Data: Move test data out of test classes. You can have helper classes …
Java, Tech Notes »
Here is a utility that will help you to better use java.util.logging.Logger class. In this utility, I have tried provide the most commonly used features in this utility. In this article, few important features of Java logger framework are also explained in brief while going through the code. I am not going into deep to explain all features of Java logger technology, instead focusing on what this utility will help you with. You can use it as is or customize it according to your advanced needs.
Let us start with the …
Java, Tech Notes »
In previous article, we have seen how to connect to active directory (AD) using Java provided LdapContext object. It may not be always the situation that you are satisfied with authentication of users against the AD database. You may want to retrieve all user details for one or other purpose. Obviously, that is why you have taken pain to store those in a secured database by paying huge licensing fees to Microsoft. Here to explore further, we are taking your java application, which can be a tiny standalone program, or …
