Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What is Model 1 architecture?

Pragya Keshap answered on March 1, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers

  • model driven architecture
  • What is layer-1 in the OSI Model?
  • What is Model?
  • can i be a model
  • What is Model 2 Front Controller architecture?
  • Architecture(s) inside Architecture

  • What is Model 1 architecture?

    0

    Servlet and JSP are the main technologies to develop the web applications.

    Servlet was considered superior to CGI. Servlet technology doesn't create process, rather it creates thread to handle request. The advantage of creating thread over process is that it doesn't allocate separate memory area. Thus many subsequent requests can be easily handled by servlet.

    Problem in Servlet technology Servlet needs to recompile if any designing code is modified. It doesn't provide separation of concern. Presentation and Business logic are mixed up.

    Play Video

    JSP overcomes almost all the problems of Servlet. It provides better separation of concern, now presentation and business logic can be easily separated. You don't need to redeploy the application if JSP page is modified. JSP provides support to develop web application using JavaBean, custom tags and JSTL so that we can put the business logic separate from our JSP that will be easier to test and debug.

    model 1 architecture

    As you can see in the above figure, there is picture which show the flow of the model1 architecture.

    Browser sends request for the JSP page

    JSP accesses Java Bean and invokes business logic

    Java Bean connects to the database and get/save data

    Response is sent to the browser which is generated by JS 

    https://www.javatpoint.com/model-1-and-model-2-mvc-architecture

    Popularity 3/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: model whatever
    Link to this answer
    Share Copy Link
    Contributed on Mar 01 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.