In this series of blogs we are building a complete web app using Springboot,Angular, etc. In the last blog, we made a basic landing page with Thymeleaf. In this blog we will introduce bower, which is used to manage front end dependencies like CSS,JS. 1.) Bower Install bower using this link. After bower is installed, we need to configure it to use ...
Read More »Home » Spring Boot »
Build a new Web Application from scratch using Spring boot, Thymeleaf, AngularJS – Part 1
In this series of blog posts we will be building a complete responsive web application using the following tech stack : 1) Spring boot – Spring MVC web – Spring Data JPA – Spring Security 2) Thymeleaf for server side templating 3) Angular JS for client side MVC ( including JS dependency management with bower) 4) Deploy the app on ...
Read More »Make running your Spring Boot application in the cloud super easy with Boxfuse
A few days ago I started building an iOS app that would be using a REST API to retrieve and store data. This REST API would be a server application that I also have to build. Since I am familiair with Java and Spring I decided to use Spring Boot as framework. To be able to use it with my ...
Read More »First steps to Spring Boot Cassandra
If you want to start using Cassandra NoSQL database with Spring Boot, the best resource is likely the Cassandra samples available here and the Spring data Cassandra documentation. Here I will take a little more roundabout way, by actually installing Cassandra locally and running a basic test against it and I aim to develop this sample into a more comprehensive example with the next ...
Read More »Data aggregation with Spring Data MongoDB and Spring Boot
MongoDB aggregation framework is designed for grouping documents and transforming them into an aggregated result. The aggregation query consists in defining several stages that will be executed in a pipeline. If you are interested in more in-depth details about the framework, then mongodb docs are a good point to start. The point of this post is to write a web ...
Read More »Single Page Angularjs application with Spring Boot and Yeoman
I am very thankful for tools like yeoman which provide a very quick way to combine different javascript libraries together into a coherent application. Yeoman provides the UI tier, if you needed to develop the services tier and a web layer for the static assets a good way to package it is to use Spring Boot. I know there are ...
Read More »SpringBoot : Working with MyBatis
MyBatis is a SQL Mapping framework with support for custom SQL, stored procedures and advanced mappings. SpringBoot doesn’t provide official support for MyBatis integration, but MyBatis community built a SpringBoot starter for MyBatis. You can read about the SpringBoot MyBatis Starter release announcement at http://blog.mybatis.org/2015/11/mybatis-spring-boot-released.html and you can explore the source code on GitHub https://github.com/mybatis/mybatis-spring-boot. Create a SpringBoot Maven project ...
Read More »SpringBoot : Working with JOOQ
In my previous article SpringBoot : Working with MyBatis we have learned how to use SpringBoot MyBatis Starter to quickly get up and running with Spring and MyBatis. In this article we are going to learn about how to use SpringBoot JOOQ Starter. JOOQ (Java Object Oriented Querying) is a persistence framework which embraces SQL. JOOQ provides the following features: Building ...
Read More »SpringBoot : Working with JdbcTemplate
Spring provides a nice abstraction on top of JDBC API using JdbcTemplate and also provides great transaction management capabilities using annotation based approach. First let’s take a quick look at how we generally use Spring’s JdbcTemplate (without SpringBoot) by registering DataSource, TransactionManager and JdbcTemplate beans and optionally we can register DataSourceInitializer bean to initialize our database. @Configuration @ComponentScan @EnableTransactionManagement @PropertySource(value ...
Read More »