File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes Generate Stub Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Generate Stub" Watch "Generate Stub" New topic

Generate Stub

Diego Alves Brandao

Joined: Sep 15, 2008
Posts: 1

I'm trying to generate the Stub class without success.
I don't know what I'm doing wrong.

Java class:

Ant script:


Any thoughts?

Pierre Sugar
Ranch Hand

Joined: Dec 08, 2002
Posts: 62

RPMSessionRemote.class is an Interface. You have to rmic the implementation of the Interface.

Than you have to generate the RPMSessionRemoteImpl_Stub.class with rmic RPMSessionRemoteImpl

I agree. Here's the link:
subject: Generate Stub
It's not a secret anymore!