View Model Backbone.js Presentation Layer Resource JAX-RS Web Layer HTTP REST JSON Service Model Business Layer Infrastructure Database Persistence Layer JDBC IE 9 WebLogic 12c Oracle 11g Web から切り離し 独立性を保つ
View Model Backbone.js Presentation Layer Resource JAX-RS Web Layer HTTP REST JSON Service Model Business Layer Infrastructure Database Persistence Layer JDBC IE 9 WebLogic 12c Oracle 11g Web から切り離し 独立性を保つ API の 提供のみ
application-base application-common application-web application-batch web REST service service-implementation REST-implementation persistence domain-model domain-model-meta DOMAIN MODEL
業務知識を正確に反映する 例えば「通貨」や「ステータス」は単なるコード値ではない 業務的にはかなり重要な知識を含んでいる public final class Currency implements Serializable, Comparable { ! public static final Currency BASIS_CURRENCY; public static final Currency DOMESTIC_CURRENCY; public static final Currency HEAD_OFFICE_CURRENCY; private static final Map VALUES; static { // load from currency.yml } ! public int getOrdinal() {} public String getDisplayName() {} public RoundingMode getDefaultRoundingMode() {} public int getDefaultSignificantScale() {} ... ! protected Currency readResolve() {} ! }
application-base application-common application-web application-batch web REST service service-implementation REST-implementation persistence domain-model domain-model-meta SERVICE