Skip to contentJefferson Montesdeoca

Senior Software Engineer · Backend, Product & AI

Let's talk

Available now for freelance projects · Remote · CET

I have worked for Andbank, elAbogado, Vodafone, and Endesa

Professional experience · Private banking

Evolving a private bank's Java platform

Sector
A private bank in Andorra that operates in several jurisdictions
My role
Architecture and solutions team, since 2024
Result
The bank modernizes without freezing releases: upgrades in small, lower-risk steps, a single identity provider with MFA, and technical debt that can now be measured.

Context

The bank serves its customers through Java applications that sit on top of a much older core: COBOL programs on AS400, with DB2 as the system of record. Over the years the Java side had fallen behind the current versions of its framework and application servers.

The bank needed a new homebanking, stronger customer authentication and a platform it could keep up to date. Stopping feature work for a long migration was not an option.

Responsibility

What was mine

  • Backend architecture for new services and the new homebanking
  • Development standards for internal teams and vendors
  • The technical plan for the framework and application server upgrades
  • The identity rollout with Keycloak
  • Code quality tooling across all repositories
  • Technical vendor management and advice on whether to build or buy
  • Evaluation of AI tools for the team

What was not mine

  • The COBOL and AS400 core and its roadmap, which stay with their owners
  • Business priorities and the product roadmap

Decisions

  1. 1

    Clean, hexagonal architecture for every new service

    Why: Business rules live apart from the framework and from the legacy adapters. The next framework upgrade changes the edges, not the domain.

    Rejected alternative: Classic layers built around the framework, which tie business rules to one framework version.

  2. 2

    Integrate the legacy core behind adapters instead of rewriting it

    Why: The core holds the bank's records and it works. A rewrite is a multi-year risk that does not help the customer-facing roadmap.

    Rejected alternative: A big-bang replacement of the core.

  3. 3

    Upgrade the platform in small increments

    Why: Each step — the Spring Boot 3 migration with the Jakarta namespace, the application server upgrades — stays small enough to test and roll back while feature work continues.

    Rejected alternative: A freeze-and-migrate project that stops delivery for months.

  4. 4

    One identity provider: Keycloak with MFA and rules per jurisdiction

    Why: Authentication policy lives in one place, and the rules of each jurisdiction are configuration, not code repeated in every application.

    Rejected alternative: Authentication logic copied inside each application.

  5. 5

    Measure technical debt before refactoring, with SonarQube on every repository, COBOL included

    Why: Internal teams and vendors prioritise against the same objective data.

    Rejected alternative: Refactoring based on opinions.

Simplified architecture

Simplified architectureHomebanking (Customer channel) → Keycloak (MFA · rules per jurisdiction) → Java 21 services (Spring Boot 3 · hexagonal domain) → Legacy adapters (Keep the core out of the domain) → Core banking (COBOL · AS400 · DB2)HomebankingCustomer channelKeycloakMFA · rules per jurisdictionJava 21 servicesSpring Boot 3 · hexagonal domainLegacy adaptersKeep the core out of the domainCore bankingCOBOL · AS400 · DB2
Simplified architecture

Implementation

The work is shared between internal teams and external vendors. From the architecture team, I define standards for vendors, review designs and propose what to build and what to buy.

New services use Java 21 and Spring Boot 3 and run on OpenShift. Access to the legacy core goes through adapters, so the services do not depend on COBOL or DB2 details.

SonarQube quality gates run on every repository, including the COBOL code.

I also took part in the department's first AI adoption: Gemini Code Assist for the team.

Result

  • Framework and runtime upgrades that move forward in small steps, while releases continue.
  • A new homebanking designed as independent components on a clean architecture.
  • One identity provider with MFA and rules per jurisdiction.
  • Technical debt visible across the whole platform, legacy code included.
  • The department's first AI tool in daily use by the whole team.
  • Internal details and figures stay confidential.

Stack

  • Java 21
  • Spring Boot 3
  • Clean / hexagonal architecture
  • OpenShift (OCP4)
  • Keycloak
  • DB2
  • COBOL / AS400
  • SonarQube
  • Gemini Code Assist

I take on work I can do well and sustain. If your project is not a good fit, I will tell you and point you somewhere better.

Let's talk