How to use Spring Profiles with Docker Containers Introduction Spring Profiles are an effective way of implementing environment independent code. The properties file or @Beans can be selected dynamically at run time based on the profile injected. Assuming that you are quite familiar with the spring profiles and looking for injecting profiles in a […]
Category: SpringBoot
How to consume REST based web service in Spring BOOT
How to consume REST based web service in Spring BOOT Introduction In my last tutorial I wrote about Consuming a secure SOAP based web service in Spring Boot application, In this tutorial, I will talk about consuming a simple unsecured REST service in Spring Boot Consuming REST service is very simple and less ad-hoc than […]
How to consume a secure SOAP Web service in Spring Boot Application
How to consume a secure SOAP Web service by adding WS-SECURITY SOAP header in Spring Boot Application Introduction Consuming a SOAP based web service is one of the common use cases a developer will come across. There are different implementations like JAX-WS, Axis1/2 and CXF which helps us in calling the web services easily. While […]
How to Add Bootstrap Css and JQuery To Spring Boot MVC Application
How to add Bootstrap, Font-Awesome and Jquery to spring Boot Project Introduction Twitter Bootstrap is one of the most popular front-end frameworks for responsive web design and development. Font Awesome provides us with scalable vector icons that can be customised. Needless to say, anything about Jquery, since it is the number 1 Javascript framework and […]
How to access LinkedIn data using spring-social
How to access LinkedIn data using spring-social and spring boot Introduction Spring Social provides the capability which enables our application to interact with LinkedIn Rest API and get user data. Considering how popular social logins have become recently, it is a nice feature to have on your website. Getting started I would suggest you to […]
How to access google data using spring-social and spring boot
How to access google data using spring-social Introduction Spring social do have a spring-social-google project but it doesn’t have autoconfiguration for Google. So google authorization doesn’t work with spring boot autoconfigure straight away. I had created a pull request and merged the code to spring repository but got the following reply Thanks for the PR. […]
Spring Boot and Spring Security OAuth2 tutorial for Authorization through Facebook, Google, LinkedIn and Twitter
Spring Boot oauth2 tutorial for accessing Facebook, Google, LinkedIn and Twitter In this tutorial we will extend the Spring Boot OAuth2 tutorial, to provide support for Google, Twitter and LinkedIn along with Facebook. We need to add the OAuth2ClientAuthenticationProcessingFilter for Google, LinkedIn and Twitter along with the necessary Beans. Maven dependencies Add the following dependencies in […]
How To Create A Spring Boot REST Microservice with Docker
Step-By-Step Guide To Create A Spring Boot MVC Microservice With Docker SpringBoot is a popular spring framework capable of running as a standalone executable. It fits well in microservices architecture where each service is supposed to be running independently. In Docker, each Microservice(Spring Boot rest service) can be installed in a separate container and accessed […]
How to Connect to Spring BOOT Rest service to Mongo DB in Docker
Connect Spring BOOT Rest Service To MONGO DB within Docker SpringBoot is a popular spring framework that allows users to create projects capable of running as standalone executables . It fits in so well in microservices architecture where each service is supposed to be running independently. Spring boot can easily be integrated with different backend database […]