Announcement Announcement Module
Collapse
No announcement yet.
POJOs and JndiRmi* Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment

    Working...
    X