Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

 

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

 

and many more ....

 

Receive Java & Developer job alerts in your Area

I have read and agree to the terms & conditions

 

JAX-WS Callback Example

1. Introduction Java Architecture for XML Web Services (JAX-WS) is a Java programming language for creating web services, particularly SOAP services. JAX-WS provides both Callback and Polling mechanisms to invoke web services asynchronously. In Callback mode, the client provides a callback handler to accept and process the inbound response object. In this example, I will demonstrate how to invoke a JAX-WS ...

Read More »

Java Read File Line by Line Example

Bipartite Graph

Hello readers, in this tutorial, we will see an example of how to Read a File Line by Line in Java 8. We will learn the Java 8 Stream’s API for reading a file’s content line by line and we will explore its different characteristics. 1. Introduction These days in the programming universe reading the file content is one of ...

Read More »

Java 8 StringJoiner Example

Bipartite Graph

Hello readers, in this tutorial, we will learn about the Java8 Stream’s API StringJoiner feature and we will explore its different characteristics. 1. Introduction These days in the programming universe joining multiple strings are a common task among the developers. In the ancient Java world, there was no direct way to join the multiple strings. Java8 has introduced a final ...

Read More »

Java 8 flatMap Example

Bipartite Graph

Hello readers, in this tutorial, we will learn about Java8 Streams API flatMap() method and in which structure it can be used. 1. Introduction A flatMap() method is a Java8 programming operation which takes a single function as an argument. This function accepts the T parameter as an input argument and returns a stream of R parameter. When this function ...

Read More »

Android Application Class Example

We all know there is an Application class in the Android API, that is usually used for maintaining global application state but how does it work? In this article, let’s explore it with the help of examples and discuss its advantages & disadvantages.                   Table Of Contents 1. Introduction 2. Callback Methods ...

Read More »

Java 8 Convert a List to Map Example

Bipartite Graph

Hello readers, in this tutorial, we will learn how to convert a List<?> to a Map<K,V> using Java8 Streams API. 1. Introduction The most common task in Java programming is to convert a List of the object e.g. List<?> into a Map e.g. Map<K,V> where K is some property of the object and V is the real object. For e.g., ...

Read More »

For Each Loop Java 8 Example

Bipartite Graph

In this post, we feature a comprehensive For Each Loop Java 8 Example. Foreach method, it is the enhanced for loop that was introduced in Java since J2SE 5.0. Java 8 came up with a new feature to iterate over the Collection classes, by using the forEach() method of the Iterable interface or by using the new Stream class. In ...

Read More »

JAX-WS JAXB Example

1. Introduction Java Architecture for XML Web Services (JAX-WS) is a Java programming language for creating web services, particularly SOAP services. Java Architecture for XML Binding (JAXB) is a Java-XML binding technology that simplifies the development of web services by enabling transformations between a schema and Java objects, and also between XML instance documents and Java object instances. Both JAX-WS ...

Read More »

Log4j Specific File Location Example

This article is a tutorial about logging to files in specific location. We will first checkout other logging methods and then proceed to log to a specific location. 1. Introduction Log4J(Java) is the widely used logging framework for Java. It continues to grow continuously with recent upgrade of Log4j2. Log4j helps to log files to a file or console or ...

Read More »

Java Swing JTextField Example

Bipartite Graph

Swing offers us components through which users can type in text input. JTextField is one such component which is used to allow applications to accept single line input. Even user can go for standard operations like copy, paste, cut, delete. 1. Introduction Swing offers several components to ease user experience while typing in text or edit text. Different such are ...

Read More »