开发者

java spring starter question

I am looking into Spring and I want to ask the following:

I see that there is Spring2 and Spring3.

My question is, should I ignore Spring2, or If I read on Spring2 the concepts are the same in Spring3?

I ask this, because when starting to look into EJB2 I found out that it is obsolete (re开发者_StackOverflowplaced completely by EJB3) and I wasted my time.

Thank you


You can consider them to be the same. EJB2 to EJB3 was an incredible step forward. Spring 3 is more functionality and tons of marketing.


EJB and Spring have nothing to do with one another. Versions numbers are just numbers.

Spring 3 is an incremental imporvement on Spring 2, and works in much the same way.

EJB3 was a complete redesign of EJB 2 (and, clearly, is "inspired by" Spring).


Information about Spring2 will apply to Spring3, but some portion will be replaced with changed and/or new functionality.

Knowledge about EJB2 is not obsolete, there still exist EJB2 implementations that will need developers to maintain them. Learning EJB3 seems (to me anyway) like the way to go vs learning EJB2.

For Spring3, there is a reasonable reference document available online here.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜