How can we develop a multi-tier application in Java?



How can we develop a multi-tier application in Java?..

Answer / Sandeep Jaiswal

A multi-tier application in Java can be developed using various architectures such as Model-View-Controller (MVC), Service-Presentation (SP) or Model-View-ViewModel (MVVM). Here's an example of a simple MVC architecture:n
1. Model: Represents the business logic and data of the application.n - Entity classes (e.g., User, Product) to represent data structures.n - Service classes (e.g., UserService, ProductService) to perform operations on the entities.
2. View: Represents the user interface.n - JSP or JSF pages that define the UI structure and layout.
3. Controller: Acts as an intermediary between Model and View.n - Servlet or Spring MVC controller classes to handle requests, call services, and update models if needed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

What are scrubbing procedures in SAS

1 Answers   IBM,


how we can call xml file in java file using Android platform?

2 Answers   TCS,


Given: (x-2)(x+3)= 100; solve the equation for x using any programing language.

2 Answers   Amazon, Manhattan,


suppose we have ten members of a physical file but we want the output of last 5 members only.how to achieve that?

1 Answers   Bank Of America,


what will be the model paper for the post of assistant programmer in delhi high court

2 Answers  


Can anyone send me NIC question papers alongwith answers on nidhi1485@yahoo.co.in? Urgently needed.. Thanks in advance

1 Answers  


Hi Friends , i am very new in VB 6.0 Any body can able to help me ? i need interview question and answer vb 6.0 . please send honeysukumar@yhaoo.com

2 Answers  


if try is followed by finally block what happen to exception occured in try block

3 Answers   Professional Access,


Explain the types of operations? Draw the figure for shift and rotate operations?

0 Answers  


what is oops?

5 Answers   Satyam,


plz send me NIC Scientific Officer /Engineer-SB(Programmer) previous question paper or syllabus

2 Answers   NIC,


List and explain any five built in functions for Lists data type in python

1 Answers   Peerless,


Categories