Questions tagged [multi-tier]

In software engineering, multi-tier architecture (often referred to as n-tier architecture) is a client–server architecture in which presentation, application processing and data management functions are physically separated

Further details:

99 questions
198
votes
14 answers

What is N-Tier architecture?

I've seen quite a few developer job postings recently that include a sentence that reads more or less like this: "Must have experience with N-Tier architecture", or "Must be able to develop N-Tier apps". This leads me to ask, what is N-Tier…
Joshua Carmody
  • 13,410
  • 16
  • 64
  • 83
18
votes
2 answers

Best Practice - Multi Layer Architecture and DTOs

After reading some of the Q/As here on Stackoverflow, I am still confused about the correct implementation of DTOs in my web application. My current implementation is a (Java EE based) multi-tier architecture (with persistence, service and…
nils
  • 1,362
  • 1
  • 8
  • 15
15
votes
5 answers

How can I simulate TCP/IP errors?

On a multi-tier application, I need to simulate various TCP/IP errors to test some reconnection code. Does anyone know of any tools (Windows based) I can use for this purpose? Thanks.
Tom A
  • 1,662
  • 2
  • 23
  • 41
13
votes
3 answers

Pass DTO to service layer

Is it not bad practice to pass DTO object to service layer? For now my service layer method look like this: public save(MyEntity entity); Mapping values from DTO to business entity (MyEntity) is done on presentation layer But I want to change…
WelcomeTo
  • 19,843
  • 53
  • 170
  • 286
12
votes
1 answer

How to use Identity membership with existing database (n-tier)

I've been reading various other questions about using asp.net-identity but I don't see anything concrete with regards to using it with an existing database when the project is developed in tiers. For argument's sake, say the following is…
Brad Christie
  • 100,477
  • 16
  • 156
  • 200
11
votes
3 answers

Three-tier architecture and exceptions

It's considered good practice to have an exception for each layer of application (i.e. PresentationException, ServiceException, PersistenceException etc). But what if my service-layer directly calls DAO methods (methods of persistence layer) without…
WelcomeTo
  • 19,843
  • 53
  • 170
  • 286
10
votes
1 answer

What is the difference between the clean and the n-tier architectures?

What is the difference between the clean and the n-tier architectures?
inf3rno
  • 24,976
  • 11
  • 115
  • 197
9
votes
3 answers

Best practice for validating input data for multi-tier application

In our application we have various layers. Service Layer, DAO layer and actions (struts applications). Data gets passed from one layer to another layer. Where we should ideally put input validation ? Say, userid, phone number is coming from UI,…
Jigar Shah
  • 2,576
  • 6
  • 31
  • 53
8
votes
3 answers

Is DataSnap Optimized for responding to more than 1k users at the same time?

We want to start a big multi-tier application. The server side application must respond to more than 1000 users at the same time. We want to create server application by 64 bit compiler and client side with 32 bit. In this case we don't know…
Shaahin Ashayeri
  • 918
  • 2
  • 13
  • 30
6
votes
3 answers

In multi-tier architecture with a service layer, is it acceptable to have one service call another service?

I have a multi-tiered app with a data layer containing repositories. On top of this, I have a service layer. My understanding is that there should be a single service for each repository. Is it ok to have Service A make a call to another method in…
stephen776
  • 9,134
  • 15
  • 74
  • 123
6
votes
1 answer

When do we have web server and an application server as two separate physical tiers?

Typically when an application is deployed on a server farm, it has a central database, one or more application servers and one or more web servers. Since all the services in the application tier are going to be accessed via the web server, why not…
Unmesh Kondolikar
  • 9,256
  • 4
  • 38
  • 51
5
votes
1 answer

Dynamic subdomain in azure

I'm building a multiTenancy application with asp.net, on top of windows Azure. The requirements are that any time a tenancy register in our app a subdomain is created for that tenancy in order to operate with the application. So I would like to…
borja gómez
  • 1,001
  • 8
  • 19
5
votes
4 answers

Keep settings in sync between forms application and windows service (or any n-tier, really)

I have a Windows Service that performs a number of periodic activities, and I want to change the settings of this service from a Windows Forms app. I'm not sure, though, about the best way to make sure the service has the most updated user…
SqlRyan
  • 33,116
  • 33
  • 114
  • 199
5
votes
7 answers

Multi-Tier in PHP..the right way?

I have a specific question, that could use a general answer... When building Multi-Tier applications in PHP, does everything have to be done in the Business Logic layer, or can any layer do work... Example, Lets say I'm building an application that…
BDuelz
  • 3,890
  • 7
  • 39
  • 62
5
votes
5 answers

What's the common way for OOP Pattern design (Data Access)

Originally there was the DAL object which my BO's called for info and then passed to UI. Then I started noticing reduced code in UI and there were Controller classes. What's the decent recomendation. I currently structure mine Public Class…
Saif Khan
  • 18,402
  • 29
  • 102
  • 147
1
2 3 4 5 6 7