当前位置:网站首页>The three-tier structure completes the addition, deletion, modification and search of chapter I
The three-tier structure completes the addition, deletion, modification and search of chapter I
2022-07-22 10:24:00 【Hua Weiyun】
Preface
Here is a little jsp Of , By the way , Not very familiar , Because now this technology is relatively backward , But as a learning process, I also learned .
Because technology is not very commonly used now , So I didn't take notes alone . Some knowledge of the previous paragraph , Simply combine some back-end knowledge , As a simple exercise at this stage .
Although simple, knowledge is worth noting , Because the front and back ends of the implementation involve principled things , And bits and pieces of knowledge , So write it down yourself .
Take a look mvc And the idea of three-tier architecture . I didn't study very deeply , But it can be seen that it is a thought of divide and rule , Is to realize their respective functions , Make the services between functions more organized , Instead of mixing together .
The above is mvn Pattern , The following corresponds to a three-tier architecture . We are programming from the thinking of data access layer, business logic layer and presentation layer .
Our goal is to achieve a front-end and back-end project , Complete an operation of adding, deleting, modifying and querying , Display the form on the front page .
For details, see the following display .
Environmental preparation
establish web Project structure
Here, of course, you can choose the skeleton
I chose not to use the skeleton
This is the created one pom The configuration file
Then we configure it war packaging .
This is our current structure , Then we need to supplement some directories and configurations
Let's open the project structure to see , Then select Facets, Then we see that our new one is not recognized as web modular .
Then let's add , Click on the plus sign , And then choose web.
Then add your module
Click continuously to confirm
Then we click here .
Then the best choice is 3.0 Later versions
Then confirm later .
Now let's look at the project catalogue , Making small changes . The project structure is still not quite correct
Let's put the web Drag onto main Next
And then WEB-INF Drag onto web below
In this way, the basic transformation is completed .
Here we explain how to create your own web The process of project structure . We all said before , Including the skeleton . Review here again .
边栏推荐
- 奇安信加入欧拉开源社区,携手推动商用密码应用
- std::thread 與類對象結合
- ASEMI整流桥LB10S参数,LB10S特性,LB10S机械数据
- [gestionnaire de projet du système d'information] chapitre IV Structure globale des connaissances en gestion
- 2022 open source PHP message feedback management system v2.0
- Autojs learning - achieve drawer effect
- IO异常处理
- Google Earth Engine APP——UI地图加载一个高程显示标签并显示高程案例
- jsonobject的get方法使用
- Notes on energy principle and variational method 07: variational problem of multiple self variable functions + variational method of conditional extreme value problem + thinking in Chapter 1
猜你喜欢
什么是云渲染?渲染速度有多快?一文告诉你
1307_嵌入式设计中的晶振测试小结
直播预告 | NFT, AIGC/UGC工具与元宇宙产品带来的新的设计创意与生产方法
Energy principle and variational method note 06: variational problems of higher-order derivatives (including higher-order derivatives of functions)
上门预约程序公众号模块 完美版
day02-2
Ingress
使用cpolar建立一个商业网站(3)
OSPF comprehensive experiment
Microgrid scheduling based on Kalman filter (matlab code implementation)
随机推荐
Intel joins hands with Baidu to promote the process of industrial intelligence and build a green future together
What are the inline elements, block level elements, and empty elements?
Understanding of web standards and W3C?
能量原理与变分法笔记03:证明两点之间直线最短
MySQL transaction operation and locking mechanism
2022开源PHP留言反馈管理系统 v2.0
[Basic] Pointer in C
[gestionnaire de projet du système d'information] chapitre IV Structure globale des connaissances en gestion
登录提示 ORA-28000 The account is locked.
What is cloud rendering? How fast is the rendering speed? Yiwen tells you
Unity C: use this keyword to expand class functions
DaVinci resolve 18, a video editing and color matching software, was officially released
Lihuadaiyu music player 3.91 source code is open source (add background music to the website)
d是矩形.
上门预约程序公众号模块 完美版
Google Chrome browser will support taking notes on any web page and multi device synchronization
多线程 里面 使用AtomicInteger类,保证线程安全
Understanding and operation of pointer
[Arduino] raspberry pie rp2040 on-board ws2812 lamp transformation effect and breathing lamp effect example
Baidu PaddlePaddle easydl x wesken: see how to install the "eye of AI" in bearing quality inspection