Discussions

EJB design: How EJB Can be replaced for RMI

  1. How EJB Can be replaced for RMI (4 messages)

    Hi

    When all the functionalities of EJB can be done with RMI, where EJB exactly fits in.

    Gimme some clear difference than Basic Difference


    Bye
    Aravind
  2. How EJB Can be replaced for RMI[ Go to top ]

    EJB does a lot more than RMI. With RMI, you need to manually write code to handle:

    1) Multi-threaded access
    2) Transaction support
    3) Security
    4) Object pooling
    5) Resource management

    EJB handles all of these for you.
  3. RMI is a protocol. EJB is a component based architecture/methodology. Guess you dont want to compare sunlight and sun :)

    -Sanjay.
  4. How EJB Can be replaced for RMI[ Go to top ]

    Sanjay,

    Of course you can add the ejb functionality to an rmi based application. Which means you need to manually program security, object pooling, transaction management (Paul's reply). However, if you don't work of an application server vendor, I don't see why you would want to do this dirty work and reinvent the wheel.

    A
  5. How EJB Can be replaced for RMI[ Go to top ]

    Sanjay,Of course you can add the ejb functionality to an rmi based application. Which means you need to manually program security, object pooling, transaction management (Paul's reply). However, if you don't work of an application server vendor, I don't see why you would want to do this dirty work and reinvent the wheel.A
    I never said it should be done. I said it should not be compared at all.
    -Sanjay.