But be careful, when you try to use isIdentical on these multiple deployments. Find Excerpt from EJB2 spec below: 6.9.2 Stateless session beans All session objects of the same stateless session bean within the same home have the same object iden-tity, which is assigned by the container. If a stateless session bean is deployed multiple times (each deployment results in the creation of a distinct home), session objects from different homes will have a different identity. The isIdentical(EJBObject otherEJBObject) and isIdentical(EJBLocalOb-ject otherEJBLocalObject) methods always returns true when used to compare object refer-ences of two session objects of the same stateless session bean.
My name is Inigo Montoya, you killed my father, prepare to read a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop