In a 3-Layer application, from better design/architecture point of view, can/should i instantiate a business class (which resides in Business Layer) in Presentation Layer? I mean, is that a bad practice? If so, then what are ways to refer to any business object from the Presentation Layer?For example, how i'm gonna save an "Employee" object in session state if i can't create it in the Presentation Layer(code-behind)?
Using business object in presentation layer
758 Views Asked by atiyar At
1
There are 1 best solutions below
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in BUSINESS-OBJECTS
- how to create in webi a text input control based on partial text or number for filtering a BO Report
- String field being treated as numeric value?
- If there a way to determine if a set of values contains a single instance of a string and create a new variable with only that string?
- Flag by Sales and Date
- Previous Month and Current Month
- How to display the top 10 values of a measure across the entire data in Business Object regardless of breaks?
- Is it possible to use existing currency-code field with custom amount field when we are extending RAP BO?
- How to use feature toggles in SAP Webi
- Business Objects exports excel with extra line at the end, but opening excel to edit this results in type mismatch on zip and NAICS code
- Get Formula value instead of formula code .net c# Crystal Reports SDK
- Solving the Error: INF WIS 10901 On Webi report?
- SAP BO to Power BI migration
- How to Sum without the numbers from duplicate rows?
- Possibility of Cell level calculation in Power BI
- Business Objects Connect "clsid not specified or erroneous" SQL Server 2019
Related Questions in PRESENTATION-LAYER
- Maximum Column in a Table of Presentation layer Oracle
- Manage GUI and logic interaction in Python
- Business Object is duplicating some properties for Presentation Layer
- ASP.NET, C# | How to use a method (and the returned value) with a controller?
- Catching exceptions from list of objects bound to DataGridView
- Swift macOS - -[_SwiftValue objCType]: unrecognized selector sent to instance
- How to verify entire content of Geb module using Spock at once without asserting each element individually?
- Time Zone in the View Layer
- When does a CALayer have a presentationLayer?
- In what layer do controllers fit in layered architecture/DDD
- How to construct clean presentation layer on iOS app
- AVFoundation Import breaks Core Animation Code
- Different input type based on data type of column in listview in wicket
- In DDD and CQRS, should I just put the required presentation logic directly into each Read (Finder) query?
- try catch in presentation layer - best practice
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you don't instantiate the business object in the presentation layer, how would you call it? So you shall have to do it. Of course, if you wish the code for business layer to run off somewhere else, you can think of services. But still, at that time you shall instantiate the proxy from the business/service layer only. So just go ahead.