Announcement Announcement Module
Collapse
No announcement yet.
Exporting the service using the RmiServiceExporter ! Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      Thanks

      Thanks a lot.

      Its working now.

      Comment

      Working...
      X