5 Replies Latest reply on May 7, 2003 2:15 PM by marc fleury

    EJB-centric versus MBean-centric?

    Alexander Rabinowitz Newbie

      We are designing a distributed system, based on JBoss, with a server as a heart of the system, and MBeans on the remote nodes (which are several thousand computers outside of the cetral location).
      A traditional approach is to use EJBs on the server, and call MBeans from them, having a lot of business logic on the server in EJBs, and leaving just atomic operations on MBeans.
      Another approach is to decentralize the system by moving business logic from EJB's to MBeans in order to maximize the power of the system by using remote nodes CPUs to solve problems. The server will just handle JMS communications between the remote node MBeans.

      What is a better approach? What would you recommend?