Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

store resultset

Status
Not open for further replies.

russland

Programmer
Jan 9, 2003
315
CH
hi,

What's the best datastructure to store and resultset? arraylist? xml? i just want to pass the result set from the data access layer (DAL) over the business layer (BLL) to the GUI.

What's most easy to handle (not considering memory impacts) for the programmer?

thanks heaps
 
Depends on the data pointed by the Resultset. If it's a fixed type of data, I'd say the bast option is designing an object with get and set methods (bean) to store and retrieve the information.

Cheers,
Dian
 
thanks. that's what i did. after that i created a array of those objects and passed it from the DAL, BLL to the GUI.

works really nice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top