开发者

Should I use Java EE 6 or stick with version 5 for the Java Pet Store app?

I'm trying to deploy the java Pet Store sample App, and it's documentation says that:

Java Pet Store 2.0 is the reference application for building AJAX
web applications on Java EE 5. 

So does that mean i开发者_如何学Ct might not be compatible with the newer Java EE 6?


In Java world, backwards compatibility is very important. Java EE 5 applications are definitely backwards compatible with Java EE 6. I.e., they can perfectly run on a Java EE 6 container.

It only means that it's designed and developed for Java EE 5 and does not utilize all available Java EE 6 features, like as the new builtin and Ajax-enabled MVC framework JSF 2.0. It also basically means that you're viewing and playing with an outdated demo application and that the demo is not necessarily built using latest best practices. Java EE 5 is over 5 years old already.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜