Spring Security Annotations With Examples java Spring Spring Boot Spring Security by devs5003 - August 4, 2022May 3, 20261 In this article, we will discuss on Spring Security Annotations with examples. Obviously, these annotations can be used in a Spring Boot project as well. These annotations play a crucial role in creating a web application in Spring Boot. If you want to learn all annotations which are generally used in a Spring Boot Project, kindly visit our article 'Spring Boot Annotations with Examples'. Let's discuss about 'Spring Security Annotations with examples' here only. Spring Security Annotations With Examples First of all, in order to use Security related annotations in our Spring Boot project, we need to add security starter dependency. If you created a project using STS (Spring Tool Suite), you have to select 'Spring Security' starter or else add the
Spring Boot Interview Questions & Answers Interview java Spring Spring Boot by devs5003 - July 31, 2022April 2, 20260 If we talk about a job interview in Java technology, Spring Boot becomes the most popular topic. Even if you don't mention Spring Boot in your resume, you will reduce the chances of getting shortlisted. It happens because now-a-days Spring Boot is the most widely used framework for developing a Java based Application. Apart from that, it also used to develop microservices based projects in Java, which again is a trending architecture in the industry. Hence, Spring Boot becomes a 'Must Know' skill for a Java developer. Therefore, our topic for discussion is 'Spring Boot Interview Questions & Answers'. Spring Boot Interview Questions & Answers In this article, we will talk about the most important interview questions on Spring Boot. If you
WebSecurityConfigurerAdapter Deprecated In Spring Security java Spring Spring Boot Spring Security by devs5003 - July 23, 2022May 3, 20264 websecurityconfigureradapter deprecated In the context of the Spring Security module, WebSecurityConfigurerAdapter is an abstract class which has been deprecated from Spring Security 5.7.0-M2 as per an announcement posted in the Spring Official website, on 21st Feb, 2022. It was generally used to extend configure() methods by a custom configuration subclass. As a result, it encourages users to move towards a component-based security configuration. To support with the change to this new design of configuration, we will discuss a list of common use-cases and the proposed alternatives going forward. Therefore, we will discuss about the implementation of use cases on how to resolve WebSecurityConfigurerAdapter deprecated warning. It is important to know about this change because sooner or later we will be developing security
Spring Batch Tutorial java Spring Spring Batch Spring Boot by devs5003 - June 22, 2022May 3, 20260 Generally, all applications have some data in some form. In enterprise applications, we deal with large volume of data. Sometimes processing a single operation faster is not sufficient due to the large volume of data. This requires a robust transactional control and failure recovery mechanisms, which are complex to implement. In order to handle all this, Spring Framework provides a module 'Spring Batch' for the Batch Processing. Therefore, our topic for discussion is 'Spring Batch Tutorial'. Spring Batch Processing offers processing of data in the form of batch jobs. Spring Batch offers reusable functions for processing large volume of records. It also includes logging/tracing, transaction management, job processing statics, skip, job restart, and resource management. Spring Batch has taken care of
How To Implement API Gateway Spring Boot In Microservices API Gateway java Microservices Spring Boot Spring Cloud by devs5003 - April 8, 2022May 3, 20268 Microservices architecture offers us to deploy multiple services in different servers(hosts) in a private network. When a client request comes to microservices, it should get authenticated before the processing of request. Suppose we have 100 different services in a microservices based application. If client wants to interact with all of them, it will have to pass authentication 100 times. Reducing these many number of calls is one of the motivations to learn 'How To Implement API Gateway Spring Boot In Microservices'. If we have one service which takes care of authentication and also forward the request to concerned service, clients can get the response faster. Yes! We have such type of service which is responsible to do the same. It is
How to export data into PDF in a Spring Boot MVC Application? java pdf Spring Boot by devs5003 - November 12, 2021January 11, 20240 Nobody can deny from the fact that data is everything for an application. If there is no data, no need of an application. Since data is everything for an application, we need to know each & every way where & how we can import/export data. Many a time, almost every client needs the data in the form of text reports. When we talk about reports in a web application from the front-end, two popular reports come into mind: Excel Report, and the PDF report. Spring Boot has an integration with Excel & PDF and offers us an API to create such type of reports easily. In this article, we are going to learn about 'How to export data into PDF in
How to export data into Excel in a Spring Boot MVC Application? java Excel Spring Boot by devs5003 - September 24, 2021December 10, 20242 Needless to mention, data is everything for an application. If there is no data, no need of an application. Since data is everything for an application, we need to know each & every way where & how we can import/export data. Many a time, almost every client needs the data in the form of text reports. When we talk about reports in a web application using front-end, two popular reports come into mind: Excel Report, and the PDF report. Spring Boot has an integration with Excel & PDF and offers us an API to create such type of reports easily. In this article, we are going to learn about 'How to export data into Excel in a Spring Boot MVC
How to monitor Spring Boot Microservices using ELK Stack? java Elasticsearch ELK Stack Microservices Spring Boot by devs5003 - July 16, 2021May 2, 20263 While developing an application, we always incorporate a feature in our code that can direct us what went wrong if the application fails to run normally. This feature is nothing but logging. The more work you do with logging, the less work you have to do with fixing the application issue. Typically, we keep all logging information in a text format file, called a log file. This file captures all the details such as startup of a server, activities of all users, names of classes, methods, timestamp, occurred exceptions with stack trace etc. Moreover, it depends on us what all information we require in the log file. Sometimes, these log files become larger in size and finding the exact issue manually
Spring Boot Errors and AOP Annotations With Examples Spring Boot Docker java Spring by devs5003 - February 20, 2021May 7, 20251 In this article we will discuss on 'Spring Boot Errors and AOP Annotations with Examples'. Needless to say, these annotations play a crucial role in creating Spring Boot Applications. If you want to learn all annotations which are generally used in a Spring Boot Project, kindly visit our article 'Spring Boot Annotations with Examples'. Let's discuss about 'Spring Boot Errors and AOP Annotations with Examples' here only. Spring Boot Errors and AOP Annotations With Examples Let's discuss the most commonly used annotations on Spring/Spring Boot Errors/Exceptions and AOP one by one. Annotations on Spring Errors & Exceptions Spring Boot proves that Exception handling is a crosscutting concern by offering some annotations such as @Exception Handler, @ContollerAdvice, @ResponseStatus. In order to learn about Spring Boot
How To Secure Spring Boot Application By Google reCAPTCHA? Spring Boot Google reCAPTCHA Validation java Spring by devs5003 - January 28, 2021November 27, 20244 In continuation to previous article on Securing Spring Boot Application by Simple CAPTCHA, here in this article we will discuss about Google reCAPTCHA. Needless to say, reCAPTCHA protects your application or website from fraud and misuse. It uses an advanced risk analysis engine and flexible challenges to keep malicious software out from entering into offensive activities on your website. Meanwhile, allowed users will be able to login, view pages, or create accounts. On the other hand, fraud users will be blocked. We have already discussed the fundamentals of captcha including it's definition & types in our previous article. In short, reCAPCHA is a type of captcha security. We will talk all about it in our article 'How To Secure Spring Boot