Submitted by heartin on Sat, 12/15/2012 - 19:08
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.
Submitted by heartin on Wed, 12/12/2012 - 20:00
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:
Submitted by heartin on Wed, 12/12/2012 - 11:16
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.
Submitted by heartin on Sun, 12/09/2012 - 19:27
Summary of steps to deploy a web service in tomcat with JAX-WS
Setup and start tomcat
Download the jax-ws ri zip, unzip it and copy paste the required jars into lib directory of tomcat.
Development and deployment
Build the class files and place class files under WEB-INF/classes according to your package structure.
Create files web.xml and sun-jaxws.xml (with required details) under WEB-INF folder.
Submitted by heartin on Sun, 12/09/2012 - 19:21
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.
Submitted by heartin on Sat, 12/08/2012 - 19:40
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:
Submitted by heartin on Fri, 12/07/2012 - 05:02
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.
Submitted by heartin on Tue, 12/04/2012 - 09:21
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.
Submitted by sneha on Mon, 12/03/2012 - 07:11
We will write a simple JDBC program to get started with JDBC concepts we learned at javajee.com/introduction-to-jdbc. Refer to the notes on particular database for installation and configuration prerequesites.
Submitted by heartin on Tue, 11/27/2012 - 08:27
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.