Business logic vs Presentation logic

Business logic vs Presentation logic

what is the difference between Business logic and Presentation logic?.
View Answers

January 30, 2011 at 8:10 PM

Business logic: The part of your code which uses the input got from user to perform desired action(usually Beans - model in MVC)

Presentation logic: The code part which does the remaining part of the application - like diplaying the results from business logic, next control flow(should be servlet - Controller in MVC. Only servlet should tell the JSP what to do).









Related Tutorials/Questions & Answers:
Business logic vs Presentation logic - JSP-Servlet
Business logic vs Presentation logic  what is the difference between Business logic and Presentation logic
the business logic is executed.
the business logic is executed.  In which method of Action class the business logic is executed
Advertisements
The J2EE Architecture allows the programmers to divide their work into two major categories Business Logic Presentation
categories: Business Logic Presentation Logic Presentation Logic: Presentation
why business logic in servlets - JSP-Interview Questions
why business logic in servlets  why business logic written using servlets not in jsp. Jsp used for presentation purpose. serlvet used for coding business logic and controller logic. Reason for using servlets in business logic
Business Logic in mvc2 - JSP-Servlet
Business Logic in mvc2  What is business logic and where it is written using servlet and jsp
LOGIC
LOGIC  hey guys..i have my exams coming in somedays and it would be really helpful if someone explained how to develop the logic of any program
LOGIC
LOGIC  hey guys..i have my exams coming in somedays and it would be really helpful if someone explained how to develop the logic of any program
Business Objects of Business Logic tier
Business Objects of Business Logic tier   ... will develop the objects of business logic tier. Business logic tier referrers..._TO_REPLACE_1 Business logic tier communicates both with user interface tier
ModuleNotFoundError: No module named 'python-business-logic'
ModuleNotFoundError: No module named 'python-business-logic'  Hi...: No module named 'python-business-logic' How to remove the ModuleNotFoundError: No module named 'python-business-logic' error? Thanks   Hi
ModuleNotFoundError: No module named 'python-business-logic'
ModuleNotFoundError: No module named 'python-business-logic'  Hi...: No module named 'python-business-logic' How to remove the ModuleNotFoundError: No module named 'python-business-logic' error? Thanks   Hi
ModuleNotFoundError: No module named 'django-business-logic'
ModuleNotFoundError: No module named 'django-business-logic'  Hi...: No module named 'django-business-logic' How to remove the ModuleNotFoundError: No module named 'django-business-logic' error? Thanks   Hi
Logic and desgin
Logic and desgin  How would this be put in visual logic symbol
Integrating Business Logic Tier and Integration Tier Components
Integrating Business Logic Tier and Integration Tier Components...; In the business logic tier web have created business objects, business services and now we are going to integrate them using Spring framework. Business
Logic Building
Logic Building  I wanted to devlop my logic ? How can i do so ? Can i start with java or i need to do c++ before
Logic Iterate.
Logic Iterate.  I have one doubt about logic:iterate. I use text feild inside of logic:iterate , there is possible will generate N no of rows (text feild) inside of iterate. my doubt is how to get the Paritcular rows text
Logic Iterate.
Logic Iterate.  logic iterate Struts I have one doubt about logic:iterate. I use text field inside of logic:iterate , there is possible... the Particular rows text value. for example: print("<logic:iterate id="xid
Logic and Degin
Logic and Degin  Need help in writing a pseudocode for this can so please help me with this just need to get started. In this lab, you are going to extend the Fireworks Checkout Stand application in Week 6. This week, we
What is programming logic ?
What is programming logic ?  What is programming logic
Logic and Design
Logic and Design  Please help me with this Write a program that prompts and accepts a number between 1 and 12. After getting the input, display the number with the appropriate month. (example: This is the 1st month¦January
logic-iterate
logic-iterate  in my code i am using for-each loop for displaying data i want use tag to display data how to use plase help me <%@ page import="java.sql.*" %> <%String[] id = (String[])session.getAttribute("ids
The J2EE Architecture allows the programmers to divide their work into two major categories Business Logic Presentation Logic
WEB LOGIC - JSP-Servlet
WEB LOGIC project  I want the procedure to run a project in we logic server
ModuleNotFoundError: No module named 'logic'
ModuleNotFoundError: No module named 'logic'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'logic' How to remove the ModuleNotFoundError: No module named 'logic'
what is the logic of this pattern?
what is the logic of this pattern?   1 121 12321 1234321
Version of com.thesett>logic dependency
List of Version of com.thesett>logic dependency
struts logic tags
struts logic tags  what is the use of struts logic tag   The purpose of Struts logic tags is to alter output depending on the given...://www.roseindia.net/struts/struts-logictags/logic-tags-introduction.shtml http
About Web-Logic
the Web-Logic with Tomcat 5.0 version in Console. Somebody has suggested to see the webpage (they had given the link).But when i installed the Web-Logic i... folder in the Web-Logic
Struts logic iterate
Struts logic iterate  This is my jsp page in which i used 3 logic...; <%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>...; <body> <h1> Search </h1> <logic:iterate name
logic for pattern program
logic for pattern program  what's the logic for create pattern program how can i create any pattern program with in minute. like this 123454321... create this program in java without help whats the logic how can i understand
i have developed the application in jsp(front-end -jsp,business logic-jsp).it is very slow when accessing the page - JSP-Servlet
i have developed the application in jsp(front-end -jsp,business logic-jsp).it is very slow when accessing the page  i have developed the application in jsp only.i did not use any classes.application is very slow when access
logic iterate tag - Struts
logic iterate tag  Hey I am displaying the values in a jsp called categoryView.jsp using logic iterate tag as Now properties bname and quant belongs to another formbean named as ViewCategoryForm.java.When I
logic for c language
logic for c language  01 02 03 04 05 06 20 21 22 23 24 07 19 32 33 34 25 08 18 31 36 35 26 09 17 30 29 28 27 10 16 15 14 13 12 11
Tell us the logic of diceroller
Tell us the logic of diceroller  import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class DiceRollerServlet extends... is " +dice2); } } dice1 =3 dice2 =2 How is the logic executed????   
Extended VS Presentation
Extended VS Presentation         Extended VS Presentation plugin contributes powerful... not only have all "default" Eclipse presentation features but adds much more
Please explain the logic....
Please explain the logic....  class A1 { } class B extends A1 { } public class ComingThru { static String s = "-"; public static void main(String[] args) { A1[] aa = new A1[2]; B[] ba = new B[2
ModuleNotFoundError: No module named 'logic-circuit-dave22153'
ModuleNotFoundError: No module named 'logic-circuit-dave22153'  Hi...: No module named 'logic-circuit-dave22153' How to remove the ModuleNotFoundError: No module named 'logic-circuit-dave22153' error? Thanks   
ModuleNotFoundError: No module named 'logic-toolchain'
ModuleNotFoundError: No module named 'logic-toolchain'  Hi, My... named 'logic-toolchain' How to remove the ModuleNotFoundError: No module named 'logic-toolchain' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'pyapi-logic'
ModuleNotFoundError: No module named 'pyapi-logic'  Hi, My Python... 'pyapi-logic' How to remove the ModuleNotFoundError: No module named 'pyapi-logic' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'tarrah-logic'
ModuleNotFoundError: No module named 'tarrah-logic'  Hi, My Python... 'tarrah-logic' How to remove the ModuleNotFoundError: No module named 'tarrah-logic' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'tarrah-logic'
ModuleNotFoundError: No module named 'tarrah-logic'  Hi, My Python... 'tarrah-logic' How to remove the ModuleNotFoundError: No module named 'tarrah-logic' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'django-logic'
ModuleNotFoundError: No module named 'django-logic'  Hi, My Python... 'django-logic' How to remove the ModuleNotFoundError: No module named 'django-logic' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'geohash_logic'
ModuleNotFoundError: No module named 'geohash_logic'  Hi, My... 'geohash_logic' How to remove the ModuleNotFoundError: No module named 'geohash_logic' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'json-logic'
ModuleNotFoundError: No module named 'json-logic'  Hi, My Python... 'json-logic' How to remove the ModuleNotFoundError: No module named 'json-logic' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'fuzzy_logic'
ModuleNotFoundError: No module named 'fuzzy_logic'  Hi, My Python... 'fuzzy_logic' How to remove the ModuleNotFoundError: No module named 'fuzzy_logic' error? Thanks   Hi, In your python environment
Version of struts>struts-logic dependency
List of Version of struts>struts-logic dependency
ATM Logic - Java Beginners
ATM Logic   Q-In an ATM program i want to print the receipt in which there is information of rupees note that come out from an ATM machine when user enters the particular amount. For e.g. if user enters 2250 then he should get
struts logic:iterate tag
struts logic:iterate tag  Hi All, I am writing a look up jsp which is using logc:iterate every thing is fine except this the problem here is unable to go inside the tag. Here is the stack trace I am getting. [#|2010-10-27T00
Struts Logic Tags
Struts Logic Tags       Struts Logic Tags examples. Introduction to Struts Logic Tags Struts logic tags are conditional tags that replaces
Logic error? HELP PLEASE! :(
Logic error? HELP PLEASE! :(  Hello Guys! i have a huge problem. What I want to do is there is a retrieve jsp page. In the retrieve jsp page there is a text box which user to key in their email and one more dropdownlist which get
leap year logic - Java Beginners
leap year logic  hi frds.. can u give me logic for leap year..  Hi Friend, Please visit the following link: http://www.roseindia.net/java/beginners/Leapyear.shtml Thanks

Ads