Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

support for automatic component faccade implementation #519

Open
hohwille opened this issue Dec 9, 2016 · 1 comment
Open

support for automatic component faccade implementation #519

hohwille opened this issue Dec 9, 2016 · 1 comment

Comments

@hohwille
Copy link
Member

hohwille commented Dec 9, 2016

I know that we can generate component fassades with CobiGen but still maintaining them is a waist of time as the implementation is very stupid. Also to avoid that some inexperienced developer starts implementing logic directly inside component fassade (when using the use-case approach) it would be great if there was actually no implementation.
The proposal is that we create a spring extension that can create the fassade implementation as dynamic proxy automatically. This will IMHO require an empty marker interface for the fassade but I think this would be helpful.

@anmaso
Copy link
Contributor

anmaso commented Dec 13, 2016

I think is a great idea, and we should invest in more "accelerators" like this

How should we call it?

  • @ComponentFacade
  • @BusinessComponent
  • @LogicAPI

other? remember that:

There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors

:-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants