diff · 保单列表
迁移中…200等价
POLICY-LIST.cblCOBOL
- 1-
PROCEDURE DIVISION.
- 2-
0000-MAIN.
- 3-
OPEN INPUT POLICY-FILE
- 4-
PERFORM UNTIL WS-EOF = 'Y'
- 5-
READ POLICY-FILE
- 6-
AT END MOVE 'Y' TO WS-EOF
- 7-
NOT AT END PERFORM 1000-LIST
- 8-
END-READ
- 9-
END-PERFORM
- 10-
CLOSE POLICY-FILE
- 11-
STOP RUN.
PolicyController.javaJava 17 · Spring Boot 3
- 1+
@RestController
- 2+
@RequestMapping("/policies") - 3+
class PolicyController { - 4+
private final PolicyRepository repo;
- 5+
- 6+
@GetMapping
- 7+
List<PolicySummary> list(@RequestParam String holder) { - 8+
return repo.findByHolder(holder).stream()
- 9+
.map(PolicySummary::from)
- 10+
.toList();
- 11+
}
- 12+
}
2020 年:把一套 COBOL 保单列表系统迁移到 Spring Boot。现在:LLM 辅助迁移,生成的代码通过差分执行证明等价——进行中。
200OK— ms
- content-type:
- text/html; charset=utf-8
- x-source:
- content/zh/profile.json
- x-cv-version:
- 2026.09

Sohayb Hassan
全栈工程师 · Java / Spring Boot · React · 银行与金融服务
全栈工程师,在 Capgemini 工作六年,为银行、保险公司和企业客户构建后端与 Web 系统。目前在一家零售银行的移动平台上端到端交付功能:Java 17 / Spring Boot 3 微服务、基于 JDK 21 的 OpenAPI 优先 BFF 层,以及 React Native 应用。熟悉银行集成中不那么光鲜的一面(遗留主机、BPM 流程、多环境发布流水线),也熟悉让大型多仓库项目持续运转的工具链。从把 COBOL 迁移到 Spring Boot 起步;如今把个人时间投入到 LLM 辅助的现代化工具上——输出要经过验证,而不是盲目信任。
- 6 年
- Capgemini · 银行与金融服务
- 3 层
- 微服务 · BFF · 移动应用
- COBOL → Java
- 遗留系统现代化,亲手实践
_links
{
"name": "Sohayb Hassan",
"title": "全栈工程师 · Java / Spring Boot · React · 银行与金融服务",
"location": "意大利都灵",
"headline": [
{
"value": "6 年",
"label": "Capgemini · 银行与金融服务"
},
{
"value": "3 层",
"label": "微服务 · BFF · 移动应用"
},
{
"value": "COBOL → Java",
"label": "遗留系统现代化,亲手实践"
}
],
"_links": {
"sohayb hassan": "https://soyhub.github.io/",
"experience": "https://soyhub.github.io/experience",
"skills": "https://soyhub.github.io/skills",
"projects": "https://soyhub.github.io/projects",
"now": "https://soyhub.github.io/now",
"education": "https://soyhub.github.io/education",
"health": "https://soyhub.github.io/health",
"cv": "https://soyhub.github.io/cv",
"contact": "https://soyhub.github.io/contact",
"hire": "https://soyhub.github.io/hire",
"ask": "https://soyhub.github.io/ask"
}
}