Spring 2.0 has singleton/prototype/request/session/global session/ and custom scopes. It should be noted that spring's prototype scope is different from hivemind in that an object is created every time a referencing dependency is set or when one requests it directly via a getBean("beanName"). In this sense spring acts more like a factory returning configured objects unlike hivemind which returns a proxy which creates a new object on each method invocation.
Spring also has the concept of target sources which is basically equivalent to hivemind pooled service models and also allow lets you do hivemind-like prototype proxies. Here are the references to the docs if anyone is interested: http://static.springframework.org/spring/docs/2.0.x/reference/beans.html#beans-factory-scopes and http://static.springframework.org/spring/docs/2.0.x/reference/aop-api.html#aop-targetsource On 11/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
No, Spring has only prototype and singleton Beans afaik. HiveMind has threaded/pooled service-models which can easily be extended (Honeycomb does this to implement session-per-conversation based on a "stateful" service-model).
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]