Answer by Morgen for Parameters to Service-level classes: Primitives or...
Fundamentally, types exist to provide information about values. So, when designing an API, the general principle is fairly intuitive: Argument and return types should not lie about the values they...
View ArticleAnswer by MeTitus for Parameters to Service-level classes: Primitives or...
Well what type of domains are we talking about? If the consumer is going to be java based and the definition is java based as well, then I would use an enum, because your method has a set of static...
View ArticleParameters to Service-level classes: Primitives or domain-specific types?
We have an existing web service which is currently modeled as a single project, where the web/service/manager/model classes have gotten a bit confused and intermingled. As a refactoring, we're pulling...
View Article
More Pages to Explore .....