What does the Node.js validation service do in an ORMIT™-OpenJava Oracle Forms migration? And which components does it talk to?
It reproduces, on the server, the validations and business rules of the migrated Oracle Forms: type validations (integer, numeric, date), format and length validations, functional validations derived from the Oracle Forms business logic, and validations based on record groups. It runs the code of OFCS, which mainly uses Redux.
- The front end never calls it directly. The back end calls it to validate data before saving.
- It doesn't access the database. It doesn't call the back end for general application logic, but when a validation needs record group data, it can call the back-end services that provide it.
- With the Java back end, it is an internal component: it isn't publicly exposed or reachable from the internet, and only authorized application components can talk to it.
Changes to the screens don't affect it, because it runs only the form's logic.