Results 1 to 2 of 2

Thread: POJOs and JndiRmi*

  1. #1

    Default POJOs and JndiRmi*

    Hello,

    Is there a way to expose POJO's as remote objects using the JndiRmi* objects without having to run rmic to generate the stubs?

    Thanks
    Tom

  2. #2

    Default

    Okay

    Actually the answer is No. You do not have to run rmic against your service classes in order to expose them via JndiRmiServiceExporter.

    There is, however, a qualification to that "No". Your client must use the JndiRmiProxyFactoryBean to connect to the exposed services. This means, of course, that your client must be a Spring app or else you DO have to run rmic.

    Thanks
    Tom

Posting Permissions

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