- Spring Study Guide – Testing
Do you use Spring in a unit test? You don’t necessarily need spring for unit tests. What type of tests typically use Spring? Spring provides mock objects and testing support classes for Unit Testing. Tests one unit of functionality Keeps dependencies minimal Isolate from the environment (including…
- Spring Study Guide – Rest
1. What does REST stand for? REpresentational State Transfer. It is for stateless communication between a client(Web, Mobile, Server, etc) and a server. 2. What is a resource? An entity, model, or data that you interact with. It is basically any information, like data, Json, xml, html, file, image,…
- Security
1. What are authentication and authorization? Which must come first? Authentication – Establishing that a principal’s credentials are valid Authorization – Deciding if a principal is allowed to perform an action Authentication comes first before Authorization because the authorization process needs…
- Web Layer
1. MVC is an abbreviation for a design pattern. What does it stand for and what is the idea behind it? Model–View–Controller software architectural pattern is designed to decouple three components, each of them can be easily swapped with a different implementation, and together they provide a fully…
- Spring Boot
1. What is Spring Boot? Spring Boot is a preconfigured framework that works on top of the Spring Framework. It simplifies configuration for a Spring application by combining a group of common or related dependencies into single dependencies. Spring Boot is NOT a framework but rather, an easy way of…
- Spring Study Guide – Data Integration
1. What is the difference between checked and unchecked exceptions? A checked exception is an exception that is caught during compile time. Usually, if you use an IDE, the IDE will show you that you have a checked exception. An unchecked exception is an exception that is caught at runtime. It is…
- AOP
1. What is the concept of AOP? AOP is Aspect Oriented Programming. AOP is a type of programming that aims to help with separation of cross-cutting concerns to increase modularity; it implies declaring an aspect class that will alter the behavior of base code, by applying advices to specific join…
- Core Spring
What is dependency injection? IoC is also known as dependency injection (DI). It is a process whereby objects define their dependencies (that is, the other objects they work with) only through constructor arguments, arguments to a factory method, or properties that are set on the object instance…