Examples of Java MVC Model 2 architecture?

前端 未结 4 2039
陌清茗
陌清茗 2021-01-01 05:31

Can anyone post or point me in the direction of a clear example of a from scratch implementation of Model 2 architecture?

Below is a detailed descri

相关标签:
4条回答
  • 2021-01-01 05:57

    Maybe Struts 1 (with tiles) would be easier to grok than Spring, if you want to see how MVC works in a Java web application. Ignoring all the Struts tags, you end up with Actions (which are called by the Struts servlet), JSPs and a configuration file or two to tie them together. Lots of information online.

    0 讨论(0)
  • 2021-01-01 06:06

    I would download Spring and check out some Spring examples too. Also take a look at this tutorial

    0 讨论(0)
  • 2021-01-01 06:11

    I like Bear Bibeault's article from a few years ago. High level explanation, but very clear.

    This is his implementation of an MVC "framework". I learned a lot by going through it:

    Bear Bibeault's Frontman

    0 讨论(0)
  • 2021-01-01 06:12

    Try the Sun Java petstore:

    http://java.sun.com/developer/releases/petstore/

    Or an older version:

    http://java.sun.com/developer/releases/petstore/petstore1_3_1_02.html

    0 讨论(0)
提交回复
热议问题