Java MVC框架 Easy Java Websites
<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>
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!