kode12
Menu
  • Hibernate
    • Hibernate OGM
    • Hibernate ORM
  • Spring Boot
  • MongoDB
  • Open Source
    • Apache Beam
  • Interviews
  • ★
Hibernate, Spring Boot, MongoDB blog
Browse: Home » Spring Boot » Page 2

Spring Boot: Java Mail Api

February 17, 2017 · by Yogesh Prajapati · in Spring Boot
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

Read More

Spring Boot: Response Compression

November 11, 2016 · by Yogesh Prajapati · in Spring Boot
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

Read More

Spring Boot: Environment friendly application properties

August 25, 2016 · by Yogesh Prajapati · in Spring Boot
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.

Read More

Spring Boot: Working with multiple SQL database

Spring Boot: Working with multiple SQL database

August 21, 2016 · by Yogesh Prajapati · in Spring Boot
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

Read More

Spring boot: Database connectivity to MySQL using Hibernate + Web

Spring boot: Database connectivity to MySQL using Hibernate + Web

March 26, 2016 · by Yogesh Prajapati · in Spring Boot
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
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>
Note: artifactId spring-boot-starter-data-jpa will internally provides support and

Read More

Spring Boot: Sample web app with embedded tomcat

Spring Boot: Sample web app with embedded tomcat

March 12, 2016 · by Yogesh Prajapati · in Spring Boot
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

Read More

Spring Boot: Understanding starters

March 8, 2016 · by Yogesh Prajapati · in Spring Boot
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

Read More

Spring Boot: Starting up with basic microservice

Spring Boot: Starting up with basic microservice

February 29, 2016 · by Yogesh Prajapati · in Spring Boot
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

Read More

← Previous 1 2

Recent Posts

  • Simple wordcount and basics of Apache Beam
  • Spring Boot: Failed to parse multipart servlet request; nested exception is java.io.IOException
  • Java Interview experience with XATON (Mobiquity Now)
  • Java, Spring Boot interview experience with Cignex, Ahmedabad
  • Java, Spring Boot interview experience with Cybage, Gandhinagar

Promo

Author:
Java Hibernate Cookbook


Reviewer:
Hands-On Enterprise Java Microservices with Eclipse MicroProfile


JAVA 9.0 To 13.0 New Features: Learn, Implement and Migrate to New Version of Java

Tags

AOP Apache Beam Apache Solr AspectJ Beam SDK Eureka Hibernate Hibernate OGM Hystrix Ideas Interview IOT J2EE Java JPA MicroServices MongoDB MySQL Raspberry PI Spring Boot Spring Cloud SQL Swagger

Viewer’s Map

Archives

  • December 2019 (1)
  • April 2019 (1)
  • March 2019 (3)
  • February 2019 (1)
  • July 2018 (3)
  • March 2017 (5)
  • February 2017 (2)
  • November 2016 (5)
  • August 2016 (2)
  • June 2016 (1)

Copyright © 2021 kode12

Powered by WordPress and Origin