Tiers represent the _____________ view of application.
- APhysical
- BLogical
- CExternal
- DNone of these
Tiers are the physical separation of an application across machines or processes.
MCQs, short and long questions from lecture 41.Lecture 41 ki MCQs, short aur long sawal.
2 MCQs · 15 short · 7 long questions · 2 MCQs from past papers2 MCQs · 15 short · 7 long sawal · 2 MCQs past papers se
Tiers represent the _____________ view of application.
Tiers are the physical separation of an application across machines or processes.
Layers represent the _____________ view of application.
Layers are the logical separation of an application into presentation, business and data parts.
No MCQs match this filter.Is filter mein koi MCQ nahi.
Name nay two logical layers of we application?
Any two of: presentation layer, business layer, data (data access) layer.
types of layers?
Presentation layer (user interface), business layer (business logic) and data layer (data access and storage).
Alternative name of business class:
The business layer is also called the application layer (business logic layer). It contains only the application-specific functionality: business rules and business tasks.
What is the alternate name of business layer?
Application layer (business logic layer).
How many logic layer possible in one tire?
One tier can hold one or more layers; all three logical layers (presentation, business, data) can reside on a single tier. Tiers are physical separations, layers are logical ones.
Differentiate between Layers and Tiers.
Layers are the logical grouping of an application's software components (for example presentation, business and data layers). Tiers are the physical machines or processes on which those layers are deployed. So layers give the logical view of an application and tiers give its physical view; one tier can hold several layers.
Name any two logical layers of web application?
Any two of: presentation layer, business layer, data layer.
What are the types of layers?
A web application is usually divided into three logical layers: 1. Presentation layer: provides the user interface. It collects and validates user input, shows the results and controls the screen flow (for example JSP pages). 2. Business layer (application layer): implements the application-specific functionality and business rules, for example opening an account or transferring a balance in a banking system (for example JavaBeans or EJBs). 3. Data layer: manages data and data sources such as databases, XML or files, and holds the data retrieval and storage logic (for example JDBC code).
EJBs and JSP run in which servers?
JSP and servlets run in a web server (web container, for example Tomcat), while EJBs need an application server (EJB container). An application server generally also contains a web server.
What is other name of business layer?
The business layer is also called the application layer.
Differentiate layers and tiers
Layers are the logical grouping of an application's software components (for example presentation, business and data layers). Tiers are the physical machines or processes on which those layers are deployed. So layers give the logical view of an application and tiers give its physical view; one tier can hold several layers.
Why we need tiers as we already have layers?
Layers are only a logical separation. Tiers are the physical separation of these layers onto different machines or processes. Tiers are needed for scalability, performance, security and maintenance: layers are spread across tiers (two or more layers can be on one tier), so parts of the application can be distributed and scaled separately. Layers help in building the tiered architecture.
Which technology is used in java to support the following layers? Presentation layer, Business Layer, Data Layer
Java technologies for each layer: - Presentation layer: JSP, servlets, JSF (and HTML/JavaScript, applets or Swing on the client). - Business layer: JavaBeans or Enterprise JavaBeans (EJB). - Data layer: JDBC (and related data access technologies).
Benefits of partitioning an application in logical layers
Benefits of partitioning an application into logical layers: - Separation of concerns: presentation, business and data logic are kept apart. - Easier maintenance: a change in one layer (for example the database) affects the others little. - Reuse of business and data components by different user interfaces. - Different people can work on different layers in parallel. - Layers can be placed on different tiers for scalability and security.
What is alternative name of business layer?
The business layer is also called the application layer.
Which technology is used in JAVA to support following layers? 1. Presentation Layer 2. Business Layer 3. Data Layer
Presentation layer: client side HTML, JavaScript and applets; server side servlets, JSP (with JSTL/EL) and JSF. Business layer: JavaBeans and Enterprise JavaBeans (EJB), also web services. Data layer: JDBC, used through Data Access Objects (DAO) and connectors (for example J2EE Connector Architecture) to databases and other data sources.
What technology is used in Java, that supports the following; Presentation Layer Business Layer Data Layer
Presentation layer: client side HTML, JavaScript and applets; server side servlets, JSP (with JSTL/EL) and JSF. Business layer: JavaBeans and Enterprise JavaBeans (EJB), also web services. Data layer: JDBC, used through Data Access Objects (DAO) and connectors to databases and other data sources.
Why J2EE is called multi-tiered?
J2EE uses a multi-tiered distributed application model. Application logic is divided into components according to their function, and these components are installed on different machines (tiers): - Client tier components (browser, applets, application clients) run on the client machine. - Web tier components (servlets, JSP) run on the J2EE server. - Business tier components (EJBs) run on the J2EE server. - Enterprise information system (EIS) tier (databases, legacy systems) runs on the EIS server. Because the parts of an application are spread across these physical tiers, J2EE is called multi-tiered.
Types of layers? Briefly explain each.
A web application is usually divided into three logical layers: 1. Presentation layer: provides the user interface. It collects and validates user input, shows the results and controls the screen flow (for example JSP pages). 2. Business layer (application layer): implements the application-specific functionality and business rules, for example opening an account or transferring a balance in a banking system (for example JavaBeans or EJBs). 3. Data layer: manages data and data sources such as databases, XML or files, and holds the data retrieval and storage logic (for example JDBC code).
Why is J2EE said to be multi tiered application?
J2EE uses a multi-tiered distributed application model. Application logic is divided into components according to their function, and these components are installed on different machines (tiers): - Client tier components (browser, applets, application clients) run on the client machine. - Web tier components (servlets, JSP) run on the J2EE server. - Business tier components (EJBs) run on the J2EE server. - Enterprise information system (EIS) tier (databases, legacy systems) runs on the EIS server. Because the parts of an application are spread across these physical tiers, J2EE is called multi-tiered.
Draw and divide the components of internet banking(Client,web Server and DB server) into three layered approach?
Presentation layer: the client (web browser) showing pages and forms where the customer logs in and requests transactions. Business layer: the web server running servlets/JSP/beans that check the login, apply banking rules (balance checks, transfers) and build responses. Data layer: the database server that stores accounts and transactions, accessed by the business layer through JDBC. Requests flow Client -> Web server -> DB server and results flow back.
What are benefits of partitioning the application in logical layers?
Each layer (presentation, business, data) has one responsibility, so code is easier to understand and maintain; a layer can be changed or replaced (e.g. a new UI or database) without affecting the others; layers and their components can be reused; teams can work on layers in parallel; and the layers can later be deployed on separate tiers for better scalability and security.