java - Design pattern for modular application (how to reuse entities) -
i have following scenario:
- a jax-rs webservice responsable business logic , database interactions.
- a webapp used end users.
- a webapp used administrators.
my problem want reuse entities webservice on other apps, highly wrapped frameworks jpa, jax-rs, cdi, among others... having hard time isolate them. want know best workaround , why should use instead of others.
maybe dto way go (with support object mapper library dozer)
please take @ following article more details: http://zezutom.blogspot.com/2012/02/thoughts-on-data-transfer-objects.html
Comments
Post a Comment