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
Prerequesites
-
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.
Pages