Overview of WSDL

WSDL stands for Web service Description Language. A WSDL document is a contract between a SOAP–based web service and its consumers. A WSDL document provides critical information such as service endpoint, service operations, data types required for operations, description of messages exchanged, and underlying service pattern (request/response, solicit/response etc). The WSDL document is useful for both creating and executing clients against a web service.

Message Exchange Patterns in Web Services

A message Exchange Pattern (MEP) is a pattern for the exchange of messages between two communicating parties like a server and a client. The most common such pattern is the request-response pattern where the client sends a request and the server sends a response back. From a server perspective this is an input-output operation. Based on different combinations of input and output, the WSDL specification defines 4 patterns: 

[Lab] Making the Java SE Endpoint Publisher Multithreaded

The Java SE Endpoint Publisher supports end-point multithreading without much programmer work.

An Endpoint object has an Executor property defined with standard get/set methods.

An executor is an object that executes Runnable tasks such as java Thread instances. An executor is a nice alternative to thread instances, as the Executor provides high level constructs for submitting and managing tasks that are to be executed concurrently.


[Lab] Deploying a Bottom-Up Web Service in Tomcat Web Container

Summary of steps to deploy a web service in tomcat with JAX-WS


  1. Setup and start tomcat

  2. Download the jax-ws ri zip, unzip it and copy paste the required jars into lib directory of tomcat.


Development and deployment

  1. Build the class files and place class files under WEB-INF/classes according to your package structure.

  2. Create files web.xml and sun-jaxws.xml (with required details) under WEB-INF folder.

[Lab] Creating a Soap Web Service Bottoms Up Using Java SE Endpoint Publisher

In this example we will use bottom up approach to develop a simple SOAP based web service and then publish it using a Java SE Endpoint publisher. We will nto be using any server like Glassfish in this example. 

Important JDBC Core API Classes, Interfaces and Exceptions

The JDBC API is comprised of two Java packages: java.sql and javax.sql. The following are core JDBC classes, interfaces, and exceptions in the java.sql package:

Introduction to Web Services in Java

Web services are services exposed over a network and is designed to be used automatically by other applications without human interaction.

A practical example for web services is a news web site which also shows cricket score. The cricket score service can be provided as a web service on a different server and our news web site can automatically invoke that service without any human intervention, get the result and update it along with the news. Note that this can also be done using Ajax.

Introduction to JDBC

JDBC is an API for accessing data in relational databases such as Oracle, MySQL etc. from Java in a standard way using the SQL language. JDBC actually lets you access any tabular data sources like relational databases, spreadsheets or even flat files. You pass SQL to java methods in the JDBC classes and get back JDBC objects that represent the results of your query. JDBC is portable since Java is portable across platforms. JDBC also allow us to access an ODBC-based database using a JDBC-ODBC bridge.  

Installing and Configuring Oracle XE for JDBC Hands On


We will write a simple JDBC program to get started with JDBC concepts we learned at to the notes on particular database for installation and configuration prerequesites.


Inner Classes in Java

Inner class is a class within another class, method or block. An inner class can be one of the following four types: Anonymous, Local, Member and Nested top-level. 


Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within!!!