Java MVC框架 Easy Java Websites
jopen
13年前
<p>Easy Java Websites (EJW)是一个基于Java Servlet实现的MVC Web应用程序开发框架。它专门为能够以非常简单的方式来开发Web应用程序而设计。EJW简单到可以在几分钟内学会。</p> <ul style="font-weight:bold;"> <li>more functionality than JPA (and a lot easier) </li> <li>performance equal to or better then any JPA implementation </li> <li>a footprint a fraction the size of any other (< 300k) </li> <li>automatic object/relational mapping (A-O/RM) </li> <li>automatic handling of all associations </li> <li>automatic persistence tracking </li> <li>commercially supported software </li> <li>and a lot more (see features)</li> </ul> <p>示例代码:</p> <p></p> <pre style="background-color:#efefef;margin:0in 0in 0pt;font-family:'Courier New';font-size:10pt;"> public class <em style="color:#0000cc;font-weight:bold;" class="embb">HelloWorld</em> extends RequestHandler { public String <em style="color:#0000cc;font-weight:bold;" class="embb">hello</em>() { getServerInterface().addViewObject("<em style="color:#cc0000;font-weight:bold;" class="embr">helloWorld</em>", "Hello World"); return "/WEB-INF/helloWorld.jsp"; } }</pre> <p></p> <pre style="background-color:#efefef;margin:0in 0in 0pt;font-family:'Courier New';font-size:10pt;"> <div align="center"> <h3>Hello, This Is A Simple "Hello World" Example.</h3> <h2>${<em style="color:#cc0000;font-weight:bold;" class="embr">helloWorld</em>}</h2> </div></pre> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1324280549671" target="_blank">http://www.open-open.com/lib/view/home/1324280549671</a></p>