JAX WS Tutorial with Example code

Starting with JDK 1.6,  JAX-WS is available with Java Installation. Hence it is now easier to develop web services in Java. No need to separately download other libraries. All you need is in your JDK installation. This tutorial will explore JAX – WS in detail.… Read More

Java Generics Tutorial

This tutorial  looks at Java Generics in detail and explores the flexibility it offers. Most important aspects of Generics are covered in Simple to understand language. Hope this tutorial is useful to readers. Java Generics  Generics enable types (classes and interfaces) to be parameters when… Read More

How to Check Java Version

It is very easy to find out the version of  java in use. It is also handy to understand whether a particular java installation is 32 bit or 64 bit Step 1 Open a Command Prompt Simultaneously click the (Windows Logo Key Button + R… Read More

Java String Tutorial

Understanding and mastering the usage of String class is a very important goal in learning java and it can actually go a long way in writing effective, efficient code. What is a  Java String  A String is nothing but a sequence of characters. String is… Read More

Understanding Java Garbage Collection

Here is an excellent tutorial on Java Garbage Collection. You will learn about How Garbage Collection Works Classifying Current Available Collectors GC fundamentals and key terminologies The Application memory wall problem Learn about Concurrent Collector, Parallel Collector, Stop the World Collector and Incremental Collector. The… Read More

How to Join Two Lists In Java

Let us look at an example to understand how two lists can be joined together to create a merged list

If you just want to append the second list to the end of the first one, you can use

How to reverse a string in Java

There are two approaches to reverse a string in java 1) Use the StringBuffer class StringBuffer provides a reverse method to do the job [code language=”java”] public class ReverseString { public static void main(String args[]) { StringBuffer buff = new StringBuffer("Hello World"); System.out.println(buff.reverse()); } }… Read More

Google’s Java Coding Standards

Google has released the java coding standards they enforced in their projects. These rules are enforced and clearly followed universally within Google.The standards document is divided into 6 main sections: Source File Basics Source File Structure Formatting Naming Programming Practices Javadoc Most of these are… Read More