Results 1 to 2 of 2

Thread: RMI without Application Server

  1. #1
    Join Date
    Oct 2004
    Posts
    13

    Default RMI without Application Server

    My application use a rich client (swing) accessing remote buisness objects. As i want to apply YAGNI principle, i wonder if i need an appserver to remote my buisness objects.
    Does a standalone application (using Spring) for the server side, registering objects to the RMI server provided with JDK will scale well ?
    Does the app server provide an enhanced RMI server ?
    Does an hessian/burlap solution is significantly slower than a SLSB solution ?

  2. #2
    Join Date
    Aug 2004
    Location
    Amsterdam, Netherlands
    Posts
    450

    Default Re: RMI without Application Server

    Does a standalone application (using Spring) for the server side, registering objects to the RMI server provided with JDK will scale well?
    Does the app server provide an enhanced RMI server ?
    There is no difference between exposing business objects in a standalone application (server) or an full-fledged application server when using plain rmi, except for a possibly different RMI implementation. I don't think using an application server offers you much value here. Of course exceptional situation (OutOfMemoryErrors, stuff like that) might be handled better by more robust servers (some servers discard the VM and start a new one for example) and implementing this yourself is a hassle...

    Does an hessian/burlap solution is significantly slower than a SLSB solution ?
    No, it's the other way around!! Hessian/Burlap is significantly FASTER than stateless session beans, just as plain RMI and Spring's HttpInvokers. Best-case scenario, SLSB are equally fast as RMI/Hessian/Burlap/HttpInvokers.

    regards,
    Alef Arendsen
    Alef Arendsen
    SpringSource
    http://www.springsource.com

Similar Threads

  1. Replies: 6
    Last Post: Jun 14th, 2007, 01:00 PM
  2. Spring and multiple application server
    By jordanvanest in forum Architecture
    Replies: 1
    Last Post: Sep 29th, 2005, 04:11 PM
  3. Replies: 6
    Last Post: Sep 29th, 2005, 04:25 AM
  4. Questioning the core component
    By Martin Kersten in forum Swing
    Replies: 6
    Last Post: Feb 21st, 2005, 03:45 AM
  5. Ripping out the application server: will it work?
    By ctassoni in forum Architecture
    Replies: 7
    Last Post: Feb 17th, 2005, 05:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •