Home » Spring » Page 10

Tag Archives: Spring

Spring Dependency Injection and Inversion of Control

spring-interview-questions-answers

Learn the concepts of Dependency Injection and Inversion of Control and then look into how the Spring Framework supports them with the help of code examples. Inversion Of Control Before we start off with anything, let’s learn what the Inversion of Control is. The Inversion of control is a term used in Object Oriented Programming, by which the control of an object ...

Read More »

Spring Framework Architecture

spring-interview-questions-answers

This is an overview of Spring Framework Architecture. Learn how the various components of Spring Framework are organised and relates to each other. If you want to know what is Spring framework and its features please read Introduction to Spring Framework. Overview Spring is a modular framework. It doesn’t come as a package or bundle of multiple modules. Various spring ...

Read More »

Introduction to Spring Framework

spring-interview-questions-answers

This is an Introduction to Spring Framework and Spring’s core concepts. In this tutorial, we will cover the main advantages, and features of Spring Framework. In the subsequent tutorials we will learn more about Spring and Spring Boot. Overview We know, Spring Framework is the most popular Application Frameworks in the world of Java developers. Spring is well known for providing abstractions and an infrastructural ...

Read More »

Build a Web App with Spring Boot and Spring Security in 15 Minutes

spring-interview-questions-answers

“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. Developers know that securing web apps can be a pain. Doing it right is tough. The worst part is that “right” is a moving target. Security protocols ...

Read More »

Spring Custom Serializers with @JsonIdentityInfo

spring-interview-questions-answers

Intro Serialization/Deserialization from/to JSON in Spring is widely used in modern Spring-based applications. It is based on Jackson. Jackson can serialize any POJO into JSON and vice versa with ease. This code is well written. I never encountered any issues. It gets more difficult when custom serializers are involved. This post shows how to use custom serializers in Spring with ...

Read More »

Bootiful Development with Spring Boot and Vue

spring-interview-questions-answers

“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. Vue is a web framework that’s gotten a lot of attention lately because it’s lean and mean. Its baseline framework cost is around 40K and is known ...

Read More »

Create a Secure Spring REST API

spring-interview-questions-answers

“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. “If it is useful, it will be modified.” Those words of wisdom came from a QA teacher of mine, to explain that all software evolves when it becomes ...

Read More »

Spring Boot Hibernate Tips

spring-interview-questions-answers

1. Overview Hibernate needs no introduction. It is the most popular ORM out there for Java. Similarly, Spring Boot is the most powerful, and easy to use framework out there for Java. This tutorial isn’t about Hibernate or Spring Boot, there are tons of them out there. We’ll look into some common errors that you may run into when using ...

Read More »

Java: Streaming a JDBC ResultSet as CSV

spring-interview-questions-answers

In my previous post, I showed how to convert a java.sql.ResultSet to JSON and stream it back to the caller. This post, is about streaming it in CSV format instead. Streaming allows you to transfer the data, little by little, without having to load it all into the server’s memory. For example, consider the following ResultSet: +---------+-----+ | Name | ...

Read More »