JBoss Community

Possible to generate stubs classes implementing original interface?

created by Joao Cunha in JBoss Web Services - View the full discussion

Is it possible to generate stubs that implement the original object interface?

Consider this scenario:

 

On my server application i have a PersonDTO that implements the interface IPersonDTO. I am assuming that when I generate the client it will be created a stub class for PersonDTO but without implementing the original interface. This will make my client application very dependent on the generated stubs. If only I could generate stubs implementing the original IPersonDTO I would remove this dependency.

 

Is there any way to achieve this?

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community