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.

370 questions
3
votes
2 answers

Separate user interface from domain in java Swing

As a Java Swing newbie, I have some trouble separating the user interface logic from the domain logic. I have a small (trivial?) Swing app with a JFrame that contains a JLabel, JTextField and a JButton. When pressing the JButton a JFileChooser…
user504342
  • 945
  • 2
  • 16
  • 36
3
votes
1 answer

generating a web link in a 3 tier-architecture, from the logic layer (C#)

I have a 3-tier architecture system (Data, Logic, Presentation). The Presentation layer is an ASP.Net website. I would like to send out emails from time to time. My assumption is that such logic for sending emails should be placed in the…
Karl Cassar
  • 6,043
  • 10
  • 47
  • 84
2
votes
3 answers

3-tier architecture correctness

I have a project implemented in a (flawed) 3-tier architecture. My job is making it more generic so that it would be easy to add a new database into the project. Concrete: there is a databaseFacade for an SQL database and i have to make it more…
Christophe
  • 43
  • 6
2
votes
2 answers

Does my application missing app tier?

Am new to programming. I have created a Spring MVC web application. It has JSPs for the frontend, Spring MVC as the middleware component and for data part a request is made to webservice to fetch the data. The middleware component does not have too…
Raghav
  • 1,014
  • 2
  • 16
  • 34
2
votes
3 answers

3 Tier Application Architecture possible with Azure?

Hi I have been assigned a task of converting an existing 3 Tier application (Presentation Layer, Business Layer and Data Layer) to an Windows Azure Project. Basically what I did was create a Web Role and put the presentation layer in it then I…
adi bon
  • 301
  • 2
  • 6
  • 16
2
votes
1 answer

BLL errors best practise

What is the best practise for returning an error of a business rule in a BLL? SHould I just raise exceptions and catch them in the presentation layer, shoudl I return some kind of object that holds any exception type info?
januszstabik
  • 1,152
  • 5
  • 16
  • 30
2
votes
2 answers

LINQ with 3 Tier

Currently I am working on the design of my degree project. Some days ago I began studying LINQ. I found it was interesting and planned to use it in my project but now I am getting confused at some point. When I add the LINQ to SQL class it auto…
Mohsan
  • 2,483
  • 6
  • 47
  • 62
2
votes
2 answers

Three-Tier architecture and LINQ to Entities

For a couple of years, I've been using the three-tier architecture (Presentation, Logic and Data Layer) to write applications. Usually, I am using tools such as .netTiers to generate the data layer and partially the logic layer. Everything is well…
Martin
  • 39,309
  • 62
  • 192
  • 278
2
votes
3 answers

Making an address book application using JAVA

I am a Java beginner and am going to make a small address book client program using java swing. And my goal is implementing 3-tier architecture. (No sql queries are in client program) What would be the best approach for this? I thought (Java…
2
votes
2 answers

Tree like Database For Orders SQL

![enter image description here][2]I am working on a database that will create a three-tier structure. The idea is going to look like this: 1st level: Order table Primary Key - OrderID 2nd Level: OrderlineItemHeader table Primary Key -…
2
votes
2 answers

3 tiers architecture best practice using Spring Boot

I work with 3-tier architecture in a Spring Boot app. I created 3 packages (model, service, controller), but what I did, service calls a repo function with try catch, and then I call it in controller Example: Service: public…
renad sahal
  • 147
  • 10
2
votes
1 answer

Using seperate layers for interfaces and DTO's

I'm currently following an IT study, and we're asked to use interfaces and DTO's in a multi-layered ASP.Net Core MVC consisting of Presentation, Logic/Business, and Data Access, using dependency inversion so that both the presentation and DAL have…
oggiV
  • 21
  • 1
2
votes
3 answers

Getting started with 3-tier architecture in VB.net

I recently started developing a project in 3-Tier architecture, with a BLL, DAL, and Presentation layers. The references I used were sample 3-tier applications off the net, and all of them differ from each other. So, now i am confused which one is…
mrN
  • 3,734
  • 15
  • 58
  • 82
2
votes
1 answer

Separation of modules in the business layer

Our new project just started and we have a problem related to its architecture. We have a 3 layer arhitecture: WebUI Business DataRepositories Each layer has reference only to the layer below it. The communication is done with what we call…
AdamB
  • 21
  • 1
2
votes
2 answers

What is suggested way to have server-side hooks over mongodb?

MongoDB performs really well compared to our hacking of MySQL in de-normalized way. After database migration, I realized that we might need some server-side procedures to invoke after/before database manipulation. Some sorta 3-tier architecture. I…
Drake Guan
  • 14,514
  • 15
  • 67
  • 94