仍然有充分的理由支持JDK 1.4吗? [英] Is there still a good reason to support JDK 1.4?

查看:142
本文介绍了仍然有充分的理由支持JDK 1.4吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑使用Java整合一个开源项目,并且正在激烈讨论不支持JDK 1.4和更早版本.该框架肯定可以使用较旧的Java模式和惯用语编写,但确实会从更成熟的1.5+版本中受益,例如泛型和注释.

I'm looking at putting together an opensource project in Java and am heavily debating not supporting JDKs 1.4 and older. The framework could definitely be written using older Java patterns and idioms, but would really benefit from features from the more mature 1.5+ releases, like generics and annotations.

那么,我真正想知道的是,在选择框架时是否主要因素是对较早JDK的支持?

So really what I want to know is if support for older JDKs is a major determining factor when selecting a framework?

可以理解的是,有一些遗留系统被旧的JDK所卡住,但是除了物流之外,还有没有人有令人信服的技术理由来支持1.4 JDK?

Understandably there are legacy systems that are stuck with older JDKs, but logistics aside, does anyone out there have a compelling technical reason for supporting 1.4 JDKs?

谢谢

史蒂夫

推荐答案

除了特殊的移动或嵌入式设备,我想不出任何技术原因坚持与主流Java的1.4兼容性(请参阅有关Jon答案的讨论) ).旧版支持必须有限制,而1.5已有5年的历史了.在我看来,促使人们继续前进的更有说服力的理由.

I can't think of any technical reason to stick with 1.4 compatibility for mainstream Java with the possible exception of particular mobile or embedded devices (see discussion on Jon's answer). Legacy support has to have limits and 1.5 is nearly 5 years old. The more compelling reasons to get people to move on the better in my opinion.

更新(我无法入睡):一个值得考虑的好先例是 Spring 3将需要Java 5(pdf).还请考虑大型公司正在使用的许多服务器已经或即将停止使用(WAS 5.1不在支持范围内于09年9月结束),并且Java 1.4本身是

Update (I can't sleep): A good precedent to consider is that Spring 3 will require Java 5 (pdf). Also consider that the lot of the servers that the larger corporations are using are, or will soon be, EOL ( WAS 5.1 is out of support since Sep '08, JBoss 4.0 support ends Sep '09) and that Java 1.4 itself is out of support since Oct '08.

这篇关于仍然有充分的理由支持JDK 1.4吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆