由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - j2ee without EJB
相关主题
怎么能学成J2EE的全能板上有人讨论淘宝的技术架构
java的东西好多有多少人对annotation这个东西不满,请举手!!
spring到底有什么好处?关于struts和spring的几个疑问
讨论spring这么多,还没有说到点子上的。Questions on EJB3 Persistence/Hibernate
看Spring真是头大谁来给简单的讲讲JAAS
新手学习java spring, hibernate或者struts的问题spring Annotation based configuration
any good j2ee book?Which Web service is better EJB or RPC
不明白Spring Framework很正常大家都是搞技术的
相关话题的讨论汇总
话题: spring话题: ejb话题: support话题: ejb3话题: j2ee
进入Java版参与讨论
1 (共1页)
b******y
发帖数: 1684
1
j2ee without EJB,除了spring,还有什么solution吗?
g*****g
发帖数: 34805
2
There are competing light-weight IoC like Guice, PicoContainer.
If you hate Spring, it should be possible to configure a stack not
using Spring at all.
But Spring is more than IoC and arguably more powerful than J2EE stack
with wide industry support, more support than EJB3.
I'd say spring is dominant at this point since most other frameworks
provide integration that's handy. Even EJB people will leverage spring
to get support on certain integration.

【在 b******y 的大作中提到】
: j2ee without EJB,除了spring,还有什么solution吗?
b******y
发帖数: 1684
3
forgive my ignorance on spring...
i dont understand why spring is more popular than ejb3...
except that spring is far better than ejb2 and took the #1 place..
but isn't ejb3's annotation usage a lot better than spring's xml?
and not to mention vendor independence.

【在 g*****g 的大作中提到】
: There are competing light-weight IoC like Guice, PicoContainer.
: If you hate Spring, it should be possible to configure a stack not
: using Spring at all.
: But Spring is more than IoC and arguably more powerful than J2EE stack
: with wide industry support, more support than EJB3.
: I'd say spring is dominant at this point since most other frameworks
: provide integration that's handy. Even EJB people will leverage spring
: to get support on certain integration.

g*****g
发帖数: 34805
4

This is largely due to that spring does it right first, (IoC, AOP,
POJO oriented, no do one thing with 3 classes), getting mature,
popular and adopted by many open source projects before ejb3 becomes
a spec. ejb3 is pretty much some good practices of spring and
hibernate, and some good features of RoR (convention over configuration),
and I am gonna give it credit for that.
Well, since spring 2.0 and especially after 2.5, you can configure most
spring components using only annotations too. So th

【在 b******y 的大作中提到】
: forgive my ignorance on spring...
: i dont understand why spring is more popular than ejb3...
: except that spring is far better than ejb2 and took the #1 place..
: but isn't ejb3's annotation usage a lot better than spring's xml?
: and not to mention vendor independence.

b******y
发帖数: 1684
5
spring doesn't have good support for clustering, right?
in real production system, how to make a spring-based system
1. faster, 2. fault-tolerant, without extensive development?

【在 g*****g 的大作中提到】
:
: This is largely due to that spring does it right first, (IoC, AOP,
: POJO oriented, no do one thing with 3 classes), getting mature,
: popular and adopted by many open source projects before ejb3 becomes
: a spec. ejb3 is pretty much some good practices of spring and
: hibernate, and some good features of RoR (convention over configuration),
: and I am gonna give it credit for that.
: Well, since spring 2.0 and especially after 2.5, you can configure most
: spring components using only annotations too. So th

g*****g
发帖数: 34805
6

Spring doesn't provide cluster support by itself, but there are
cluster support available on servlet/app server. And as Spring
is embedable, Spring doesn't hurt your clustering. In general,
it's just a web application and many servlet containers can
leverage that, e.g. Tomcat can cluster web applications.
For specific optimization,you may look into those solutions that
provides spring support, e.g. Terracotta. A solution like this may
be intrusive and tied to single vendor,
but EJB container us

【在 b******y 的大作中提到】
: spring doesn't have good support for clustering, right?
: in real production system, how to make a spring-based system
: 1. faster, 2. fault-tolerant, without extensive development?

m******t
发帖数: 2416
7

spring 2.5 adds support for jsr-250 common annotations,
as well as using your own custom annotations.

【在 b******y 的大作中提到】
: forgive my ignorance on spring...
: i dont understand why spring is more popular than ejb3...
: except that spring is far better than ejb2 and took the #1 place..
: but isn't ejb3's annotation usage a lot better than spring's xml?
: and not to mention vendor independence.

b******y
发帖数: 1684
8
我比较老土,没用过spring也没follow。谢谢各位大牛。。。
你们实际使用spring vs ejb的感觉可以share一下吗?
不仅从dev,还有deployment和production的角度来谈谈?

【在 m******t 的大作中提到】
:
: spring 2.5 adds support for jsr-250 common annotations,
: as well as using your own custom annotations.

z****e
发帖数: 54598
9
可以啊,你自己写啊
z*******e
发帖数: 777
10
Struts 2 也不错。我个人喜好SPRING 2
1 (共1页)
进入Java版参与讨论
相关主题
大家都是搞技术的看Spring真是头大
J2EE入门新手学习java spring, hibernate或者struts的问题
Ejb 3.0 deployment descriptor?any good j2ee book?
光学Java Standard 本身是不是永远不够?不明白Spring Framework很正常
怎么能学成J2EE的全能板上有人讨论淘宝的技术架构
java的东西好多有多少人对annotation这个东西不满,请举手!!
spring到底有什么好处?关于struts和spring的几个疑问
讨论spring这么多,还没有说到点子上的。Questions on EJB3 Persistence/Hibernate
相关话题的讨论汇总
话题: spring话题: ejb话题: support话题: ejb3话题: j2ee