It's not a secret anymore!
The moose likes Cattle Drive and the fly likes Out with the old..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Out with the old....." Watch "Out with the old....." New topic

Out with the old.....

Carol Murphy
village idiot

Joined: Mar 15, 2001
Posts: 1202
And in with the new, but I'm looking at the old version of VideoServlet and I noticed I had made use of an abstract class whose purpose was to create some object for storing the videos. The assignment now wants a servlet class and another jsp. I'm trying to remember the rationale for using the abstract class, and why the same approach wouldn't apply here. I'm assuming all of the code for declaring the list of videos, adding to it, and retreiving it for display should go inside the one servlet class. Should I bother reying to re-work old stuff, or would I be better off starting fresh?
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9058
You don't need an abstract class because all the servlet stuff is inside one class now. When I redid the assignment, I took some stuff from the old, but it's a lot different now. I'm not sure how much the old will help you.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
subject: Out with the old.....
jQuery in Action, 3rd edition