Blog Archives
1 2 3

01: JAXB Tutorial for XML processing in Java step by step – unmarshall & marshall

Step 1: Create a Java Maven project.

Import the “simple-jaxb” folder that has the pom.xml it into eclipse as an “existing maven project”.…



01: JDBC with MySQL Beginner Tutorial Step by Step

This assumes that MySQL database is setup as per the tutorial Getting started with MySQL database beginner tutorial and ⏯ MySQL database beginner video tutorial.

Step 1: Create a maven based Java project from a command-line.



01a: ⏯ JDBC with MySQL Beginner Video Tutorial

[arve url=”https://player.vimeo.com/video/223617551″] Related Links 1. JDBC with MySQL Beginner Tutorial Step by Step. Extends ⏯ MySQL database beginner video tutorial JDBC Interview Q&As 1. 12 FAQ JDBC interview questions and…



02: JAXB with StAX Tutorial step by step for unmarshalling

This tutorial extends JAXB Tutorial for XML processing in Java step by step – unmarshall & marshall

When to use JAXB with StAX?

When you want to process large XML files, reading the whole file into memory can cause “OutOfMemoryError” as discussed in Java String & Array limitations and OutOfMemoryError post.…



02: JDBC with MySQL, Datasource, and connection pool Tutorial

Step 1: pom.xml file with commons-dbcp2 for the connection pooling and abstraction layer for the datasource.



02a: ⏯ JDBC with MySQL, Datasource, Connection Pool, and Prepared Statements Video Tutorial

Related Links 1. JDBC with MySQL, Datasource, and connection pool Tutorial. 2. JDBC with MySQL and PreparedStatements Tutorial. Extends ⏯ MySQL database beginner video tutorial ▶ JDBC with MySQL Beginner…



03: JAXB with StAX Tutorial step by step for marshalling

This tutorial extends JAXB Tutorial for XML processing in Java step by step – unmarshall & marshall When to use JAXB with StAX? When you want to process large XML…



03: JDBC with MySQL and PreparedStatements Tutorial

Step 1: Add an additional method to save data.



04: JAXB tutorial with XSD & binding.xjb

Step 1: Create a “simple-jaxb” project using Maven

Step 2: Import the project into eclipse with File –> Import –> Existing Maven Projects and choose your folder you just…



Apache HTTPClient POST request sample code

This extends the Apache HTTPClient Tutorial to invoke RESTFul service with a POST request.

The pom.xml



1 2 3

800+ Java & Big Data Interview Q&As

200+ Java & Big Data Tutorials

Top