views:

82

answers:

1

Hi friends, my requirement - suppose I have three classes namely Employee, Customer and Department. Employee contains attributes id, name, dept. Customer contains id and name. Department contains id and name. Now all three class have common functionality i.e. create, update and delete. I want to implement these functions using an interface. So can anyone sugest how I can perform these things in an n-tier architecture?

+1  A: 

N-tier architecture splits an application into seperate tiers with a disctinct concern.

What you originally outline is about OO design, which is a bit different.

If you want to learn about implementing an OO design in an n-tier application, then Patterns of Enterprise Application Architecture would be a good start.

Joe R