Blog Archives
1 … 23 24 25 26 27 28 29 30

Part 1: Creating an empty multi module maven project structure

Enterprise projects will have multi maven modules.

Step 1: Create simple-app-parent is a package of type “pom”

press “Y” for all the questions.

Step 2: cd into your newly created root dir “simple-app-parent”

Step 3: Create a child module “simple-app-service”,

…

Read more ›



Part 2- Adding dependency jars to multi-module MVN project

This extends Part 1: Creating an empty multi module maven project structure.

Dependency Management allows you to consolidate and centralize the management of dependency versions without adding dependencies which are inherited by all children. The dependencyManagement control the versions of artifacts used in transitive dependencies.

…

Read more ›



Part 3- Adding plugins to multi-module MVN project to perform specific tasks

This extends Part 1: Creating an empty multi module maven project structure and Part 2- Adding dependency jars to multi-module MVN project. The “pluginManagement” defines the settings for plugins that will be inherited by modules in your build. Let’s define the jaxb2 plugin in the parent pom file “simple-app-parent/pom.xml”

…

Read more ›



Passing Pentaho DI (i.e. Kettle) rows of data to Java layer (i.e. POJOs)

This extends the tutorials on Pentaho DI 1) Part 1: Pentaho with user defined Java transformer tutorial. 2) Part 2: Invoking a Pentaho DI (i.e. Kettle) transformation from Java. Step 1: Modify the flow in “Part 1” … 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


Pentaho with user defined Java transformer tutorial

What is Pentaho Data Integration (aka Kettle)? Pentaho Data Integration (or Kettle) delivers Extraction, Transformation, and Loading (ETL) feature. Similar to what Spring batch does, but Kettle has a graphical interface. In this tutorial, the transformer is defined as a user defined Java class. Step 1: Download Pentaho Data Integration...

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


Power of Excel spreadsheet to dynamically generate SQL

When you have some data in tabular (e.g. Excel spreadsheet) format and would like to insert into a database table, you need to write an SQL insert query. Manually writing SQL query for multiple records can be cumbersome. This is where Excel spreadsheet comes in handy as demonstrated below. A single SQL query can be copied down where the formulas get copied with incrementing column numbers.

…

Read more ›



Power of regex for productivity with Notepad++ or Sublime Text

This post is based on industrial strength examples of applying regular expression to increase your productivity as a software engineer. Many text editors like Notepad++, Sublime Text, Atom, etc support regular expressions in their find and replace functionality. If you are new to regular expression, practice at https://regexr.com/ or https://regex101.com/...

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


Power of SQL as a productivity tool

There are times where you need to generate “INSERT” SQL statements from existing data. For example, you may have a production release ready “Delete” SQL statement as shown below to remove some existing records.

For this script, you need to have a rollback script to insert the values back in.

…

Read more ›



QuickFix Java example sending and recieving FIX messages

If you like to work on trading applications, you need to know the  FIX protocol and a FIX  engine like QuickFIX/J.  This extends our simple QuickFIX Java example tutorial. This assumes that you understand the first QuickFIX Java tutorial. … 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


Remote debugging in Java with Java Debug Wire Protocol (JDWP)

What is remote debugging? It is increasingly essential with the globalization to be able to debug a Java application that is deployed remotely, in another country or city. You will come across scenarios where an application might be running fine in your sandbox (i.e. local desktop), but might be buggy...

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


RESTful Web Service Tutorial with Apache CXF, Maven, and Eclipse

Nowadays, it is more common to work with RESTful Web Service than with SOAP based Web service. This RESTful Web Service using the Apache CXF library assumes that 1) You have set up you Java, Maven, and Eclipsr 2) You have set up your Tomcat Server 3) You Have gone...

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


RESTful Web Service Tutorial with RESTEasy, Spring, Maven, and Eclipse

Nowadays, it is more common to work with RESTful Web Service than with SOAP based Web service. This RESTful Web Service using the RESTEasy library assumes that 1) You have set up you Java, Maven, and Eclipse 2) You have set up your Tomcat Server 3) You Have gone through...

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


Setting up Groovy beginner tutorial with eclipse & command-line

Groovy is a general purpose scripting language which runs on the JVM, and can be viewed as a superset of Java. There are jobs requiring Java and Groovy skills. Any “.java” file can be renamed to “.groovy” and run via the groovy. Java needs two step process like “javac” to compile and “java”

…

Read more ›



1 … 23 24 25 26 27 28 29 30

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data