Results 1 to 3 of 3

Thread: Exporting the service using the RmiServiceExporter !

  1. #1
    Join Date
    Dec 2004
    Posts
    5

    Default Exporting the service using the RmiServiceExporter !

    In the Spring tutorial we have

    16.2.1. Exporting the service using the RmiServiceExporter

    Using the RmiServiceExporter, we can expose the interface of our AccountServer object as RMI object. The interface can be accessed by using RmiProxyFactoryBean, or via plain RMI in case of a traditional RMI service. The RmiServiceExporter explicitly supports the exposing of any non-RMI services via RMI invokers.
    Except after some testing, i could only remotely obtain my RMI instance of the RMIServiceExporter using RmiProxyFactoryBean is this normal :?:

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

    Default

    This is the case if you don't let your objects adhere to the RMI requirements (implement Remote, throw RemoteException). If you do code your objects as plain RMI services, you should be able to look them up without the PFB
    Alef Arendsen
    SpringSource
    http://www.springsource.com

  3. #3
    Join Date
    Dec 2004
    Posts
    5

    Default Thanks

    Thanks a lot.

    Its working now.

Similar Threads

  1. Replies: 1
    Last Post: Jun 3rd, 2008, 04:20 AM
  2. Replies: 38
    Last Post: May 11th, 2005, 02:49 PM
  3. Replies: 9
    Last Post: Feb 8th, 2005, 09:25 PM
  4. Creating a proper service layer?
    By infectedrhythms in forum Architecture
    Replies: 5
    Last Post: Jan 5th, 2005, 06:32 PM
  5. Replies: 6
    Last Post: Oct 8th, 2004, 02:21 PM

Posting Permissions

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