×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

As we all know, EJB is based on RMI

Some companies have no money to buy EJB server. In such a case, RMI can be used to build distributed system.

Talk the friends around you. You will know how expensive the EJB server (such as Weblogic and Websphere) licenses are. I cannot post such information here.

As a system architect, he/she needs to choose most suitable technologies on the bases of business model, budget, and developer's skill set. In any case, EJB cannot be ubiquitous( universal in your words).
Actually, many EJB projects are abusing EJB technology. Technically,
one should ask how many DISTRIBUTED TRANSACTIONS there are in the system before adopting EJB technology. EJB is too expensive, both
econimically and technologically. EJB makes the life of the developers much easier at the expense of taxing resources heavily.

For some small distributed system, RMI is still a good choice.
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / Hi guys,Do you think that RMI is obsolete for session bean is universally applied now?
    • Restate your question. Now only those who misunderstand can understand.
      • Dear DeepYellow, your judgement is not accurate
        SessionBean is not "universally" used as you declared. EJB containers and application servers are so expensive that not all the companies can afford them. In addition, RMI is the basis of RMI over IIOP.
        • Dear Jabber,If I don't misunderstand you.Do you mean there are some java database applications without application server?In an application with EJB,What is RMI applied for?
          • As we all know, EJB is based on RMI
            Some companies have no money to buy EJB server. In such a case, RMI can be used to build distributed system.

            Talk the friends around you. You will know how expensive the EJB server (such as Weblogic and Websphere) licenses are. I cannot post such information here.

            As a system architect, he/she needs to choose most suitable technologies on the bases of business model, budget, and developer's skill set. In any case, EJB cannot be ubiquitous( universal in your words).
            Actually, many EJB projects are abusing EJB technology. Technically,
            one should ask how many DISTRIBUTED TRANSACTIONS there are in the system before adopting EJB technology. EJB is too expensive, both
            econimically and technologically. EJB makes the life of the developers much easier at the expense of taxing resources heavily.

            For some small distributed system, RMI is still a good choice.
            • Thank you very much
      • That's OK.I can understand what you misunderstand.:-))My question is whether RMI is seldom used in an application? or What main domain is RMI applied in an application?