Spring Boot: Java Mail Api
Hi Guys, I would like to share simple but helpful concept to send a mail from boot application. Spring boot provides a starter module which configure automatically based on provided properties and avail to use, by default spring framework provides abstraction to send mail using JavaMailSender interface. To do same you have to change below
Spring Boot: Response Compression
Hi Guys, Spring boot provides a facility to compress your resources by changing minimum configuration. Below is the available properties related to compression, it should be added into your configuration file (usually application.properties file). server.compression.enabled= This is a flag to enable response compression. Possible values = true or false server.compression.excluded-user-agents= You can give list of
Spring Boot: Environment friendly application properties
In enterprise application development we need to manage various configuration depends on your environment or profile. i.e. we need to provide profile specified configuration to deployable . Profile specific means we need to change our configuration for Local Development Environment QA Test Environment Staging Environment Production Environment Or this classification may vary for different organization.

Spring Boot: Working with multiple SQL database
Problem Statement In this write up we are going to cover how to use multiple database in Spring Boot Application with minimum configuration and ease of use. In Ordinary Web application we don’t need multiple databases but when you go for enterprise development it is really required and useful. There are multiple reason behind using

Spring boot: Database connectivity to MySQL using Hibernate + Web
Hello friends, In this post we will see how to connect database using boot, for this demo will use MySQL as a database and Hibernate as an ORM. For this example we need "Web" and "JPA" dependency in our project. Add below dependency in your pom.xml
Note: artifactId spring-boot-starter-data-jpa will internally provides support and
1 2 3 4 5 6 7 8 9 |
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> |

Spring Boot: Sample web app with embedded tomcat
In this post we will see how to create a view page and way to render it. Here we will use embedded tomcat as a container as well. You can easily understand and run this example if you know Spring MVC, some configuration and dependency related changes are required. Let’s see files used in this
Spring Boot: Understanding starters
In Previous post we learn a basic idea about boot application. Let's see some short but useful funda used covered in that post. Here i am talking about Spring Boot Starters. Spring boot provides 45+ built in starters which provides capability to support ready to implement capability. Git url for Boot starter is: https://github.com/spring-projects/spring-boot/tree/master/spring-boot-starters you

Spring Boot: Starting up with basic microservice
Welcome back guys, Today i discovered a new branch of spring framework called "Spring Boot". http://projects.spring.io/spring-boot/ It provides easy way to create stand alone, production ready app with minimal configuration, i can say Zeeeeero configuration. And yes, boot provides a easy way to create Microservices System. Microservice means divide a large scale project/application into small