由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 有想学JSF的同行么? (确切地说 JSF+Spring+Hibernate)
相关主题
Anyone wants to talk about web frameworks?asp.net现在的mvc模式,很象java当年在servlet里面的doGet(),doPost()里写html code.
spring 和 jsf 的整合where is my j2ee.jar file
哪个牛人来说一下JSF的前景大家都是搞技术的
讨论一下web framework吧Any body uses wicket framework for web development?
@ifinvalid问题An interesting comment regarding Wicket.
spring/hibernate/ajax/web 2.0/bpel books大家来说说 Web Fameworks 吧
Java开发人员知识点(更新) (转载)vaadin
anyone has experience with ZK?wicket in action到手了
相关话题的讨论汇总
话题: jsf话题: spring话题: flow话题: gwt话题: web
进入Java版参与讨论
1 (共1页)
i****o
发帖数: 40
1
寻3位JSF爱好者,目的是通过开发项目,熟悉一下jsf框架,同时实践极限编程(XP)的
团队开发方式(现已有9人,还需要3人加入,凑够6对)
对个人的要求不高,只要是自己独立完成过web小程序,接触过j2ee一年以上,对js,
css有了解,都欢迎跟我联系。关于具体的项目需求,还待大家讨论。项目周期暂定12
个月。这都不是死的,各位有什么好的设想,不管盈利还是非盈利的,只要时间要求上
比较宽松,都可以拿来讨论。
人员运作上,宽进宽出,全凭自愿,希望能始终维持8人左右(4对),每天2小时,每
周轮休一对,远程语音交流。按照XP的方式,估计每两个月发布一个小的release版本
。完成一个小release的成员(也就是说坚持了两个月),即使中途退出,也可以获得
下一个release版本的全部代码,算是bonus。
对xp还不是很了解的,我这里有个详细流程说明:
http://152.3.176.116/
有兴趣的请给我发信 i****[email protected],多谢~
b******y
发帖数: 9224
2
Not my cup of tea, because I don't like JSF, it is too complicated.
Maybe others could help.
t*******e
发帖数: 684
3
既然用到了Spring,可以试试Spring Faces in Spring Web Flow 2. 和SEAM有很多类似的地方,也有许多改
进。
m******t
发帖数: 2416
4
The client project(s) I'm currently involved in use
JSF, facelets, Spring Webflow, dwr, and a splash of
dojo.
It's a bitch to maintain and to troubleshoot. You have
no idea how a page is rendered or a form is bound
just by looking at the xhtml file. When an exception
is thrown, the stack trace always contains the same
classes from myfaces and web flow - regardless of
where or why it fails.
g*****g
发帖数: 34805
5
when you go for rich ajax. Snap as much code as possible
in Java certainly help maintenance.
S*********t
发帖数: 78
6
I am using flex for front end, so far so good.
what about GWT? since it is using java instead of js, it should be much
easier to debug and maintain. right?
Never got a chance to try GWT out.

【在 g*****g 的大作中提到】
: when you go for rich ajax. Snap as much code as possible
: in Java certainly help maintenance.

g*****g
发帖数: 34805
7
The problem with GWT is, it's a totaly different approach.
It's pretty hard to integrate it to your original design.
Gradual adoption is not possible.

【在 S*********t 的大作中提到】
: I am using flex for front end, so far so good.
: what about GWT? since it is using java instead of js, it should be much
: easier to debug and maintain. right?
: Never got a chance to try GWT out.

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

troll... ;-)

【在 g*****g 的大作中提到】
: when you go for rich ajax. Snap as much code as possible
: in Java certainly help maintenance.

x****y
发帖数: 252
9
I have used DWR, which is similar to GWT, supports AJAX, and should be
easier to be intergrated to original design.

【在 g*****g 的大作中提到】
: The problem with GWT is, it's a totaly different approach.
: It's pretty hard to integrate it to your original design.
: Gradual adoption is not possible.

p****r
发帖数: 7
10
never use JSF for a production system!
- it's buggy and hard to debug.
- it's not backward compatible when you need upgrade the library. your
customized components will be broken
- the performance is horrible.
相关主题
spring/hibernate/ajax/web 2.0/bpel booksasp.net现在的mvc模式,很象java当年在servlet里面的doGet(),doPost()里写html code.
Java开发人员知识点(更新) (转载)where is my j2ee.jar file
anyone has experience with ZK?大家都是搞技术的
进入Java版参与讨论
t*******e
发帖数: 684
11

你说的JSF的问题没有一个在点上.
JSF到现在已经5年了,占了很大的market share. 所有IDE都支持JSF的开发, debugging
根本不是问题.
除了真正POJO的技术, 重大项目是很难作到完全backward compatible的,Hibernate,
Struts,Tapestry,等等没有例外,特别是触及了low level API的code.
有量化的benchmark说明JSF performance有问题吗? 如果application有performance问
题,十之八九是在Data Access Layer上. Web Layer对performance的影响极小.

【在 p****r 的大作中提到】
: never use JSF for a production system!
: - it's buggy and hard to debug.
: - it's not backward compatible when you need upgrade the library. your
: customized components will be broken
: - the performance is horrible.

g*****g
发帖数: 34805
12
web tier的主要问题不是performance,而是开发的速度和灵活性上。
jsf如果都有现成的控件还好,一旦需要定制自己的控件,
难度很大,问题很多。同样是component based, jsf跟wicket比,
http://ptrthomas.wordpress.com/2007/05/14/a-wicket-user-tries-jsf/
多了faces-config.xml, taglib要复杂得多。preview效果差,而且对
IDE的依赖更高。基本上要依赖于jsf之上的框架才能用。
我认为jsf跟jsp一样,修修补补能用,但不是一个成功的产品。

debugging

【在 t*******e 的大作中提到】
:
: 你说的JSF的问题没有一个在点上.
: JSF到现在已经5年了,占了很大的market share. 所有IDE都支持JSF的开发, debugging
: 根本不是问题.
: 除了真正POJO的技术, 重大项目是很难作到完全backward compatible的,Hibernate,
: Struts,Tapestry,等等没有例外,特别是触及了low level API的code.
: 有量化的benchmark说明JSF performance有问题吗? 如果application有performance问
: 题,十之八九是在Data Access Layer上. Web Layer对performance的影响极小.

t*******e
发帖数: 684
13

custom component的确很难写,但我用JSF有4年了,项目做了4-5个,还没有机会写
custom components, 最多就是写个tag file-(fragment file). JSF事实上很容易学,早年使
用的最大问题是JSF和JSP,JSTL,不能协同,这是由于它们有着不同的lifecycles, 用了Facelets就解
决了. 有需要的话,Myfaces, Oracle ADF, RichFaces,DynaFaces,提供大量Ajax enabled
components, widgets, SVG graphic components, 这些components都是免费的. 目前有两个BPM支持JSF,
SEAM page flow(jBPM),和Spring Web Flow, 如果你喜欢用work
flow engine的话。负面结果就是要用JSF的话,一般都加一大堆的add-ons. 从software vendor的角度看,JSF
是受支持最多的技术. 从纯技术的角度出发,其他的frameworks, 如Spring MVC,Struts,S

【在 g*****g 的大作中提到】
: web tier的主要问题不是performance,而是开发的速度和灵活性上。
: jsf如果都有现成的控件还好,一旦需要定制自己的控件,
: 难度很大,问题很多。同样是component based, jsf跟wicket比,
: http://ptrthomas.wordpress.com/2007/05/14/a-wicket-user-tries-jsf/
: 多了faces-config.xml, taglib要复杂得多。preview效果差,而且对
: IDE的依赖更高。基本上要依赖于jsf之上的框架才能用。
: 我认为jsf跟jsp一样,修修补补能用,但不是一个成功的产品。
:
: debugging

g*****g
发帖数: 34805
14
spring web flow在我看来也不是什么好东西,大量的逻辑被转到
xml里,




比如这样的一段,用java代码写来就是
if(createItem()){
displayItem();
}
又干净又简洁,在实际项目中,我也从来没有碰到过可以只改flow不改代码
的时候。我认为navigation这种东西,是logic不是configuration,本来就
应该写在java代码里。所以无论struts1/2,spring mvc/flow, jsf等等,就
这但来说本身就是anti POJO的。wicket和echo才是正确的方向。但由于基于
struts,jsf的大量投入,被扭曲了。

,早年使
了Facelets就解
enabled
前有两个BPM支持JSF,
software vendor的角度看,JS

【在 t*******e 的大作中提到】
:
: custom component的确很难写,但我用JSF有4年了,项目做了4-5个,还没有机会写
: custom components, 最多就是写个tag file-(fragment file). JSF事实上很容易学,早年使
: 用的最大问题是JSF和JSP,JSTL,不能协同,这是由于它们有着不同的lifecycles, 用了Facelets就解
: 决了. 有需要的话,Myfaces, Oracle ADF, RichFaces,DynaFaces,提供大量Ajax enabled
: components, widgets, SVG graphic components, 这些components都是免费的. 目前有两个BPM支持JSF,
: SEAM page flow(jBPM),和Spring Web Flow, 如果你喜欢用work
: flow engine的话。负面结果就是要用JSF的话,一般都加一大堆的add-ons. 从software vendor的角度看,JSF
: 是受支持最多的技术. 从纯技术的角度出发,其他的frameworks, 如Spring MVC,Struts,S

t*******e
发帖数: 684
15

这个涉及domain specific languages. OO langauges如Java, C#也不是万能的, 比如RDBMS有SQL,
BPM有work flow definition language, spring web flow是个例子, 其他还有jPDL,
OSworkflow等等, ESB有BPEL, rule engine有Rule Markup language, validation engine有
Validation language. 这些大都是XML格式, 但都有一定的logics.

【在 g*****g 的大作中提到】
: spring web flow在我看来也不是什么好东西,大量的逻辑被转到
: xml里,
:
:
:
:

: 比如这样的一段,用java代码写来就是
: if(createItem()){
: displayItem();
: }

Z****e
发帖数: 2999
16
haha, this is funny...
I used to do desktop development using Eclipse's RCP framework; they have a
huge amount of XMLized code like this in the framework.

【在 g*****g 的大作中提到】
: spring web flow在我看来也不是什么好东西,大量的逻辑被转到
: xml里,
:
:
:
:

: 比如这样的一段,用java代码写来就是
: if(createItem()){
: displayItem();
: }

1 (共1页)
进入Java版参与讨论
相关主题
wicket in action到手了@ifinvalid问题
请问哪个J2EE MVC Framework最有前途spring/hibernate/ajax/web 2.0/bpel books
web application一定要掌握javascript和ajax吗Java开发人员知识点(更新) (转载)
web application请教anyone has experience with ZK?
Anyone wants to talk about web frameworks?asp.net现在的mvc模式,很象java当年在servlet里面的doGet(),doPost()里写html code.
spring 和 jsf 的整合where is my j2ee.jar file
哪个牛人来说一下JSF的前景大家都是搞技术的
讨论一下web framework吧Any body uses wicket framework for web development?
相关话题的讨论汇总
话题: jsf话题: spring话题: flow话题: gwt话题: web