If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Designing DAO

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-19-11, 10:19
unzip unzip is offline
Registered User
 
Join Date: May 2004
Posts: 14
Designing DAO

Hi All,

I am developing four different web application (A1, A2, A3, and A4) using two different DB schema (S1 and S2). Both schema have there own tables and are in Oracle DB. But these application share schema except A1 (i.e. A1 uses S1 and all other A2, A3, A4 use both S1 and S2).

For each application I have separate web project. Now I am wondering how should I create my DAO project(s) which I am creating as a independent from application. Reason is I would be able to distribute that DAO jar.

I am thinking of developing two different DAO for each schema and use them as necessary in application. If I do so then three of the project will have two DAOs. Is this a good design or there is some better approach/practice?

Anjib
Reply With Quote
Reply

Tags
web design db schema dao

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On