Related Links 1. Spring Boot Web & Actuator Beginner Tutorial Step by Step. 2. Simple Spring Boot Tutorial in 8 steps. Spring Boot Interview Q&As 11 Spring boot interview questions & answers. … Read more ›...
Related Links 1. Spring Boot Web & Actuator Beginner Tutorial Step by Step. 2. Simple Spring Boot Tutorial in 8 steps. Spring Boot Interview Q&As 11 Spring boot interview questions & answers. … Read more ›...
Related Links 1. Spring MVC with Java Configs instead of XML configs step by step – No web.xml. Extends Video Tutorials 1. ⏯ Spring MVC form submission video tutorial step by step. … Read more ›...
This tutorial extends the previous tutorial Simple Akka tutorial in Java step by step and Akka tutorial “ask” request – response pattern in Java. Step 1: The “Producer.java” is an actor now. It receives messages from both “ProducerConsumerMain.java”, which is a “DeadLetterActorRef” … Read more ›...
mount a host directory into a Docker container so that the folders & files in the host will show up in the Docker container after building the dockerfile. There are a couple ways you can do this. Option 1: ADD In this approach, any changes made to this directory on...
This tutorial uses Drools as a validation engine to validate an input csv file. The rules are maintained externally in an excel spreadsheet. Step 1: Create a new Maven project
|
1 |
mvn archetype:generate -DgroupId=com.mytutorial -DartifactId=myDroolsTutorials -B |
“-B” means interactive mode is false. Import it into eclipse or IDE of your choice as a maven project....
Install Python & pip Step 1: Check if python is already installed. Ubuntu ships with both Python 3 and Python 2 pre-installed.
|
1 2 3 4 |
$ python -V $ python3 -V |
if already installed, make sure that the versions are up-to-date, as it needs to be either 3.3+ or 2.7+.
|
1 2 3 4 |
$ sudo apt-get update $ sudo apt-get -y upgrade |
If not, … Read more ›...
This is an extension to the JasperReport step by step tutorial (Part-1) to demonstrate how to generate a a PDF file from the Main.java. To generate a PDF file you need the iText.jar as a dependency. Here are the Maven dependency files required.
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<!-- Jasper reports --> <dependency> <groupId>net.sf.jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>5.0.1</version> </dependency> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> <version>2.1.1</version> </dependency> <dependency> <groupId>com.lowagie</groupId> <artifactId>itext</artifactId> <version>2.1.7</version> </dependency> |
Next, … Read more ›...
Step 1: Create a “simple-jaxb” project using Maven
|
1 |
mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart -DgroupId=com.jaxb.tutorial -DartifactId=simple-jaxb -Dversion=0.0.1 |
Step 2: Import the project into eclipse with File –> Import –> Existing Maven Projects and choose your folder you just created with pom.xml file “simple-jaxb”. Step 3: select “src/main/resources” … Read more ›...
This extends Install Kubernetes (i.e. minikube) on Mac.
Step 1: Start the Docker.app on Mac, and then start the minikube cluster from a terminal.
|
1 2 3 |
~]$ minikube start |
This creates a local Kubernetes cluster. You can confirm if the Minikube cluster is running with:
|
1 2 3 |
~]$ minikube status |
Kubectl vs Kubernetes Cluster
A Kubernetes cluster can be created on a cloud like AWS,
…
Step 1: Create a “simple-spring-mvc” maven project.
|
1 2 3 |
C:\Users\java-_000\projects>mvn archetype:generate -DgroupId=com.mytutorial -DartifactId=simple-spring-mvc -B |
Step 2: Import the project into eclipse. File > Import -> Existing Maven Projects and select “C:\Users\java-_000\projects\simple-spring-mvc”. Step 3: The pom.xml file should look like:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.mytutorial</groupId> <artifactId>simple-spring-boot</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>simple-spring-boot</name> <url>http://maven.apache.org</url> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <java.version>1.8</java.version> </properties> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.4.RELEASE</version> </parent> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> <version>1.1.0.Final</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> </project> |
“spring-boot-starter-thymeleaf” … Read more ›...
Q. Why do micro services applications require a config server? A. A Config Server is a MicroServices Architecture (aka MSA) feature where all configurable parameters of Microservices are written to & maintained. It is all about externalising properties/resources files out of the project code base to an external service so...
Install eclipse
Step 1: Download and install eclipse latest version into the “c:\tools” folder from
http://www.eclipse.org/downloads/
It is an IDE (i.e. Integrated Development Environment). This tutorial downloads Eclipse Neon. Get the EE (Enterprise Edition).
…
Related Links
1. Setting up Eclipse IDE step by step tutorial.
2. Top 10 Eclipse short-cut keys every Java developer using eclipse IDE must know.
…
I have a good news, I got job offer. I like to share with you from my bottom of my heart feeling thankful to you.