---
title: How is the back-end code of an ORMIT™-OpenJava Oracle Forms migration structured? Layers, request flow and transactions.
description: 'The back-end code is generated from your forms and separated into layers: controllers, services, repositories and models.'
url: https://renaps.com/en/faq/back-end-code-structure
language: en
translations:
  fr: https://renaps.com/fr/faq/structure-du-code-back-end
date: 2026-12-02
---

# How is the back-end code of an ORMIT™-OpenJava Oracle Forms migration structured? Layers, request flow and transactions.

The back-end code is generated from your forms and separated into layers: controllers, services, repositories and models. The data models and validation models are also generated automatically for your forms. A typical request flows like this:

1. The user acts in the screen.
2. The front end sends an HTTP request (JSON, with an Authorization header) to the REST API.
3. In the Java back end, a Spring Boot `@RestController` receives it, the `@Service` layer applies the business rules, and the `@Repository` layer reads or writes the database (DAO via JdbcTemplate).

Commits and rollbacks are managed by the back end and the Oracle database. With the 100% Node.js back end, the code, data models and validation models are generated from your forms in the same way.

[The architecture of a migrated application](https://renaps.com/en/faq/architecture)
