Guys can someone advise on this ..
1] My datasource is an array provided by an external component
2] I'll be formatting this array and exposing it to the enterprise as an asp.net 2.0 webservice
3] The client consuming this webservice is also a .net 2.0 application, maybe after a year there may a java application which would also want to consume this webservice.
My doubts:
1] I can format the array into either business entities or dataset.
Should I return custom entities or dataset considering :
(a)I want performance and (b)The client is also a .net application.
2] Will the custom entities be lightweight on the network as compared to the dataset
3] Will there be more overhead on the server in creating custom entities or datsets from the array
later on when the Java client comes into the picture I can serialize the dataset/custom entity to the standard Xml format.