I use the returned String array as 'listOfObjects' to be itereated in list.jsp using spring. I thought it is good to use an empty array so i don't have to check whether this is null in the UI side, spring code.