This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 原来做过javaBean+JSP,现在要做EJB开发,看了两、三天书,觉得很怪,请高手指点1。EJB封装是很好,但class、servlet、JSP一改变,jar跟war都要重作吗,是否需重新deploy?还有如果需增加class呢,感觉很烦
2。没有deploy前,成百上千的jsp怎么测试?也很烦
3。entity bean是否有点多余?DB server完全胜任的工作搬到App server来作,还大增复杂性。
希望各位分享点经验
-jjbb((wait for tomorrow));
2003-2-15
{272}
(#1042933@0)
-
up一下, 懂EJB的朋友简单说说EJB到底好在哪?
-jjbb((wait for tomorrow));
2003-2-16
(#1044784@0)
-
适合于大型数据库应用程序,能够理顺各个数据表之间关系,便于管理。有很多开发平台提供测试环境,不需要deploy就能直接测试,例如:websphere studio
-jqian(Q_Q);
2003-2-17
(#1045749@0)
-
Entity bean is totally useless if you are using object type supported database (Oracle). Entity bean is dame slow. Except you need distributed transaction control or you are addicted on JAVA.
-expert3(expert3);
2003-2-17
(#1045791@0)
-
ORACLE对ENTITY BEAN的解释是 a windows(buffer) to the database.可以对某个aplication或某些操作进行performance fine tune.把entity bean放在一个单独的server上达到divide and conquer.oracle称之为Persistence layer.
-new_guest(new guest);
2003-2-17
{30}
(#1045928@0)
-
LOL
-expert3(expert3);
2003-2-17
(#1046308@0)
-
有什么不同意见?EJB本身不只是一个技术问题。也是marketing的需要。
-new_guest(new guest);
2003-2-17
{48}
(#1046354@0)
-
oracle 8i/9i支持JAVA 存储过程,那么可以写个AGENT 处理当有数据更新时TRIGGER 调用AGENT,AGENT刷新ENTITY BEAN,客户断只读ENTITY BEAN,而不是每个客户发请求查询结果,这样性能大大提高。
-doglet(狗圣);
2003-2-17
(#1046698@0)
-
my thought,for deployment,if you prefer using deploy tools,then whenever you change or add class you need rebuild war or jar file and redeploy them.for entity bean,its main purpose is for scalability,if you have over thousand clients,then using entity bean save a lot resources of your server,coz entity bean is sharable amont clients and sessions.
-doglet(狗圣);
2003-2-17
{200}
(#1045806@0)