[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.ecp] Re: Demo application and source code from Exadel blog site

Peter,

Thank you for your posting. It's important for us to hear your opinion on our work.
As for bean factories, our intention was not to replace OSGi Service registry but to help solve issues which developers have in web applications. We see two major issues here:
1. How can one create an object instance that related to a particular application and is not visible to anyone but this application? Services by definition are shared instances and can't help us here.
2. Many objects are created and used in request and session scopes. We think that registering such objects as services could harm application performance due to intensive concurrent access to the OSGi registry, not counting memory overhead.


Bean factories help us to manage these short-living objects, store them in request/session context that helps avoid concurrent access problems. We think that bean factories and OSGi Service registry are complimentary solutions.

Best regards,
Alex Antonau