I'm trying to develop a simple "homework submission system" with Java. I'm working on it as a practice for java web development but it is also goint to be used by my students. I read many stackoverflow threads and decided to use just JSP, Servlet and Beans and not to use any enterprise solution, framework etc. Because this is a learning trail and I开发者_运维知识库'm planning to use that technologies after understanding this part first. I have read necessary chapters from Head First JSPs and CoreServlets.
What I'm looking for is a simple architecture(I'm not sure that this is the right word) that I can go with. Or a sample application like Pet Store but just uses pure JSP/Servlet/Bean stuff as I mentioned above.
Note: I already read a bunch of MVC tutorials that include one JSP, one Servlet and one Bean but when it comes to a whole application they are not satisfying.
Thanks in advance
What you propose makes sense for really small websites, as soon as you start getting bigger then you start reimplementing a lot of the functionality the is implemented in the web frameworks.
Here is a good example of doing what you request without a Framework.
I think Servlets and JSP Pages Best Practices by Qusay H. Mahmoud can be useful. In the last part of the article a simple MVC Model 2 architecture is showed where JSPs, Servlets and Beans are the View, the Controller and the Model, respectively.
If that's not enough, you can search any MVC implementation proposal with JSPs and Servlets on the Internet.
Follow javapassion tutorialis by Sang Shin Here is the link that you might be interested in -
Build "HelloWeb" sample application
精彩评论