• Post Reply Bookmark Topic Watch Topic
  • New Topic

thoughts - Does top-down web service approach mar OO concepts of polymorphism and inheritance

 
Udayan Kumar
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

For my new project we are using top-down approach to web service development and as we go about creating xml schemas and wsdl operations increasingly I feel OO concepts of polymorphism and inheritance will not fit in naturally. This is related to the inputs to wsdl operations. All inputs now don't extend any domain class. I am not sure there is a way to do it nor is that my question.
So as I go about creating/customizing the java code produced by the wsdl2java converter I see it difficult to fit the OO concepts and relying more on compose-always design paradigm.

Is this fine and good sign and also is it a generally preferred behavior with top-down implementation.

Let me know your thoughts

Regards,
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!