Java 开源框架EWeb4J-1.8.6发布,同时带来一个案例演示
openkk 13年前
<img style="text-align:left;line-height:25px;border-right-width:0px;font-family:Helvetica, Tahoma, Arial, sans-serif;border-top-width:0px;border-bottom-width:0px;font-size:14px;border-left-width:0px;border-image:initial;" alt="Java 开源框架EWeb4J-1.8.6发布,同时带来一个案例演示" src="https://simg.open-open.com/show/226370c6c80d306cc3fadbc087ddeea3.png" width="444" height="94" /> <span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;"> </span> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;">距离上次1.7的发布已经过去5个月了。首先值得高兴的是EWeb4J从这个版本开始可以在Maven中央仓库获取到了。EWeb4J的pom依赖为: </span> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <div style="text-align:left;padding-bottom:1px;line-height:25px;overflow-x:auto;overflow-y:auto;padding-left:1px;width:679px;padding-right:1px;font-family:Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Consolas, 'Courier New', monospace;word-wrap:break-word;margin-left:9px;font-size:12px;word-break:break-all;padding-top:1px;" class="dp-highlighter"> <div class="bar"> <div style="padding-bottom:3px;margin:0px;padding-left:3px;padding-right:3px;font-weight:bold;padding-top:3px;" class="tools"> Xml代码 </div> </div> <ol style="border-bottom:#d1d7dc 1px solid;border-left:#d1d7dc 1px solid;padding-bottom:2px;line-height:1.4em;margin:0px 0px 1px;padding-left:0px;padding-right:0px;color:#2b91af;font-size:1em;border-top:#d1d7dc 1px solid;border-right:#d1d7dc 1px solid;padding-top:2px;border-image:initial;" class="dp-xml"> <li style="border-left:#d1d7dc 1px solid;padding-bottom:0px;line-height:18px;background-color:#fafafa;margin:0px 0px 0px 38px;padding-left:10px;padding-right:0px;font-size:1em;padding-top:0px;"><span style="color:black;"><span style="color:#006699;font-weight:bold;" class="tag"><</span><span style="color:#006699;font-weight:bold;" class="tag-name">dependency</span><span style="color:#006699;font-weight:bold;" class="tag">></span> </span></li> <li style="border-left:#d1d7dc 1px solid;padding-bottom:0px;line-height:18px;background-color:#fafafa;margin:0px 0px 0px 38px;padding-left:10px;padding-right:0px;font-size:1em;padding-top:0px;"><span style="color:black;"> <span style="color:#006699;font-weight:bold;" class="tag"><</span><span style="color:#006699;font-weight:bold;" class="tag-name">groupId</span><span style="color:#006699;font-weight:bold;" class="tag">></span>org.eweb4j<span style="color:#006699;font-weight:bold;" class="tag"> <!--</span--><span style="color:#006699;font-weight:bold;" class="tag-name">groupId</span><span style="color:#006699;font-weight:bold;" class="tag">></span> </span></span></li> <li style="border-left:#d1d7dc 1px solid;padding-bottom:0px;line-height:18px;background-color:#fafafa;margin:0px 0px 0px 38px;padding-left:10px;padding-right:0px;font-size:1em;padding-top:0px;"><span style="color:black;"> <span style="color:#006699;font-weight:bold;" class="tag"><</span><span style="color:#006699;font-weight:bold;" class="tag-name">artifactId</span><span style="color:#006699;font-weight:bold;" class="tag">></span>eweb4j-all<span style="color:#006699;font-weight:bold;" class="tag"> <!--</span--><span style="color:#006699;font-weight:bold;" class="tag-name">artifactId</span><span style="color:#006699;font-weight:bold;" class="tag">></span> </span></span></li> <li style="border-left:#d1d7dc 1px solid;padding-bottom:0px;line-height:18px;background-color:#fafafa;margin:0px 0px 0px 38px;padding-left:10px;padding-right:0px;font-size:1em;padding-top:0px;"><span style="color:black;"> <span style="color:#006699;font-weight:bold;" class="tag"><</span><span style="color:#006699;font-weight:bold;" class="tag-name">version</span><span style="color:#006699;font-weight:bold;" class="tag">></span>1.8.6<span style="color:#006699;font-weight:bold;" class="tag"> <!--</span--><span style="color:#006699;font-weight:bold;" class="tag-name">version</span><span style="color:#006699;font-weight:bold;" class="tag">></span> </span></span></li> <li style="border-left:#d1d7dc 1px solid;padding-bottom:0px;line-height:18px;background-color:#fafafa;margin:0px 0px 0px 38px;padding-left:10px;padding-right:0px;font-size:1em;padding-top:0px;"><span style="color:black;"><span style="color:#006699;font-weight:bold;" class="tag"> <!--</span--><span style="color:#006699;font-weight:bold;" class="tag-name">dependency</span><span style="color:#006699;font-weight:bold;" class="tag">></span> </span></span></li> </ol> </div> <p><br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;">同时eweb4j-dwz组件也可以从Maven中央仓库中获取: </span><br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> </p> <div style="text-align:left;padding-bottom:1px;line-height:25px;overflow-x:auto;overflow-y:auto;padding-left:1px;width:679px;padding-right:1px;font-family:Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Consolas, 'Courier New', monospace;word-wrap:break-word;margin-left:9px;font-size:12px;word-break:break-all;padding-top:1px;" class="dp-highlighter"> <div class="bar"> <div style="padding-bottom:3px;margin:0px;padding-left:3px;padding-right:3px;font-weight:bold;padding-top:3px;" class="tools"> Xml代码 </div> </div> <ol style="border-bottom:#d1d7dc 1px solid;border-left:#d1d7dc 1px solid;padding-bottom:2px;line-height:1.4em;margin:0px 0px 1px;padding-left:0px;padding-right:0px;color:#2b91af;font-size:1em;border-top:#d1d7dc 1px solid;border-right:#d1d7dc 1px solid;padding-top:2px;border-image:initial;" class="dp-xml"> <li style="border-left:#d1d7dc 1px solid;padding-bottom:0px;line-height:18px;background-color:#fafafa;margin:0px 0px 0px 38px;padding-left:10px;padding-right:0px;font-size:1em;padding-top:0px;"><span style="color:black;"><span style="color:#006699;font-weight:bold;" class="tag"><</span><span style="color:#006699;font-weight:bold;" class="tag-name">dependency</span><span style="color:#006699;font-weight:bold;" class="tag">></span> </span></li> <li style="border-left:#d1d7dc 1px solid;padding-bottom:0px;line-height:18px;background-color:#fafafa;margin:0px 0px 0px 38px;padding-left:10px;padding-right:0px;font-size:1em;padding-top:0px;"><span style="color:black;"> <span style="color:#006699;font-weight:bold;" class="tag"><</span><span style="color:#006699;font-weight:bold;" class="tag-name">groupId</span><span style="color:#006699;font-weight:bold;" class="tag">></span>org.eweb4j<span style="color:#006699;font-weight:bold;" class="tag"> <!--</span--><span style="color:#006699;font-weight:bold;" class="tag-name">groupId</span><span style="color:#006699;font-weight:bold;" class="tag">></span> </span></span></li> <li style="border-left:#d1d7dc 1px solid;padding-bottom:0px;line-height:18px;background-color:#fafafa;margin:0px 0px 0px 38px;padding-left:10px;padding-right:0px;font-size:1em;padding-top:0px;"><span style="color:black;"> <span style="color:#006699;font-weight:bold;" class="tag"><</span><span style="color:#006699;font-weight:bold;" class="tag-name">artifactId</span><span style="color:#006699;font-weight:bold;" class="tag">></span>eweb4j-dwz<span style="color:#006699;font-weight:bold;" class="tag"> <!--</span--><span style="color:#006699;font-weight:bold;" class="tag-name">artifactId</span><span style="color:#006699;font-weight:bold;" class="tag">></span> </span></span></li> <li style="border-left:#d1d7dc 1px solid;padding-bottom:0px;line-height:18px;background-color:#fafafa;margin:0px 0px 0px 38px;padding-left:10px;padding-right:0px;font-size:1em;padding-top:0px;"><span style="color:black;"> <span style="color:#006699;font-weight:bold;" class="tag"><</span><span style="color:#006699;font-weight:bold;" class="tag-name">version</span><span style="color:#006699;font-weight:bold;" class="tag">></span>1.8.6<span style="color:#006699;font-weight:bold;" class="tag"> <!--</span--><span style="color:#006699;font-weight:bold;" class="tag-name">version</span><span style="color:#006699;font-weight:bold;" class="tag">></span> </span></span></li> <li style="border-left:#d1d7dc 1px solid;padding-bottom:0px;line-height:18px;background-color:#fafafa;margin:0px 0px 0px 38px;padding-left:10px;padding-right:0px;font-size:1em;padding-top:0px;"><span style="color:black;"><span style="color:#006699;font-weight:bold;" class="tag"> <!--</span--><span style="color:#006699;font-weight:bold;" class="tag-name">dependency</span><span style="color:#006699;font-weight:bold;" class="tag">></span> </span></span></li> </ol> </div> <p><br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> </p> <p><span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;">好啦,进入正题。 </span></p> <p><span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;">本次版本更新颇多,摘取几个重要的罗列如下: </span><br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> </p> <ul style="text-align:left;padding-bottom:0px;line-height:25px;margin:0px 0px 1.5em;padding-left:0px;padding-right:0px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;padding-top:0px;"> <li style="padding-bottom:0px;margin:0px 0px 0.25em 30px;padding-left:0px;padding-right:0px;padding-top:0px;">兼容JPA,部分实现</li> <li style="padding-bottom:0px;margin:0px 0px 0.25em 30px;padding-left:0px;padding-right:0px;padding-top:0px;">兼容JAX-RS(Java RESTful API),部分实现</li> <li style="padding-bottom:0px;margin:0px 0px 0.25em 30px;padding-left:0px;padding-right:0px;padding-top:0px;">添加properties文件配置支持</li> <li style="padding-bottom:0px;margin:0px 0px 0.25em 30px;padding-left:0px;padding-right:0px;padding-top:0px;">添加一个十分灵活的DAO接口</li> <li style="padding-bottom:0px;margin:0px 0px 0.25em 30px;padding-left:0px;padding-right:0px;padding-top:0px;">精简配置文件内容</li> <li style="padding-bottom:0px;margin:0px 0px 0.25em 30px;padding-left:0px;padding-right:0px;padding-top:0px;">支持嵌套事务</li> <li style="padding-bottom:0px;margin:0px 0px 0.25em 30px;padding-left:0px;padding-right:0px;padding-top:0px;">新的验证器</li> <li style="padding-bottom:0px;margin:0px 0px 0.25em 30px;padding-left:0px;padding-right:0px;padding-top:0px;">修复大量bug</li> <li style="padding-bottom:0px;margin:0px 0px 0.25em 30px;padding-left:0px;padding-right:0px;padding-top:0px;">重构大量代码,更多的测试通过</li> <li style="padding-bottom:0px;margin:0px 0px 0.25em 30px;padding-left:0px;padding-right:0px;padding-top:0px;">实践驱动,案例<a style="color:#006699;" href="/misc/goto?guid=4958332103360492683" target="_blank">在线演示</a></li> </ul> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;">该案例是采用<a href="http://www.open-open.com/lib/view/open1330246690531.html" target="_blank">EWeb4J </a>+ DWZ来开发的。 </span> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;">最新发布的包里已经包含框架本身和案例。javadoc,源码,war包一个都不少。 </span> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;">详细情况请移步项目主页:</span> <a style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;color:#006699;font-size:14px;" href="/misc/goto?guid=4958332104189877607" target="_blank">http://code.google.com/p/eweb4j/</a> <span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;"> </span> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;">下载地址:</span> <a style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;color:#006699;font-size:14px;" href="/misc/goto?guid=4958332105000562367" target="_blank">http://code.google.com/p/eweb4j/downloads/list</a> <span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;"> </span> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <br style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;" /> <span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;">用户指南:</span> <a style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;color:#006699;font-size:14px;" href="/misc/goto?guid=4958332105800481946" target="_blank">http://code.google.com/p/eweb4j/wiki/QuickStart?tm=6</a> <span style="text-align:left;line-height:25px;font-family:Helvetica, Tahoma, Arial, sans-serif;font-size:14px;"><br /> </span>