We were currently switching our architecture to java and I had a few questions regarding what a java bean should return in terms of a recordset.
One of our guys setup a bean that returns the data in a vector of objects with each row being one object. I think this is pretty inefficient, but we can't really think of a better way. What is the standard way of doing this? What should be returned. The reason we just don't return the recordset is we were running into connection isses when a jsp page required multiple recordsets to use. (the connection conflicts). Is there anything in java that is like a disconnected recordset? Can someone give me an example of this? We wanted to use J2EE MVC setup standards...servlet serving jsp and talking to java beans. What is the best way for returning data using this standard?