GithubHelp home page GithubHelp logo

ethanlin-twer / smart-light-weight-javaweb-framework Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4.63 MB

Demo following the book *Architecture Adventures: Java Web Frameworks from zero to one* to build a backend framework supporting MVC, AOP, DI and more

Home Page: http://linesh.tw

Java 93.33% HTML 4.64% Groovy 2.03%

smart-light-weight-javaweb-framework's Introduction

README.md

This project is a step by step demo project following the book Architecture Adventure: Java Web Framework from zero to one written by Yong Huang. It's all(or at least more)about Java Web backend development and involves with Servlet/JSP/JSTL, MVC with controller/service/model, and advanced AOP. Further we'll build ourselves a light-weight backend framework called smart-framework.

Feedback please go check this out: FEEDBACK.md.

My learning and thinking are noted down here: Learning and thinking.

Installation

# Clone repo from github
git clone [email protected]:linesh-simplicity/stepbystep-servlet-maven-javaweb-project.git
cd stepbystep-servlet-maven-javaweb-project

Start up

# Install all maven dependencies and start maven tomcat plugin
mvn clean install
mvn tomcat7:run

visit: localhost:45096/stepbystep-servlet-maven-javaweb-project/hello

读我

本仓库是黄勇《架构探险: 从零开始写Java Web框架》一书的练习仓库。书主要讲解如何从零搭建一个轻量级的后端框架, 并从一个最简单没有框架的纯servlet程序讲起, 讲及后端模板JSP/JSTL, 后讲到基本的controller/service/model, MVC宜家三大件。练习过程会穿插我的思考, 比如前后端分离、RESTful等趋势, 不下定论, 多思考, 特别是后端模板技术, 它优劣何在, 反映了企业IT部门怎样的结构, 是否需要、以及如何变更等问题。

阅读本书的反馈, 请前往FEEDBACK.md

动手及阅读过程中的笔记和思考, 请前往 Learning and thinking

安装

# 从github上clone下代码
git clone [email protected]:linesh-simplicity/stepbystep-servlet-maven-javaweb-project.git
cd stepbystep-servlet-maven-javaweb-project

Start up

# 安装mvn依赖并启动maven的tomcat插件
mvn clean install
mvn tomcat7:run

访问: localhost:45096/stepbystep-servlet-maven-javaweb-project/hello

smart-light-weight-javaweb-framework's People

Contributors

ethanlin-twer avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.