1 Reply Latest reply on Nov 30, 2001 5:51 PM by Dan Christopherson

    Strange problem...

    Marty Newbie

      I wonder if we can map only one BMP with several EJBHome and EJBRemote interfaces (I know this is not maybe a pretty solution but...) ?

        • 1. Re: Strange problem...
          Dan Christopherson Newbie

          You should be able to have your bean implement all of the methods for all of the interfaces, then deploy it several times, if that's your question. That'll be accessing the same data for the same key values, so you'll need to use 'select ... for update' syntax and/or an optimistic locking scheme to manage concurrency.
          On the other hand, if you want to have a single _instance_ implement all of the interfaces and cast back and forth polymorphically, that you can't do in EJB.