Part 1 – Getting started with Linux

Linux is a system OS first written by Linus Torvalds in 1991 in c++. Linux OS is one of the best environment to work for any software architect, engineers, developers system analyst . There are two major ways of getting things done on computer 1.Graphical User Interface ( GUI ) 2.Command Line Interface ( GUI... Continue Reading →

Advertisements
Featured post

Computer Numbering System

This article explains what is computer number system (CNS), different types of CNS, digits and positional value of each CNS, manipulation and conversion of various CNS and application of CNS. Humans and computers have different ways of identifying , counting and manipulating   numbers. Identifying and counting numbers by human varies from simple to complex , suppose... Continue Reading →

Featured post

How to install DynamoDB on Windows

This tutorial shows how to install DynamoDB on Windows. Note The DynamoDB does not require installation, just download and extract any of the available zip files, configure the data directory and start it with command java -jar DynamoDBLocal.jar. DynamoDB will not run on older JRE versions < 6.x 1. Download DynamoDB Download any of the available zip files... Continue Reading →

Featured post

Java DynamoDB Tutorial

Java DynamoDB Tutorial     Amazon DynamoDB , is a fast and flexible NoSQL database with many great features like predictable performance , massive scalability, data type and model,partitions,JavaScript Web Shell and etc. The following Java / Spring Data DynamoDB tutorials and examples are tested with : DynamoDB 3.4.7 Java-DynamoDB-Driver x.1.0 Spring-Data-DynamoDB x.1.0.RELEASE 1. DynamoDB Core... Continue Reading →

Featured post

Convert PDF to CSV

PDFBox - Convert PDF to CSV This article shows you how to use Apache PDFBox to connvert a PDF to CSV file in Java. 1. Get PDFBox pom.xml <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artifactId> <version>2.0.6</version> </dependency> 2. PDF example 3. Convert PDF to TXT file PDF_TXT.java package com.dzone.pdf_txt; import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.Scanner;... Continue Reading →

How to use REGEX to detect credit card type (Part II)

This is the final part of this tutorial which covers building and deploying of Java EE app for detecting credit card type. Please ensure you read the part I of this tutorial 1 : Configure your pom.xml with the following dependency pom.xml <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>1</version> </dependency> <dependency> <groupId>javax.ejb</groupId> <artifactId>javax.ejb-api</artifactId> <version>3.2</version> </dependency> <dependency> <groupId>javax.enterprise</groupId> <artifactId>cdi-api</artifactId>... Continue Reading →

Featured post

How to use REGEX to detect credit card(Part I)

This 2- part tutorial series covers building and deploying a Java EE app for detecting credit card info(s) using the following tools   Java7&8 Java EE 7 Maven Apache Tomcat for local deployment Github (Software Development Platform) Heroku (Cloud Application Platform) We will be building something like this.   The part I of this tutorial... Continue Reading →

Featured post

PartitioningBy examples in Java 8

This article shows how to use Collectors#partitioningBy in Java 8 to partition students survey List report 1. Students survey class StudentSurvey.java (POJO class) package com.dzone.java8; public class StudentSurvey{ private String fullName; private int level; private double overallScore; public StudentSurvey(String fullName, int level, double overallPerformance){ this.fullName = fullName; this.level = level; this.overallScore = overallPerformance; } public String getFullName()... Continue Reading →

Featured post

Using capturing lambdas with local and instance variable in Java 8

This article shows the do's and don'ts of using local and instance variables with lambda expression. Example 1 : Using lambda with instance variables package com.dzone.java8; import java.util.function.Function; public class Example1 { public static void main(String...args){ Function<string,string> isAdmin = (admin) -> ( admin.equalsIgnoreCase("admin") ? String.format("Login successful for " + admin.toUpperCase()) : String.format("Login failed for "... Continue Reading →

Featured post

Create a free website or blog at WordPress.com.

Up ↑