kode12
Menu
  • Hibernate
    • Hibernate OGM
    • Hibernate ORM
  • Spring Boot
  • MongoDB
  • Open Source
    • Apache Beam
  • Interviews
  • ★
Hibernate, Spring Boot, MongoDB blog
Browse: Home » J2EE
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 <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:

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

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 © 2023 kode12

Powered by WordPress and Origin