Skip to content
Sohayb Hassanhired · accepting offers
diff · policy listing
migrating…200equivalent
POLICY-LIST.cblCOBOL
  1. 1-
           PROCEDURE DIVISION.
  2. 2-
           0000-MAIN.
  3. 3-
               OPEN INPUT POLICY-FILE
  4. 4-
               PERFORM UNTIL WS-EOF = 'Y'
  5. 5-
                   READ POLICY-FILE
  6. 6-
                       AT END MOVE 'Y' TO WS-EOF
  7. 7-
                       NOT AT END PERFORM 1000-LIST
  8. 8-
                   END-READ
  9. 9-
               END-PERFORM
  10. 10-
               CLOSE POLICY-FILE
  11. 11-
               STOP RUN.
PolicyController.javaJava 17 · Spring Boot 3
  1. 1+
    @RestController
  2. 2+
    @RequestMapping("/policies")
  3. 3+
    class PolicyController {
  4. 4+
      private final PolicyRepository repo;
  5. 5+
     
  6. 6+
      @GetMapping
  7. 7+
      List<PolicySummary> list(@RequestParam String holder) {
  8. 8+
        return repo.findByHolder(holder).stream()
  9. 9+
            .map(PolicySummary::from)
  10. 10+
            .toList();
  11. 11+
      }
  12. 12+
    }

2020: migrated a COBOL policy-listing system to Spring Boot. Now: LLM-assisted migration where the generated code is proven equivalent by differential execution — in progress.

23 lines
200OK— ms
content-type:
text/html; charset=utf-8
x-source:
content/en/profile.json
x-cv-version:
2026.09

Sohayb Hassan

Full-Stack Engineer · Java / Spring Boot · React · Banking & Financial Services

Full-stack engineer with six years at Capgemini building backend and web systems for banks, insurers and corporate clients. Currently delivers features end to end on a retail bank's mobile platform: Java 17 / Spring Boot 3 microservices, an OpenAPI-first BFF layer on JDK 21 and the React Native app. At home with the unglamorous side of banking integration (legacy hosts, BPM processes, multi-environment release pipelines) and with the tooling that keeps a large multi-repository programme moving. Started out migrating COBOL to Spring Boot; now spends personal time on LLM-assisted modernisation tooling where the output is verified, not trusted.

6 yrs
Capgemini · banking & financial services
3 layers
microservices · BFF · mobile app
COBOL → Java
legacy modernisation, hands-on

_links