[jboss-user] [JBoss Web Services] - Possible to generate stubs classes implementing original interface?

Joao Cunha do-not-reply at jboss.com
Mon Nov 22 17:33:59 EST 2010


Joao Cunha [http://community.jboss.org/people/jpcunha] created the discussion

"Possible to generate stubs classes implementing original interface?"

To view the discussion, visit: http://community.jboss.org/message/572230#572230

--------------------------------------------------------------
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
[http://community.jboss.org/message/572230#572230]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101122/e0a63a0a/attachment.html 


More information about the jboss-user mailing list