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
2
votes
2 answers

Java EE architecture and pattern

I'm developing a web application for a university project and it has been told to us to use Java EE and to provide documentation. I'm having trouble understanding how to fit the MVC pattern in the multi-tier architecture and how to describe them,…
2
votes
1 answer

Multitier architecture and Identity. Why to use UserManager and RoleManager?

Microsoft Identity introduces UserManager and RoleManager classes to interact with AspNetUsers, AspNetRoles and the other database tables. But why we should use them? Maybe it is a better solution to scaffold the database and work with its…
2
votes
2 answers

When we pass a primary-key to UI, should not it be considered as mixing of 2 layers and a BAD practice?

When we pass a Db identifier of any object to the UI (Let's say the PrimaryKey of an object in the url query string) aren't we mixing two layers (Persistnet layer and presentation layer) basically? A data-base identifier sounds like a persistent…
pencilCake
  • 51,323
  • 85
  • 226
  • 363
2
votes
2 answers

Deploying multi-tier application

I want to build and deploy my first Java EE 6 multi-tier application, with web and business tiers running on separate physical servers on Glassfish 3.1. I think I understand what's required from a theoretical hi-level view but am not clear on the…
retrodev
  • 2,323
  • 6
  • 24
  • 48
2
votes
0 answers

what is the significance of having application server?

In multi-tier infrastructure design, mostly all new web servers are capable enough to process the requests with high computation power. Why do we application servers as a separate tier even if web servers are capable to perform all the…
2
votes
0 answers

Is it wrong to use javafx classes in your logic layer?

When developing an application that separates into business logic and UI layer, is it ever wrong to use classes from UI packages? More specifically, is there any reason not to use the Property classes from the javafx package? The application in…
Neuron
  • 5,141
  • 5
  • 38
  • 59
2
votes
1 answer

Right way to use ORM in ASP.NET Core MVC?

An inexperienced web developer crying out for help! Introduction I am developing an MVC web app (using ASP.NET Core due to my interest in it). In the back-end, there is an MSSQL Server with quite sophisticated Databases (thousands of tables). In my…
ystvan
  • 157
  • 1
  • 14
2
votes
2 answers

Multiple Data Transfer Objects for same domain model

How do you solve a situation when you have multiple representations of same object, depending on a view? For example, lets say you have a book store. Within a book store, you have 2 main representations of Books: In Lists (search results, browse by…
2
votes
2 answers

A better usage of Weighted Round Robin Routing in Amazon Route 53

The question might not be as fundamental as you thought. First of all, thanks for reading it. I am a computer science student. I just begin to learn about AWS, especially the Route 53 so please forgive me if there is anything that hurts your eyes…
2
votes
3 answers

How to provide a Session/Host object for use in both a windows and web application?

I have a web application that makes heavy use of the Session state to store information about the current user, their personal settings, record their session history and so on. I have found myself retrieving this session information in my business…
flesh
  • 23,725
  • 24
  • 80
  • 97
2
votes
2 answers

Ninject multi-tier console application

I have a multi-tier console application with the following components: - data access layer - domain layer - uses data repository classes defined in the data access layer - engine - this contains the entry point for the application and uses the…
kjv
  • 11,047
  • 34
  • 101
  • 140
2
votes
2 answers

Multi-Tier Architecture - Responsibility questions

I'm developing an application which implements multi-tier pattern where MySQL is used for persistence. There is a WCF service which provides access to data and provides DTOs. Further, I plan to implement the following patterns: - DTOs - MVP (not yet…
2
votes
3 answers

C# Interfaces implementation

I don't know how manage properly the interfaces in C#. My goal is to have an abstract class for my Business Layer Services that have some common methods (like Save(), Dispose()), that call different DAL repository methods. I wish to avoid to repeat…
Davide
  • 1,305
  • 3
  • 16
  • 36
2
votes
2 answers

Exception handling best practices in multi-tier architecture

I have an application with three-tire architecture. And I don't understand how to work with exceptions in this context. I collected some questions: 1 . Do I need to create a generic exceptions, like PersistentException, and make all DAO classes…
WelcomeTo
  • 19,843
  • 53
  • 170
  • 286
2
votes
4 answers

Multi-tier applications with PHP?

I am relatively new to PHP, but experienced Java programmer in complex enterprise environments with SOA architecture and multitier applications. There, we'd normally implement business applications with business logic on the middle tier. I am…
transient_loop
  • 5,984
  • 15
  • 58
  • 117