Article
All Software Engineers that rely on external/third-party services or tools over HTTP would like to know whether their requests have been accepted, and if not - what's going on. Your role as an API developer is to provide a good experience for your users, and amongst other things -...
Guest Contributor
As technology evolves and becomes more prevalent - including the evolution of large-scale service-oriented architectures, managing web security becomes more and more complex. There are many more edge cases now than there were before, and keeping personal user information secure and safe is becoming increasingly hard. Without proactive security measures,...
Arpendu Kumar Garai
Thymeleaf is a templating (server-side rendering) engine used by many Java software engineers within Spring-based web applications. An important feature of any web application is the support for dynamic URLs and path variables within those URLs. Most REST APIs extensively use path variables to specify the IDs of elements they're...
Measuring code execution time is a vital step in trying to write efficient applications. Temporal awareness of your code on a machine that might be serving a great deal of users lets you plan further, accounting for the execution time. In multi-threaded systems, it's also useful to measure the execution...
Ognjen Jankovic
Testing the system is an important phase in a Software Development Life Cycle (SDLC). Testing promotes code reliability, robustness, and ensures high-quality software delivered to clients if implemented correctly. Testing has been given more importance ever since Test-Driven Development (TDD) has become a prominent process in developing software. Test-driven development...
Rayven Yor Esplanada
Application properties may vary in different environments like how the hosts on your QA environment may vary from your local and production environments. Using Spring Boot, different environments can be configured and updated separately without affecting other environments with the use of property files. In this article, we'll be demonstrating...
Form Data Validation is a very common, and rudimentary step in building any web application with user input. We want to make sure that certain ranges are respected, and that certain formats are followed. For example, we'll want to make sure that the user isn't -345 years old, or that...
Alex Chirea
Server logs are an important part of development that record the activities or events that the system is performing at any given point in time. Spring Boot makes use of Apache Commons' Logging for its system logs by default. Additionally, by default you can use any of the logging frameworks...
In Spring Boot, the controller class is responsible for processing incoming REST API requests, preparing a model, and returning the view to be rendered as a response. The controller classes in Spring are annotated either by the @Controller or the @RestController annotation. These mark controller classes as a request handler...
© 2013-2024 Stack Abuse. All rights reserved.