wire format

The exact shape data takes when it travels between programs, such as the field names and types of a JSON body.

In more detail

Clients depend on the wire format, not on internal class names, so field names, types and whether fields may be missing are all part of the public contract. Keep wire models separate from storage models so each can change for its own reasons.

Examples

A Kafka broker stores record values in whatever wire format the producer chose.
The course uses records such as OrderView as wire models, separate from JPA entities.

Related terms

Taught in

References

Certification courses