Using SSL(Secure Socket Layer) in JAX-WS webservice

Introduction In this tutorial I will show how to use SSL/TSL or https in JAX-WS based SOAP webservice. For using SSL with JAX-WS webservice you need one keystore file. I will use here Java tool to generate the keystore file. I also need to configure SSL in Tomcat server because I am going to deploy our application into Tomcat server.

JAX-WS webservice deployment example in Tomcat Server

Introduction We will create a post on JAX-WS webservice deployment example in Tomcat server. We have seen that we have successfully created the jax-ws webservice example tutorial and also published and tested the service successfully. Now we will deploy the same webservice in Tomcat Server.

JAX-WS webservice example

Introduction I am going to give an example on how to create a SOAP based jax-ws webservice. I will show you how to publish the service in two approaches. First approach for publishing the service will be just using the java main method. Second approach will be by deploying the service in Tomcat Server 7 in another tutorial. We will…

Cucumber Test Framework – Cucumber-JVM with Cucumber-Java + Cucumber-Junit

Introduction Cucumber test framework is a tool for running automated acceptance tests written in a behavior-driven development (BDD) style. Cucumber test framework is written in the Ruby programming language. Cucumber projects are available for other platforms beyond Ruby. Some use Ruby Cucumber with a bridge into the target language (e.g. cuke4php and cuke4lua). Others use the Gherkin parser but implement…

java.security.cert.CertificateException: No name matching localhost found

Introduction Here I will show you how to fix the issue java.security.cert.CertificateException: No name matching localhost found. To fix it, add a javax.net.ssl.HostnameVerifier() method to override the existing hostname verifier.

Add Input Fields To Form Dynamically Using jQuery

Introduction This tutorial shows an example how to add input fields to form dynamically using jQuery. Input field types may be text, textarea or file to the form. I also have added remove button next to the added input field to remove the field if you think later that do not need it. For this example, I have used here…

Display elements one by one from an array using jQuery

Introduction I will show you in this example, how to display elements one by one from an array using jQuery. Let’s say you have a button on the web page and on clicking the button the values from array will be displayed one by one. There are two examples below, one simply access the values from an array and another…

Limit Number Of Checkbox Selections Using JavaScript

Table of Contents Introduction Prerequisites Limit Checkbox Selection Using JavaScript Using Form HTML JavaScript Using Div HTML JavaScript Testing Checkbox Selection Limit Using Form Using Div Source Code Introduction This tutorial shows how to limit number of checkbox selections using JavaScript in a group of checkboxes. Suppose you have a group of checkboxes in a form or in a div…

AJAX Technique Example Using JavaScript

AJAX – Asynchronous JavaScript And XML This tutorial shows an example on AJAX using JavaScript. AJAX is an acronym that stands for Asynchronous JavaScript And XML. Therefore it is not a technology, but a technique which is implemented using JavaScript. Here I will show you how to use AJAX technique in simple way without using jquery or any other framework….

JavaScript function which takes multiple ids and returns multiple elements

Introduction This tutorial shows how to implement a JavaScript function which takes multiple ids and returns multiple elements. document.getElementById() only supports one name at a time and returns a single node but not multiple nodes or an array of nodes.