Using ArrayList / Vector in EJB
posted 13 years ago
Think carefully about this problem guys. This is being used as an EJB return value. If it's a Local EJB then it will return a reference and you do have to think about synchronized access. However, if it's a Remote EJB, you'll always return a copy to the client -- it won't matter which you use.