Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC question

 
Carol Murphy
village idiot
Bartender
Posts: 1202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Should the JDBC assignments go in their own package, or should the source files in the videos directory be changed for JDBC?
Right now I have this file structure in my development directory:
C:\java\videos\src\java\com\javaranch\drive\videos
Should the jdbc assingments be put in a directory structure like this:
C:\java\jdbc\src\java\com\javaranch\drive\videos
Is there a preference?
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should stick with the current file structure. However, if you want to save the servlet stuff for posterity, you can change the name of the current C:\java\videos directory to C:\java\servlets either by right-clicking the directory in Windows Explorer or by highlighting that directory and pressing the F2 key. Then create a new C:\java\videos directory for the jdbc stuff.

Alternatively, you can create a brand new directory and copy the current files into the new directory (a type of backup) and then reuse the C:\java\videos directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic