service-layer Questions
3
Solved
I am looking for a simple way (if it exists) to generate a URL in a service class for a specified controller and action in an ASP.NET MVC 3 web application. I want to do this in the service layer b...
Male asked 3/8, 2012 at 17:6
6
Solved
Say you have an ASP.NET MVC project and are using a service layer, such as in this contact manager tutorial on the asp.net site: http://www.asp.net/mvc/tutorials/iteration-4-make-the-application-lo...
Moth asked 8/6, 2010 at 23:45
2
I'm currently building a web application and attempting to design it following good MVC and service-oriented architecture.
I have, however, hit a bit of a wall in connecting the presentation laye...
Rohde asked 25/5, 2015 at 11:40
2
Solved
How can I inject a dependency like @EJB, @PersistenceContext, @Inject, @AutoWired, etc in a @FacesValidator? In my specific case I need to inject a Spring managed bean via @AutoWired:
@FacesValida...
Fantast asked 27/9, 2011 at 16:14
2
Solved
I have a repository layer that is responsible for my data-access, which is called by a service layer. The service layer returns DTOs which are serialized and sent over the wire. More often than not...
Chromo asked 21/2, 2011 at 17:12
3
I have an asp.net web api.
I want to own selfhost my Web API later on an azure website.
A logged in user could do this in the browser /api/bankaccounts/3
to get all details about bank account nu...
Tibbetts asked 13/6, 2015 at 9:56
2
Solved
My understanding is that the service layer should always return a DTO so that domain (entity) objects are preserved within the service layer. But what should be the input for the service layer from...
Dreg asked 29/12, 2018 at 3:22
3
Solved
I'm trying to figure out the best way to build an easily maintainable and testable architecture. Having gone through several projects, I've seen some pretty bad architectures and I want to avoid ma...
Norsworthy asked 31/7, 2011 at 17:24
1
Solved
I was wondering how most developers use this two Laravel tools.
In Laravel, you can handle business logic with Services, or with Jobs (let's talk only about not-queueable jobs, only those ones tha...
Lsd asked 19/10, 2018 at 15:36
5
Solved
In OOP Design Patterns, what is the difference between the Repository Pattern and a Service Layer?
I am working on an ASP.NET MVC 3 app, and am trying to understand these design patterns, but my b...
Endoblast asked 19/2, 2011 at 6:51
5
Solved
I have been reading about where to put business logic in ASP.NET MVC Project for a while and I still can't get clear on some things.
1 - Domain models. What are these really? In my Model folder I ...
Arbil asked 2/2, 2013 at 1:24
2
Solved
I have been developing with Zend Framework for a number of years and am now learning Laravel.
In my previous applications I usually have a Service Layer that is called by controllers. The Service ...
Aloeswood asked 29/1, 2017 at 22:35
3
I am working on an ASP.Net MVC 3 web application (EF 4.1) separated in layers: Models, Repositories, Services, Controllers, ViewModels in some cases, and Views.
Now my question is one of best prac...
Squarerigged asked 4/9, 2011 at 15:33
3
Solved
I maintain a web application that have a page with the JSF tag <f:event. I have rewrote a method in a service class for it to throw a business exception. However, when the business exception is ...
Fulminant asked 29/9, 2015 at 20:26
4
Solved
Below are two ways a service layer can be implemented in an CodeIgniter application.
1st method
1.send request to the controller
2.calling service layer methods from controller
3.return process...
Leidaleiden asked 6/11, 2016 at 17:21
3
Solved
Somewhat related to my other question Should raw Hibernate annotated POJO's be returned from the Data Access Layer, or Interfaces instead? , I am experienced in creation of nicely decoupled lay...
Countrybred asked 21/10, 2011 at 23:30
5
Solved
I am attempting to create a clean cut service layer, whereby the service layer acts upon one or more repositories, and each repositories acts on its own eloquent model.
For example, I may have:
...
Oppugn asked 11/5, 2015 at 12:45
2
In Patterns of Enterprise Application Architecture, Martin Fowler talks about two patterns for organizing Domain Logic: Domain Model and Service Layer. The Domain Model pattern is the "pure OOP" ap...
Intine asked 2/3, 2014 at 19:50
3
Solved
How do people design their service layer interfaces?
I'm programming a large web application (in PHP) and we're using MVC, and programming thin controllers e.g. (pseudo code follows)
public saveP...
Farro asked 4/11, 2010 at 1:34
1
I'm developing a simple Java application for doing CRUD operations against a database through a RESTful API. It's divided into three layers: the controller layer, the service layer and the DAO laye...
Colucci asked 30/10, 2014 at 8:56
1
Solved
I have some model class
public class Account {
@Email
private String email;
@NotNull
private String rule;
}
and spring-validator
public class AccountValidator implements Validator {
@Ov...
Lethia asked 22/10, 2014 at 6:17
2
Solved
I am not sure whether my approach with the MVC environment in JSF is the best way to go. Since I am trying to get the most out of JSF I would like to know how my Service Layer (or Model, speaking i...
Airflow asked 22/10, 2012 at 12:22
2
Solved
I am working on converting an Ant execution of the SoapUI TestRunner to use the maven plugin and I cannot get a good answer on how to execute multiple projects using this plugin.
I found a forum ...
Noseband asked 7/2, 2012 at 22:18
4
I've done alot of research, including here on SO, and I can't seem to find clear direction. I currently have an ASP.NET MVC3 application, with a service layer that sits on top of a repository.
In ...
Disclaimer asked 11/4, 2012 at 16:14
1
Solved
In Eric Evan's book "Domain Driven Design" (which people often call 'the best example for DDD'), there are many examples of aggregate roots (mostly domain models or even entities) that fullfil a ce...
Zoe asked 17/3, 2014 at 8:24
1 Next >
© 2022 - 2024 — McMap. All rights reserved.