Blog Archives
1 … 26 27 28 29 30

Unix Sed commands for Java developers

sed (stream editor) is one of the powerful workhorse commands in UNIX. Recently I had to use it with “Git” and “Maven” to find text “SNAPSHOT” in all pom.xml files, and manually update them with a realease version like 1.0.2 without the suffix “SNAPSHOT”.

…

Read more ›



Unix shell script to upload & download data between HDFS and edge node

In BigData projects relating to HDFS or AWS S3, it is common to have scripts that transfer or download data from HDFS to the local file system on an edge or gateway node with CLI commands like HDFS, AWS, etc. You also need to upload files from a local file...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


Unix tutorial with MobaXterm

Many industrial Java applications are developed om a WIN32 platfor, but run on a target platform, which is Unix based. If you are a beginner to Unix, and would like to work on an emulator that runs on a Win32 platform, this post is for you. MobaXterm is a set of Unix commands (GNU/Cygwin) included in a single portable exe file.

…

Read more ›



XML Parsing with JAXB implementation called MOXy

Step 1:Create a new Java project via Maven as shown below, and import the project into eclipse IDE.

Step 2: The pom.xml file with the MOXy dependency.

Step 3: Create a new “Source Folder” … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


XML processing in Java overview with a Stax reader example

Q. What APIs do Java provide to process XML? What are the pros and cons of each, and when to use what? A.  SAX: Pros: Memory efficient and faster than the DOM parser. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


YAML with Java using the SnakeYaml library tutorial

Step 1: Add “snakeyaml” to maven pom.xml as a dependency

Step 2: Define a YAML file under src/main/resources. For example, “logging.yml”

Step 3: Create a LoggingConfiguration Java POJO class.

Step 4: Finally,

…

Read more ›



Yammer metrics tutorial with JMX to gather metrics

Note: Yammer metrics has now moved to metrics-core.

from com.yammer.metrics:metrics-core:2.2.0 (NOT supported anymore) to com.codahale.metrics:metrics-core:3.0.*

from com.codahale.metrics:metrics-core:3.0.* to io.dropwizard.metrics:metrics-core:3.1.* since 2014.

When you are running long term applications like web applications, batch jobs,

…

Read more ›



Zookeeper example – getting started tutorial with Java & Docker

Zookeeper solves challenges in a distributed system. This extends Apache Zookeeper interview Q&As and Getting started with Zookeeper tutorial. In this Zookeeper tutorial let’s use Docker. Zookeeper image in Docker Hub Step 1: Zookeeper image can be found at Docker Hub. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


⏯ Java high-level architecture & Integration Styles Interview Q&As Video

Links to Java Architecture Q&As

— Java/JEE integration styles interview questions and answers
— Java/JEE Architecture overview interview questions and answers

…

Read more ›



⏯ Spring boot with Spring MVC, JPA, Hibernate and MySQL video tutorial

Related Link 1. AngularJS 1.x with Spring MVC RESTful web service beginner tutorial in 14 steps. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


1 … 26 27 28 29 30

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data