- 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…