[webbeans-dev] Session-scoped beans and clustering

Gavin King gavin.king at gmail.com
Tue May 26 20:41:45 EDT 2009


On Tue, May 26, 2009 at 5:32 PM, Matt Drees <matt.drees at gmail.com> wrote:

>>
>> WDYT?
>
> Maybe instead of using String, introduce a BeanIdentifier object that
> reasonably implements equals(), hashCode(), and toString(), and is
> Serializable?
>
> I don't see a reason to force the id to be implemented via String.

The reason for String is its going to end up as the name of a
HttpSession attribute.

-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org



More information about the weld-dev mailing list