Java MVC框架 Easy Java Websites
Easy Java Websites (EJW)是一個基于Java Servlet實現的MVC Web應用程序開發框架。它專門為能夠以非常簡單的方式來開發Web應用程序而設計。EJW簡單到可以在幾分鐘內學會。
- more functionality than JPA (and a lot easier)
- performance equal to or better then any JPA implementation
- a footprint a fraction the size of any other (< 300k)
- automatic object/relational mapping (A-O/RM)
- automatic handling of all associations
- automatic persistence tracking
- commercially supported software
- and a lot more (see features)
示例代碼:
public class HelloWorld extends RequestHandler { public String hello() { getServerInterface().addViewObject("helloWorld", "Hello World"); return "/WEB-INF/helloWorld.jsp"; } }
<div align="center"> <h3>Hello, This Is A Simple "Hello World" Example.</h3> <h2>${helloWorld}</h2> </div>
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!