I am doing a POC on this at the moment targeting a presentation at F2F.
Will have a more informed response later. Here is my initial reaction.
If SIP Servlets support only Dependent and ApplicationScoped,
wont the CDI support be rather limited?
For example, ApplicationScoped is limited for having one instance per whole
application (more like a singleton). Dependent scope is a PseudoScope and the
instances are never shared. So, the use of such beans are very limited.
However, having SipMessageScoped/SipSessionScoped/SASScoped would
make a serious difference to the programmability and
extensibility of sipservlets.
Otherwise, I agree that making use of CDI observer methods and injection
of SIP built-in types are very useful.
p.s: http://java.net/jira/browse/JTA_SPEC-7 gives some ideas to explore for
solving our outbound context establishment issues.
On Saturday 15 December 2012 04:52 AM, George Vagenas wrote:
" type="cite">Binod, Lewis,
Re: CDI scopes and SIP Servlets