0 Replies Latest reply on Oct 15, 2006 9:33 AM by balteo

    Architectural question about EJBs

    balteo

      Hello,
      I have a complex object that cannot be represented in a database and which has lots of business methods. I would like for this object to be available to the whole of the application e.g. a client (a servlet) calls a getter on a property of that object and the same value is returned that would be for another client (for instance a swing client). I would like for this object to be transactionally safe and ideally for this object to be an ejb. I am at a loss on how to implement this. I guess I need to use a singleton pattern somewhere.
      Can anyone help?
      Thanks in advance,
      Julien Martin.