I also think that most aspects of enterprise applications can be done
using DS in some way.
Unfortunately there are almost no examples out there. Maybe you can
share how you solved some of the
enterprise aspects like transactions and security. I think both might be
solvable using the template style and closures I used
in my DS example but I have no large scale experience with it.
Christian
On 20.07.2015 18:18, Raymond Auge wrote:
I have to agree with David,
So, more feedback from someone doing a really huge enterprise product
migrating from Java EE to OSGi (4+ years in the making...)
Service Damping is hell. You will not enjoy experiencing the complexity
that service damping will impose on your already complex environment,
particular if your goal has at least some designs on optionality.
Since there is no (to my knowledge) alternative for dealing with service
references in blueprint other than service damping, this made it so painful
for us that after more than a couple years with BP in our lives we recently
undertook to remove it all.
Had blueprint NOT been implemented with service damping, it could have been
tolerable and even likely that we would have used it more.
Perhaps if BP-next provides an alternative more akin to DS (passive wait
via listeners) we may go back to it in some rare cases. However, even when
it comes to things like transactions and security, there are other models
that work just as well.
Lastly, I think it's just a bad idea to try to shoehorn dynamics into
non-dynamic models like spring/CDI because they have fundamentally
different expectations.
Sincerely,
- Ray
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]