Blog Archives
1 2

02: Java 8 Streams, lambdas, intermediate vs terminal ops, and lazy loading with simple examples

A stream is an infinite sequence of consumable elements (i.e a data structure) for the consumption of an operation or iteration. Any Collection<T> can be exposed as a stream. …...



BeanIO Java tutorial

BeanIO is an open source Java framework for marshaling and marshaling Java beans from a flat file, stream, or simple String object. It is very powerful with support for XML,

Read more ›



Debugging like a pro with eclipse IDE tutorial for Java developers

Often you get to work on a fully functional Java application that is already in production to fix production issues or to enhance its existing functionality. As a new Java developer in the team,

Read more ›



Java and JAXB Tutorial – Marshaling

This blog posts extends Java and JAXB tutorial: Unmarshalling.

Q. Can you create your Java objects from XSDs?
A. Yes, you can by binding a schema. Binding a schema means generating a set of Java classes that represents the schema.

Read more ›



Java and JAXB tutorial – unmarshalling

Q. What does JAXB stand for? What is an XML Binding?
A. JAXB means Java API for Xml Binding. XML binding maps an XML to in-memory Java objects. The principle advantage of using JAXB when marshaling and demarshaling XML is that is simplifies the programming model by allowing us to simply annotate a few POJOs and use the JAXB API’s and you can serialize to XML and deserialize from XML very easily.

Read more ›



Java and JSON tutorial with Jackson library

Q. What is JSON and when to favor it over XML? A. JSON (JavaScript Object Notation) is a lightweight, text-based, language-netral like XML, but less verbose than XML data exchange...



Java and XML tutorial with DOM Parser

Q. What is a DOM parser, and when will you use it? A. The Java DOM API for XML parsing is intended for working with small to medium XML documents as...



Java and XML tutorial with SAX parser – reading only

Q. What is a SAX Parser and when will you use it? A. SAX  (Simple API for XML) is a stream oriented API like StAX, … Read more ›...



Java and XML tutorial with StAX parser – reading

Q. What is a StAX Parser and when will you use it?
A. The StAX Java API for XML processing is designed for parsing XML streams,

Read more ›



Java and XML tutorial with Stax Parser – writing cursor based and iterator based

Here is a simple example to write employee object to XML using simpler cursor based approach. … Read more ›...



Java OpenCSV tutorial to work with CSV files

BeanIO is an open source Java framework for marshaling and marshaling Java beans from a flat file, stream, or simple String object. It is very powerful with support for XML,

Read more ›



Java project with packages & jar file dependency without an IDE & build tool tutorial

Step 1: Create the following folders

1. c:\projects\learn-java is the “project folder“.

2.

Read more ›



javap for debugging and better understanding some Java concepts with 3 practical examples

The javap is a class file dissembler. Here are 3 scenarios you can put javap to use with code examples.

#1 Finding the Java version of the class file within a jar

Extract a class file say “MyJobRunner.class”

Read more ›



1 2

300+ Java & Big Data Interview FAQs

800+ Java Interview Q&As

Java & Big Data Tutorials

Top