Articole postate de Horatiu Dan

  • Delegating JWT Validation for Greater Flexibility... 28

    • IT
    • 31-05-2022 15:40

    by Horatiu Dan Context In my opinion, the purpose of all software applications that have been created so far, are being and will be developed should primarily be to make humans’ day to day activities easier to fulfill. Humans are the most valuable creations and software applications are great tools that at least could be […]

    Citește mai departe
  • Documenting Spring REST APIs with Swagger OAS 3.0... 143

    • IT
    • 05-05-2022 15:29

    by Horatiu Dan Context A while ago, I decided to opt for Swagger (UI) as a solution for documenting REST APIs. The APIs are built using Spring Framework (not Spring Boot), more exactly, Spring MVC. For the Swagger integration, I used the Springfox Swagger suite of java libraries. The reasons of this integration are: have […]

    Citește mai departe
  • Voxxed Days Romania, October 21st, 2021... 69

    • IT
    • 09-11-2021 09:05

    Respectful REST APIs – ‘Sunset’ and ‘Deprecation’ HTTP Headers The slides: The sample project – https://github.com/horatiucd/argus. It’s been a pleasure, thank you!...

    Citește mai departe
  • Reducing Tomcat Error Page Verbosity... 124

    • IT
    • 30-08-2021 12:39

    by Horatiu Dan While in development mode, it makes sense for the working environment to signal errors and provide as many insightful details as possible so that they are easily addressed and documented. In production, on the other hand, it is a good practice to limit the details provided to the user in case of […]

    Citește mai departe
  • Respectful REST APIs – ‘Sunset’ and ‘Deprecation’ HTTP Headers 94

    • IT
    • 19-01-2021 22:14

    by Horatiu Dan 1. Introduction According to Richardson Maturity Model [Reference 1], a Level 3 REST architecture introduces the discoverability through hypermedia controls in addition to resources and HTTP verbs, thus making the communication between the involved actors more self-documenting. Hypermedia enriches the interaction from various perspectives, decreasing the coupling between parties and also allowing […]

    Citește mai departe
  • Git Intro... 87

    • IT
    • 13-11-2020 10:48

    by Horatiu Dan Abstract The purpose of this post is to provide a brief and straightforward hands-on introduction to Git, first basic and mostly used commands. It will the following: How to create a new Git repository The basic operations when working with the local repository – check status, add, commint, change, revert How to […]

    Citește mai departe
  • JUnit Test Groups for More Reliable Development... 100

    • IT
    • 12-11-2020 23:11

    by Horatiu Dan Introduction As a product is being developed and maintained its test suite is enriched as features and functionalities are added and enhanced. Ideally, development teams should aim having a lot of quick unit tests that are run whenever modifications in the code are made. It is great if these are written before […]

    Citește mai departe
  • PostgreSQL JDBC Fetch Size for CallableStatements... 95

    • IT
    • 05-11-2020 20:02

    by Razvan Popian The result set fetch size is an important setting for processing result sets in a memory efficient way in JDBC. setFetchSize() method’s javadoc of java.sql.Statement class specifies the behavior of the fetch size: “Gives the JDBC driver a hint as to the number of rows that should be fetched from the database […]

    Citește mai departe
  • Spring 4+ with Ehcache 3 – how to... 321

    • IT
    • 26-01-2017 10:53

    Once a year, the main project I am working at gets upgraded to use newer versions of its dependencies. Nothing special, just keeping up with the open source industry. Briefly, the project is a Java web application, build upon the Spring Framework. This post will describe how we “managed” to increase the version of Ehcache […]

    Citește mai departe