Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to test that the stub class is really used?

 
Mika Tapanainen
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

The application has to use the generated stub class. I have generated the DataImpl_Stub.class, but how can I be sure that the application uses it? I'm afraid that it is still possible that
the application uses dynamic class downloading?

I have tested this by deleting the file and then using the jvm parameter -Djava.rmi.server.ignoreStubClasses=false. Everything still works fine. But I'm not sure can the jvm parameter get the value false.

Any ideas,

Thanks,

Mika
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, Mika!

Please take a look here. I think it might be helpful!
 
Mika Tapanainen
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!

I have to read the discussion.

Mika
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic