简体   繁体   English

不带框架的Java EE MVC

[英]Java EE MVC without framework

I am working on a Java project to run on Google App Engine. 我正在研究一个在Google App Engine上运行的Java项目。 I started with coding in JSP/Servlets. 我从在JSP / Servlets中进行编码开始。 Now after few classes, I am seriously thinking about using an MVC framework. 现在,经过几堂课,我正在认真考虑使用MVC框架。

My question is, is there a best way to code a simple MVC framework? 我的问题是,是否有最佳方法来编写简单的MVC框架? I understand, the best approach is to choose one (Spring MVC/Slim/Play etc). 我了解,最好的方法是选择一种(Spring MVC / Slim / Play等)。

But I want to learn about best practices to use MVC without a framework. 但是我想了解在没有框架的情况下使用MVC的最佳实践。

i'm a framework learner, but for me, framework is just something that can simplify your coding. 我是框架学习者,但是对我来说,框架只是可以简化您的编码的东西。 And if you know how those frameworks work, you may try to implement the process yourself by simulating with your own codes. 而且,如果您知道这些框架的工作方式,则可以尝试通过使用自己的代码进行仿真来自己实现该过程。 Though there may be many bugs in your code, it's worth trying~ 尽管您的代码中可能存在许多错误,但还是值得尝试的〜

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM