JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Originally posted by jason adam:
I would think having a shared connection that is passed around would be viable, though I'm not sure if there are pro's and con's to having a single connection being used like that. I figure if you open the connection only when you need it, you're reducing resources *shrugs*.
I didn't use a Video.java file, just printed the results as I went, instead of building a separate object and then retrieving the info. Probably could go either way (hope that is what you are referring to).
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Check out my kickstarter CLICK HERE
My book, my movies, my videos, my podcasts, my events ... the big collection of paul wheaton stuff!
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |