Here in this post we will discuss about spring-boot integration with NoSQL database like apache Cassandra. We will create a simple spring-boot RESTful application which can search for records and create records in Cassandra. Here we are going to use Achilles for Cassandra integration. Achilles is an open source advanced object mapper for Apache Cas...

Read More

In this post we will discuss about spring boot HandlerInterceptor integration example with WebMvcConfigurerAdapter .Handler interceptors are used when you want to apply specific functionality to certain or all requests. Handler Interceptors should implement the interface HandlerInterceptor. HandlerInterceptor can be used to avoid repetitive handler...

Read More

In this post we’ll see how to integrate spring-boot with Jersey. Jersey is an reference implementation of JAX-RS. JAX-RS is a Java API for developing RESTful Service,  it is from JSR 311 (obsolete) and JSR 339. Setting up spring-boot Application : Following figure show us the project structure in Eclipse. 1. Maven pom.xml We need only one dependenc...

Read More

While developing Spring Boot enterprise application Logback makes an excellent choice for logging framework integration. Logback is fast and easy to integrate with a Spring Boot application. Logback requires very less amount of memory thus reduces the logging overhead for enterprise applications. To integrate Logback with Spring Boot application do...

Read More

What is Swagger Swagger is a specification for documenting REST APIs. It describes the api format including URL, method, and representation to describe REST web services. Swagger is meant to enable the service producer to update the service documentation in real time so that client and documentation systems are moving at the same pace as the server...

Read More

There are two ways to change the HTTP PORT of the embedded Tomcat in a Spring Boot Application. In a standalone Spring – BOOT application the default HTTP port is 8080. But we can set a  a customized port with server.port  configuration (e.g. in application.properties or as a System property).  Modify application.properties:  Add the following conf...

Read More

This project lets you annotate security or other interceptors for your Spring web controllers in much the same way that you normally annotate your routes or endpoints. For example, to secure all the endpoints in your @Controller class, add a @Before annotation like this (you can also add it to individual methods for more granular control): @Befor...

Read More

In a Spring Boot Application setting up the context path and port number to access the application, is configurable. It can be set in a properties file called application, which should reside under  src\main\resources in your application structure. The properties file is available in two formats .yml .properties The way you specify or set the confi...

Read More

Here in this Article are going to develop a spring-boot application integrated with apache cassandra . The application will exposes some REST Apis to perform CRUD operation in a database of Students. We are going to use DataStax driver to communicate with Apache Cassandra. Let us configure our Database first. Following steps are required to configu...

Read More

What is a Filter :  A Filter is an object that performs filtering tasks on either the request to a resource (a servlet or static content), or on the response from a resource, or both. Filters perform filtering in the doFilter method. Every Filter has access to a FilterConfig object from which it can obtain its initialization parameters, a reference...

Read More

FOLLOW US ON LinkedIn



Explore Tutu'rself