Skip to content
neo edited this page Feb 14, 2019 · 1 revision

Design

We see Bean as data only java class only contains public field (to simplify getter and setter), method is ok but no complex logic depends on external dependency

In CoreNG, JSON/query param request body, response body, db entity, mongo entity, elasticsearch doc, kafka message are all bean. Bean can be cached and validated

Clone this wiki locally