This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
An existing application can be deployed to use dynamically generated stub classes unconditionally (that is, whether or not pregenerated stub classes exist) by setting the system property java.rmi.server.ignoreStubClasses to "true". If this property is set to "true", pregenerated stub classes are never used.
which is with respect to java 6.
I have following server code which throws a StubNotFoundException if I remove the stub from the directory where it is supposed to be and I run the code by setting the java.rmi.server.ignoreStubClasses system property to true.(As explained in the notes)
The getGreeting method is in the GreetingProvider interface which extends Remote interface.
Why are the stubs not generated at runtime? Can anyone throw some light at this?
Thanks and Regards,
Joined: Sep 10, 2009
Can someone guide me please i have been waiting for this solution.. I havent still found one.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com