Re: Simple query about using primitive datatypes

2002-09-22 Thread Harish Prabandham
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

Re: Simple query about using primitive datatypes

2002-09-22 Thread James Black
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

Simple query about using primitive datatypes

2002-09-21 Thread Amit Garg
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