[ http://jira.andromda.org/browse/SPRING-131?page=comments#action_13565 ]
Cyril Combe commented on SPRING-131: ------------------------------------ Hi Peter, Many thanks for your comments. - I decided not to use HttpSession in order to be able to use not only HTTP protocols for remoting. Moreover I think that it avoids conflicts that could show up beetween stateful service instance timeouts and session timeout. The main drawback is that you have to set a Principal. Maybe we should add a mecanism in order to allow anonymous access. When using an HTTP protocol, it could be to add a servlet filter that automatically creates a Principal based on the session id if the session does not contain any already defined Principal. - The customizable scope seems to be an interesting feature of Spring 2, but it thought that using a custom TargetSource was a proper way of using ProxyFactoryBeans with Spring. I find this discussion very interesting and I am pretty sure that we will end up with a good piece of code. Should we go on in the forum? > Allow the creation of stateful services > --------------------------------------- > > Key: SPRING-131 > URL: http://jira.andromda.org/browse/SPRING-131 > Project: Spring Cartridge > Type: Improvement > Reporter: Cyril Combe > Assignee: Wouter Zoons > Attachments: SPRING-131-StatefulServicesWithSpringOnly.diff, > SpringMetafacadeModel.xml.zip, andromda-profile-service.xml.zip > > If a <<Service>> stereotyped classifier has instance scoped attributes, it > should be implemented as a stateful service (a stateful session bean if EJBs > are enabled). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV