Questions tagged [3-tier]

For issues relating to setting up and utilizing a 3-tier architecture.

3-tier is a software architecture in which the presentation layer, business access layer and data access layer are developed and maintained as independent modules, sometimes on separate platforms.

360 questions
37
votes
3 answers

What is the difference between Database Abstraction Layer & Data Access Layer?

I am actually stuck in 3-tier structure. I surfed the internet and found two terminologies "Database Abstraction Layer" & "Data Access Layer". What are the differences between the two?
Starx
  • 72,283
  • 42
  • 174
  • 253
33
votes
4 answers

What are the main advantages of MVC pattern over the old fashioned 3-layer pattern

I am contemplating about using an MVC pattern in my new project and I can clearly see the main advantage of being able to put the data layer (the model) a little closer to the presentation layer (the view), which will allow a little increase in…
24
votes
1 answer

What is difference of developing a website in MVC and 3-Tier or N-tier architecture?

What is difference of developing a website in MVC and 3-Tier or N-tier architecture? Which one is better? What are pros and cons?
Starx
  • 72,283
  • 42
  • 174
  • 253
21
votes
5 answers

Transferring typical 3-tier architecture to actors

This question bothers me for some time now (I hope I'm not the only one). I want to take a typical 3-tier Java EE app and see how it possibly can look like implemented with actors. I would like to find out whether it actually makes any sense to make…
tenshi
  • 25,038
  • 8
  • 72
  • 89
20
votes
2 answers

C# Invalid attempt to call Read when reader is closed

I am having Invalid attempt to call Read when reader is closed error when I am doing 3 tier project in C# language. What I am trying to do is retrieve address data column by joining two tables together and display in a drop down list. Here is my…
user2531590
13
votes
5 answers

Business Layer in 3 tier Architecture

I went for an interview, and was asked to show up my Business layer architecture. I have some idea about 3 tier architecture but really no idea, to what to write in front of interviewer. So suppose my project deals with Employees of an organization,…
Sandy
  • 10,395
  • 24
  • 72
  • 114
12
votes
1 answer

what is Microsoft.Practices.EnterpriseLibrary.Data

I want to know what Microsoft.Practices.EnterpriseLibrary.Data.dll is and why we use this assembly. What are the benefits of this dll? I want to create a project on 3-tier architecture and am curious on what is the best way for performing sql…
ankit Gupta
  • 293
  • 1
  • 5
  • 18
11
votes
3 answers

Use of DTO in 3 tier architecture

I am using simple 3 tier architecture. In this I am using DTO classes to communicate between UI,BL and DL. So there is any better way for communication between layers? or this is the right way?
0cool
  • 655
  • 2
  • 9
  • 26
11
votes
4 answers

I need some clarification on the MVC architecture and the three-tier architecture

I've been reading the book Pro ASP NET MVC Framework and I'm getting really confused with a lot of things. I've been trying to do some research but I'm finding that with so many different approaches and concepts being thrown at me, it's just making…
Matt
  • 4,659
  • 11
  • 37
  • 45
9
votes
5 answers

Sample Java EE projects using Java EE design patterns

For .Net there are lots of projects that Microsoft/others provide via which one can learn how patterns etc. are implemented in real life projects. I am looking for ones for Java EE (apart from the samples that Sun provides…
Aayush Puri
  • 1,639
  • 3
  • 15
  • 19
8
votes
3 answers

LINQ to map a datatable into a list

I just discover LINQ so be comprehensive with me please! :-) So! I have a Data-tier who provide me datatables and i want to convert them into lists of objects. These objects are defined in a spécific layer DTO (Data transfer Objects). How can I map…
bAN
  • 11,925
  • 15
  • 56
  • 90
8
votes
2 answers

Layers in Domain Driven Design

In Domain-Driven Design, the domain layer is said to have no dependency on other layers, i.e. the repository interface is within the domain layer, while its implementation is at the infrastructure layer. However, the bounded context (with domain +…
8
votes
2 answers

3 tier application with Identity and EF

I am developing a 3-tier project with authentication from scratch. I am using the following as a guide for implementing Identity authentication: http://bitoftech.net/2015/01/21/asp-net-identity-2-with-asp-net-web-api-2-accounts-management/ The issue…
8
votes
5 answers

Error "The type or namespace name could not be found" during a build process

I'm using in C# Windows Application, I have using TempProWin --> For Windows Application Projects TempProApp --> For Database and functionality like Class File using CSLA Method. In TempProWin.frmLogin.cs: using System; using…
user1941948
  • 93
  • 1
  • 2
  • 6
8
votes
2 answers

The type or namespace name 'CrystalReportViewer' does not exist in the namespace 'CrystalDecisions.Web' (are you missing an assembly reference?)

I'm getting the following error on using crystal report in my asp.net 3.5 a3-tier application The type or namespace name 'CrystalReportViewer' does not exist in the namespace 'CrystalDecisions.Web' (are you missing an assembly reference?) the…
Zoya
  • 405
  • 3
  • 9
  • 21
1
2 3
23 24