java 解决方案_2009年10个Java技术解决方案

【IT168 资讯】2009年已经来到,什么样的技术值得关注?Joshua选出了10项2009年重要的Java技术解决方案,他认为重构是2009年的主题,新的技术方向展现出来。下面的名单的前半部分是你应该一直跟踪关注的技术,后半部分在2009年是你可能要开始尝试在你的项目中使用的技术。

1。Rails 3

现在Rails并非是Java框架,但是能够通过JRuby在JVM中运行Rails,我认为Rails是值得考虑进入这个名单的。Rails为web开发带来极大便利,尤其现在Merb和Rails已经合并,Rails将更加流行(查看JavaEye新闻的Rails和Merb合并为一个项目,这不是愚人节新闻)。

2。Grails 1.1

如果你并非喜欢Rails/Ruby或者你倾向于你已经拥有的Java知识,而且不算损失开发生产力,那么你需要关注Grails。尤其在SpringSource收购了G2One以后。最新发布的Grails 1.1 Beta 2版本对ORM方面提供了很多方便的功能,让Grails获得更多关注。

3。WebBeans & Seam 3

如果你需要更多基于组件和依赖注入功能,这已经成为一种标准,你可以关注将在2009年发布的WebBeans。WebBeans仍然在进展的开发过程中和倾听社区反馈。WebBeans的优势在于它的规范制定领导一直鼓励社区对参考文档和源代码提供意见和反馈。WebBeans不仅仅是依赖注入的标准,它也允许我们创建自定义范围和类型绑定。WebBeans将改革我们创建web应用的方式,让我们能够创建纯面向对象的应用而非贫血模式anemic domain model。如果你一直喜欢Seam的理念,2009年新发布的WebBeans和Seam 3值得等待。

4。iBatis 3

如果你从不喜欢ORM而喜欢使用SQL和映射它到你的域对象,那么你将喜欢iBatis在下一个重要版本的更新。最有趣的一个功能是它通过使用annotation能让我们在java代码中写SQL。虽然我认为在XML中写SQL并非坏事,但是这的确是一个有趣的功能。

5。JavaFX

如果你对能够提供多媒体功能和能够运行在移动设备上的RIA技术有兴趣,那么你应该关注在2009年JavaOne会议上将发布的JavaFX的下一个主要版本。

6。JSecurity

如果你在寻找一个权限框架,能够嵌入任何环境,比如桌面或者web,你应该对JSecurity提供的功能感兴趣。权限控制一直是一个复杂的问题,使用权限框架并非是一个艰难的任务,事实上它应该尽可能简单。使用JSecurity你只需要在web.xml中写一个简单的配置,JSecurity并非是和某个特定框架或者环境紧紧耦合的,你能在任何环境中使用,你能在桌面或者web中使用,甚至能够一点都不麻烦的将它放入你的EJB层。

7。Buildr

并不是很多人了解Buildr,但是事实上它是一个优秀的Builder工具。另外的观点是基于Ant之上的ApacheIvy是最好的工具,但是我认为Ivy并不能解决Build系统中的最重要问题,因为Ivy只是Ant的一个扩展用于依赖管理。作为依赖管理,Buildr让我们创建定制脚本更加简单,因为它使用Ruby语法。在Maven中将Buildr作为Maven插件/MOJO,在Ant中将它作为Ant定制任务。

8。JBoss AS 5

JBoss最近发布了最新的重要版本,JBoss AS 5是建立在微容器之上,闭原来的基于JMX的微内核更轻巧。除了微容器,它也支持OSGi,而且是第一个支持WebBeans的应用服务器,除了WebBeans,JBoss AS 5还支持Rails,通过JBoss-Rails插件,这个项目正在开发中,最近刚发布了1.0 beta版本。JBoss值得你在2009年保持对它的关注。

9。Glassfish v3_prelude

如果你不喜欢JBoss或者因为某些原因你希望采用其他技术,我认为你应该考虑最新版的GlassFish,这是一个革命性的版本,更轻巧,通过被添加到服务器的应用更新工具能够获得更多资源,更快的启动时间,而且也支持快速开发框架比如Rails和Grails,它即时支持JRuby和Groovy,其他比较酷的功能还包括它也象JBoss一样支持OSGi。

10。JRuby

JRuby改变了Java程序员在项目中解决问题的方式,JBoss和Glassfish都支持JRuby和Rails,这是一个很值得关注的技术。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
This text is based on the following basic ideas that we believe make for a sound introductory text: ■ True object-orientation. A text that really teaches a solid object-oriented approach must use what we call object-speak. That is, all processing should be discussed in object-oriented terms. That does not mean, however, that the first program a student sees must discuss the writing of multiple classes and methods. A student should learn to use objects before learning to write them. This text uses a natural progression that culminates in the ability to design real object-oriented solutions. ■ Sound programming practices. Students should not be taught how to program; they should be taught how to write good software. There’s a difference. Writing software is not a set of cookbook actions, and a good program is more than a collection of statements. This text integrates practices that serve as the foundation of good programming skills. These practices are used in all examples and are reinforced in the discussions. Students learn how to solve problems as well as how to implement solu- tions. We introduce and integrate basic software engineering techniques throughout the text. The Software Failure vignettes reiterate these lessons by demonstrating the perils of not following these sound practices. ■ Examples. Students learn by example. This text is filled with fully implemented examples that demonstrate specific concepts. We have intertwined small, readily understandable examples with larger, more realistic ones. There is a balance between graphics and nongraphics programs. The VideoNotes provide additional examples in a live presentation format. ■ Graphics and GUIs. Graphics can be a great motivator for students, and their use can serve as excellent examples of object-orientation. As such, we use them throughout the text in a well-defined set of sections that we call the Graphics Track. This coverage includes the use of event processing and GUIs. Students learn to build GUIs in the appropriate way by using a natural progression of topics. The Graphics Track can be avoided entirely for those who do not choose to use graphics.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值