oasp / oasp4j

The Open Application Standard Platform for Java
Apache License 2.0
60 stars 303 forks source link

support for automatic component faccade implementation #519

Open hohwille opened 7 years ago

hohwille commented 7 years ago

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 commented 7 years ago

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

How should we call it?

other? remember that:

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

:-)