Quantcast
Channel: Experiences Unlimited
Browsing all 168 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Using Google reCaptcha with Spring Boot application

Introduction reCaptcha by Google is a library used to prevent bots from submitting data to your public forms or accessing your public data. In this post, we will look at how to integrate reCaptcha with...

View Article


Image may be NSFW.
Clik here to view.

How to Deploy Spring Application Without web.xml to Tomcat

Introduction Since the Servlet 3 specification web.xml is no longer needed for configuring your web application and has been replaced by using annotations. In this article, we will look at how to...

View Article


Image may be NSFW.
Clik here to view.

Configure Embedded H2 Console With Spring MVC Application

In our previous post we deployed a Spring MVC app using embedded H2 database to Tomcat. Browsing the data in an embedded DB is difficult because we cannot connect an external client to view the data....

View Article

Image may be NSFW.
Clik here to view.

Java Interface – Journey Over the Years to Java 9 – Default and Private Methods

Introduction Interface in Java has evolved over the Java releases more so in Java 8 and Java 9. In this article we will look at how Interface was prior to Java 8 and how it has been enhanced in Java 8...

View Article

Image may be NSFW.
Clik here to view.

Spring Boot: Thymeleaf Template Decorator Using Thymeleaf Layout Dialect

Introduction The question on reusing header and footer on all Thymeleaf templates has been often been asked on StackOverflow. In this article, I will show you how you can structure the templates using...

View Article


Image may be NSFW.
Clik here to view.

Moving From Mustache.js and jQuery to Vuejs for Client Side View Management...

Introduction A month ago I wrote a post on using Mustache.js for client-side templating. I am pretty excited about the way we use Mustache.js, jQuery Ajax Client to build views. Its simple and does the...

View Article

Image may be NSFW.
Clik here to view.

Creating Simple Component in Vuejs

Introduction In this article, we will look at creating a very simple component in Vuejs. Let me pick the example from my previous post and create a component for showing the loading message. Vuejs...

View Article

Image may be NSFW.
Clik here to view.

Creating Bootpag Like Pagination Component Using Vuejs

Introduction In this article, I will try to create a pagination Vuejs component similar to the one supported by jQuery Bootpag plugin. Component State The component should track the following: Current...

View Article


Sample Logback Configuration for Spring Boot Profile Based Logging

We would want different logging configurations for different profiles in Spring Boot, like in local running we would just want console logging and for production, we would want file logging with...

View Article


Java 10 – JEP 286: Local-Variable Type Inference

Java 10 is around the corner with RC Build available here. The features targetted for this release can be found here. Of all the JEPs targetted for Java 10, the interesting and most talked about by the...

View Article

API Updates in Java SE 11 (18.9)

Java SE 11, which is also named as 18.9 (based on the new naming scheme which uses the year and month of release), is slated to be GA during the last week of September. The new approach for releasing...

View Article

Launch Single-File Source-Code Programs in JDK 11

JEP 330 – Launch Single-File Source-Code Programs is one of the exciting features in the upcoming JDK 11(18.9) release. This feature allows executing your java source code directly using the java...

View Article

Working with LocalDate, LocalTime and LocalDateTime

Java 8 had a major change for the date and time APIs, which was the inclusion of Joda Time APIs into JDK under the JSR 310: Date and Time API. This JSR was lead by Stephen Colebourne, the creator of...

View Article


How to create a QR Code SVG using Zxing and JFreeSVG in Java?

In this article, we will look at how to use the Zxing QR code generation library and JFreeSVG library to create a QR Code SVG image in Java. QR Code Generation The below code creates a...

View Article

JDK 12 – JEP 325 Switch Expressions

JDK 12 went GA on March 19, 2019, keeping its word on shorter release cycles and frequent releases. The features part of the release can be found here. One of the interesting features for the...

View Article


How to Create QRCode Using QRGen in Java

In one of my previous articles, we saw how to create QRCode and its SVG equivalent using Zxing Java library. The Zxing library is no longer actively maintained and for this, there is a wrapper around...

View Article

Image may be NSFW.
Clik here to view.

Integrate Spring Boot Application with Amazon Cognito

In this article, we will show how to use Amazon Cognito service for authentication users in a Spring Boot application using the OAuth 2.0 client library introduced in Spring Security 5.0. What is AWS...

View Article


Image may be NSFW.
Clik here to view.

Integrating Amazon Cognito With Single Page Application (Vue.js)

In this article, we will look at authenticating Single page application (built using Vue.js) with Amazon Cognito using OAuth protocol. In our previous article we integrated a server side application...

View Article

JEP 355 Text Blocks in JDK 13

JDK 13 went GA on September 17th, 2019 and the prominent new features are listed here. One of the new features is “text blocks”. This allows writing multiline strings easily without the need for...

View Article

JDK 14 – JEP 361 Switch Expressions out from preview

In my previous post, I wrote about switch expressions and related enhancements released as a preview feature for JDK 12. Subsequently, in JDK 13 there were some changes proposed, like using yield...

View Article
Browsing all 168 articles
Browse latest View live