No, But it should not matter. Since web services could be called from
languages
other than Java, so, on the contrary, I would try to stay away from
Java's wrappers
on the primitive types. This perhaps could make it easier for other
tools generating
client code from the wsdl description of
Amit Garg wrote:
>Simple question: Is it recommended to always use Object types (like
>Integer) as opposed to primitive types (like int) when building web
>services?
>
I prefer to use int, personally, but I don't believe it really
matters. I like to use primitive types in my beans as much as
Hi all.
Simple question: Is it recommended to always use Object types (like
Integer) as opposed to primitive types (like int) when building web
services?
Thanks,
;Amit