Questions tagged [business-logic-layer]

The business logic layer (BLL) is the layer in a multi-layer software architecture which separates the business logic from other layers such as the data access layer (DAL) and user interface (UI or presentation layer).

A business logic layer (BLL) is a software engineering practice of compartmentalizing business rules in a multitier architecture. It separates the business logic from other modules, such as the data access layer (DAL) and user interface (UI). By doing this, the business logic of an application can often withstand modifications or replacements of other tiers.

http://en.wikipedia.org/wiki/Business_logic_layer

207 questions
0
votes
2 answers

Moving MVC-style service layer under WCF

Recently I've been working with MVC4 and have grown quite comfortable with the View > View Model > Controller > Service > Repository stack with IoC and all. I like this. It works well. However, we're moving towards company wide application platform…
0
votes
1 answer

Appropriate way for business logic layer to deal with its neighbors?

Good morning, i have a use-case in my project that says that If the user isn't logged in to the application display a warning message to him and what determines if the user is logged in or not is a managed bean called loginPageCode, a class in the…
Eslam Hamdy
  • 7,126
  • 27
  • 105
  • 165
0
votes
1 answer

Application Services referred as containing Business Logic

I have a question that twisted me over the last months. Some of the writers and persons (I would not say all of them) are associating the Business Logic with Application Services. According to what I know a business Logic contain the classes that…
0
votes
1 answer

Passing an interface to a base class by reference

I'm creating an application that has numerous business entities. I'd like to make sure that every time one is modified, I timestamp the record accordingly and place the creating/modifying user. I have a group of entities and service classes for…
XVargas
  • 1,512
  • 2
  • 13
  • 16
0
votes
2 answers

Web services and Class object

I am just wondering in how to use Web Services with class object .I have class object in my BOL like Customer, Task, Project and etc. I use ADO.net to connect to data layer I'm just start using Web services on my project I added folder called…
user1800361
0
votes
1 answer

Presentation, Service and DAO layers relationships

I have thought a lot about this question, but couldn't found some clear answer on this: As I've understood at the last time, business layer should works only with model objects. It shouldn't know anything about how and from we fetched this data. It…
0
votes
1 answer

business service calls multiple methods on the Data Access Layer each opening a connection

I am doing this pseudo-code in my unitservice which is calling 2 methods of the UnitDataProvider class. var units = dataProvider.GetChildrenUnits(parentId); unit.HierarchyIndex = units.Where( u => u.TemplateId == unit.TemplateId && u.ParentId ==…
Elisabeth
  • 20,496
  • 52
  • 200
  • 321
0
votes
1 answer

How to access DataSet From BLL in c#

I'm sorry for the question, but I'm new with the BLL :( I have my DAL with a dsUsers.xsd created. Now I'm trying to develop the BLL for UserBLL, I realized that in some examples on the web, they make reference to the table adapters like this: using…
Somebody
  • 2,667
  • 14
  • 60
  • 100
0
votes
2 answers

business layer or presentation layer

I am writing an ntier website which contains a table of information. I am using jeditable to make the table editable. The client wants some fields in the table readonly depending on whether the information they contain is before or after a…
Sico
  • 1,183
  • 1
  • 10
  • 16
0
votes
1 answer

How to model core business logic and specializations for multiple applications?

I've got a bit of a complex scenario that I'm stuck on trying to determine a good model for. The basic idea is that I have a business logic layer that is shared by multiple applications that work in the same domain. Certain minor functionality…
AJ Henderson
  • 1,120
  • 1
  • 12
  • 32
0
votes
1 answer

How to add parameters and execute a generic IDbCommand

Here is my problem in detail. I have created a data access layer class that allows me to create most of objects I needed to communicate with databases (Odbc, OleDb and SqlClient). I also have created a business object handling layer class with…
0
votes
1 answer

Data validation in software

Should the data validation be in the application/business layer or should it part of the data access layer-acting as a gateway to what goes into the data store?
Sam
  • 933
  • 5
  • 14
  • 26
0
votes
1 answer

How should I retrieve the logged in User from session and pass it to my Business Layer?

I use JSF, Hibernate and CDI with Weld. My application is divided in: View (xhtml), Control (Request/Session/View scoped Beans), Model (Entities) and Business (BO's marked as Application scoped beans). I try to keep Model and Business layers…
RinaldoDev
  • 985
  • 6
  • 21
0
votes
1 answer

WCF as Business Logic

My Current Architecture Plan for my Application is UI -> WCF Bal -> Generic Dal -> Entity Model I have created generic Dal methods and the related entity and the specific operation to be performed will be handled from the Business Logic. I am trying…
Ankit
  • 133
  • 4
  • 16
0
votes
1 answer

Moving a function from code behind to Business Logic Layer Class

I am using ASP.NET Web Forms/C#. I am having this function in my code behind which fills Cities DropDownList based on the State DropDownList selection. Here is my function. public void CityFill(int index,int id) { //This function…
Priyank Patel
  • 6,898
  • 11
  • 58
  • 88
1 2 3
13
14