Spring

Spring Boot Interview Questions — step-by-step DevOps tutorial on Progressive Robot

Spring Boot Interview Questions

URL: https://www.progressiverobot.com/spring-boot-interview-questions/ Today we will look into some spring boot interview questions and answers. So far, we have discussed some posts about [Spring Boot](/community/tutorials/spring-boot-tutorial) Framework with some real-time examples. In this post, I'm going to give you brief or one-shot answers to some Spring Boot Interview Questions. They are very useful when we want to […]

Read more
Spring Boot @SpringBootApplication, SpringApplication Class — step-by-step DevOps tutorial on Progressive Robot

Spring Boot @SpringBootApplication, SpringApplication Class

URL: https://www.progressiverobot.com/springbootapplication-springapplication/ Spring Boot @SpringBootApplication Annotation Spring Boot @SpringBootApplication annotation is used to mark a configuration class that declares one or more @Bean methods and also triggers auto-configuration and component scanning. It's same as declaring a class with @Configuration, @EnableAutoConfiguration and @ComponentScan annotations. Spring Boot SpringApplication Class [Spring Boot](/community/tutorials/spring-boot-tutorial) SpringApplication class is used to bootstrap […]

Read more
Spring MVC Interceptor HandlerInterceptorAdapter, HandlerInterceptor Example — step-by-step DevOps tutorial on Progressive Robot

Spring MVC Interceptor HandlerInterceptorAdapter, HandlerInterceptor Example

URL: https://www.progressiverobot.com/spring-mvc-interceptor-example-handlerinterceptor-handlerinterceptoradapter/ Spring Interceptor are used to intercept client requests and process them. Sometimes we want to intercept the HTTP Request and do some processing before handing it over to the controller handler methods. That's where Spring MVC Interceptor come handy. Spring Interceptor ![spring interceptor, spring mvc interceptor, HandlerInterceptorAdapter, HandlerInterceptor](images/spring-mvc-interceptor-example-handlerinterceptor-handlerinterceptoradapter-section-1.png) Just like we have [Struts2 […]

Read more
Spring Boot - Cannot determine embedded database driver class for database type NONE — step-by-step DevOps tutorial on Progressive Robot

Spring Boot – Cannot determine embedded database driver class for database type NONE

URL: https://www.progressiverobot.com/spring-boot-cannot-determine-embedded-database-driver-class-for-database-type-none/ If you are reading this, then we think you have got "Cannot determine embedded database driver class for database type NONE" error while running [Spring Boot](/community/tutorials/spring-boot-tutorial) application. Below image shows our simple Spring Boot starter project where we got "Cannot determine embedded database driver class for database type NONE" error while running the […]

Read more
Spring Boot Redis Cache — step-by-step Databases tutorial on Progressive Robot

Spring Boot Redis Cache

URL: https://www.progressiverobot.com/spring-boot-redis-cache/ Spring Boot Redis Cache !spring boot redis cache In this post, we will setup up a sample Spring boot application and integrate it with Redis Cache. While Redis is an Open source in-memory data structure store, used as a database, cache and message broker, this lesson will demonstrate only the caching integration. We […]

Read more
Spring MVC @RequestMapping Annotation Example with Controller, Methods, Headers, Params, @RequestParam, @PathVariabl — DevOps tutorial on Progressive Robot

Spring MVC @RequestMapping Annotation Example with Controller, Methods, Headers, Params, @RequestParam, @PathVariable

URL: https://www.progressiverobot.com/spring-requestmapping-requestparam-pathvariable-example/ @RequestMapping is one of the most widely used Spring MVC annotation. org.springframework.web.bind.annotation.RequestMapping annotation is used to map web requests onto specific handler classes and/or handler methods. ![Spring @RequestMapping @RequestParam and @PathVariable example](images/spring-requestmapping-requestparam-pathvariable-example-section-1.png) @RequestMapping can be applied to the controller class as well as methods. Today we will look into various usage of this […]

Read more
Spring Bean Scopes — step-by-step DevOps tutorial on Progressive Robot

Spring Bean Scopes

URL: https://www.progressiverobot.com/spring-bean-scopes/ Spring Bean Scopes allows us to have more granular control of the bean instances creation. Sometimes we want to create bean instance as singleton but in some other cases we might want it to be created on every request or once in a session. Spring Bean Scopes There are five types of [spring […]

Read more
Spring MVC Exception Handling - @ControllerAdvice, @ExceptionHandler, HandlerExceptionResolver — step-by-step DevOps tutorial on Progressive Robot

Spring MVC Exception Handling – @ControllerAdvice, @ExceptionHandler, HandlerExceptionResolver

URL: https://www.progressiverobot.com/spring-mvc-exception-handling-controlleradvice-exceptionhandler-handlerexceptionresolver/ Spring MVC Exception Handling is very important to make sure you are not sending server exceptions to client. Today we will look into Spring Exception Handling using @ExceptionHandler, @ControllerAdvice and HandlerExceptionResolver. Any [web application](/community/tutorials/java-web-application-tutorial-for-beginners "Java Web Application Tutorial for Beginners") requires good design for exception handling because we don't want to serve container […]

Read more
Spring Controller - Spring MVC Controller — step-by-step DevOps tutorial on Progressive Robot

Spring Controller – Spring MVC Controller

URL: https://www.progressiverobot.com/spring-controller-spring-mvc-controller/ Spring Controller annotation is a specialization of [@Component](/community/tutorials/spring-component) annotation. Spring Controller annotation is typically used in combination with annotated handler methods based on the RequestMapping annotation. Spring Controller Spring Controller annotation can be applied on classes only. It's used to mark a class as a web request handler. It's mostly used with [Spring […]

Read more
Spring REST XML and JSON Example — step-by-step DevOps tutorial on Progressive Robot

Spring REST XML and JSON Example

URL: https://www.progressiverobot.com/spring-rest-xml-and-json-example/ Welcome to Spring Restful Web Services XML and JSON example. Sometime back we wrote an article about [Spring REST JSON](/community/tutorials/spring-rest-example-tutorial-spring-restful-web-services) and we got a lot of comments asking how to change the program to support XML. We got some emails also asking how to make application supports both XML as well as JSON. […]

Read more
CHAT