|
Sponsored Links
Resources
Enterprise Java Research Library
Get Java white papers, product information, case studies and webcasts
|
News
News
News
|
Messages: 167
Messages: 167
Messages: 167
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
Gavin seems to really dig JSF
Gavin King, in an interview with Dick Wall on JavaPosse, offers a set of strong points for JSF. Some of his statements say that JSF is a strong framework and that some of its bad press is noise from competing frameworks. What do you think?
"What are the strong points of JSF?"
Gavin King: "The rough ride JSF has been getting has been vastly exagerated. We can see a lot of adoption of JSF. Along with some noisy people who are promoting competing frameworks in fact. One of the things you need to when you need to see a technology that is really going to take off is to look how many people are screaming about it and saying how terrible it is. That is the case with Hibernate. It was the case wtih EJB3. It is the case with the organization I work for. You know there are number of people in the industry who are great negative indicators. When they hate something you know its real. And JSF is one of those things."
...
"JSF is a fantastic model. It is very easy to use. Most of the critisim that is made of JSF is actually factually incorect. On these community sites that claim you can't build restful application with JSF. I mean it is total nonsense. It is not even remotely true."
...
"When I came to look at JSF, I was casting around for a web framework to marry with EJB3. I was looking around and I was 'well let's start with what it is the spec. (JSF)'. And I was thinking it was going to be a steaming pile. (However), I found once I actually sat down and looked at it. It was working how I would think to design a (web) framework. When I used it, it was real easy to use and I think it is great."
...
"It has some really key features. The interaction model between the view and the component model. The idea of freely binding components to the view is excellent. This is a very strong concept. Stronger than in a lot of previous frameworks."
...
"I like the JSF templating. A lot of people have the idea (that Tapestry's) idea of plain HTML and seperating out the component definitions (is a good idea). Frankly, after considering this a lot, I actually I find it nicer to put the component definitions in the page. The argument that but then you are mixing your semantic data definintion with your presentation does not hold water because it is 2006 guys and you are not suppose to be doing presentation in your HTML. You are suppose to be doing it in your CSS."
Check out more of this transcript at:
http://jroller.com/page/RickHigh?entry=turns_out_gavin_king_is
|
|
Message #202265
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
Although I do not like JBoss and recently Gavin's rethorics I must agree with the most facts he said.
|
|
Message #202266
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
+1
What Gavin said is like the light at the end of the tunnel for me, I heard that using JSF is horible but after using it my self and XP-ing many of it's features I think it's a great framework, Thanx Gavin.
|
|
Message #202267
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Of course he will say JSF is good
He is pushing his JSF based framework called SEAM! It would look rather odd if he dissed JSF, wouldn't it?
His analysis of why he doesn't like Tapestrys straight HTML template files are rather idiotic. But then again, he has credibility when it comes to object-relational mapping, not web frameworks. He is just a shmoe like you and me in that area.
|
|
Message #202270
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Of course he will say JSF is good
He is pushing his JSF based framework called SEAM! It would look rather odd if he dissed JSF, wouldn't it? This is strange reasoning. Why would he have started Seam unless he thought JSF was a good framework?
|
|
Message #202271
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Of course he will say JSF is good
He is pushing his JSF based framework called SEAM! It would look rather odd if he dissed JSF, wouldn't it? This is strange reasoning. Why would he have started Seam unless he thought JSF was a good framework?
Mats was using a logically identical argument to that of Gavin's in his interview - if you invalidate one of the arguments on formal grounds, you invalidate the other. My pure guess would be that that exactly was Mats' point.
|
|
Message #202272
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Oh, I'm sure he believes JSF *is* good
What I'm saying is that him saying so isn't surprising. It would be very very strange if he didn't say he liked JSF.
|
|
Message #202273
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
What pun?
Gavin seems to really dig JSF (pun intended). I know you shouldn't have to explain a joke, but what pun?
|
|
Message #202275
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
+1
Interaction models of other web component frameworks seam freaky compared to JSF's one. Were you trying to be punny? :)
|
|
Message #202277
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
What pun?
Gavin seems to really dig JSF (pun intended). I know you shouldn't have to explain a joke, but what pun? I am going to venture a guess and go with:
Gavin really gets/likes (digs - verb) JSF. Others say bad/sarcastic things (digs -noun) about JSF.
|
|
Message #202278
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Oh, I'm sure he believes JSF *is* good
What I'm saying is that him saying so isn't surprising. It would be very very strange if he didn't say he liked JSF. My impression was that you were saying that he liked JSF not because of any particular advantages to the framework itself, but because it is what he would have to say that to push Seam.
It was also my impression that you were implying that even if he liked JSF, it was irrelevant because he had made an 'idiotic analysis' of one aspect of Tapestry, and he is 'just a shmoe' in terms of web frameworks.
|
|
Message #202279
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Who cares if Gavin seems to dig JSF? He blindly chose JSF because it's a spec (a standard). I wonder if he really genuinely looked deeper into one of the proven and powerful web frameworks of our time such as Wicket, Tapestry or Echo2. What most people care about is a framework that makes them productive and has a nice concept behind it. Unfortunately, there are also many whose decision are very much standards driven. I suspect Gavin's choice is the later. And that is rather unfortunate.
J.
|
|
Message #202280
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
How can you suppose that
The guy has proven in the past he was able to go out of the standard by creating Hibernate, which then became a standard itself (mainly because he tought EJB was a "bad" development standart). But if you think the standard is good, there's no reason to create a new one (the best idea is to try to propose some improvements if necessary).
Joz
|
|
Message #202281
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Of course he will say JSF is good
But then again, he has credibility when it comes to object-relational mapping, not web frameworks. He is just a shmoe like you and me in that area. Gavin King's technical point of view is one I will always respect seeing what he produced in the last couple of years, even if it wasn't in the web tier.
|
|
Message #202282
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Who cares if Gavin seems to dig JSF? I care, I respect his contributions to the Java world and I really like to know what people like him, Rod Johnson, ... you name them, think about some products.
Unfortunately, there are also many whose decision are very much standards driven. I suspect Gavin's choice is the later. And that is rather unfortunate.J. You can read mind? And by the way, yeah he liked so much EJB2 that he developped Hibernate... If you don't agree with him and you don't like JSF, it is your choice but stop spreading false statements like that. I'm tired of this anti-spec attitude.
|
|
Message #202284
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
How can you suppose that
The guy has proven in the past he was able to go out of the standard by creating Hibernate, which then became a standard itself (mainly because he tought EJB was a "bad" development standart). But if you think the standard is good, there's no reason to create a new one (the best idea is to try to propose some improvements if necessary). Joz Man, be smart for once. This guy is now working for a company that survives by implementing specs and release them under open source. Or is that just a coincidence?
J
|
|
Message #202286
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Who cares if Gavin seems to dig JSF? He blindly chose JSF because it's a spec (a standard). I wonder if he really genuinely looked deeper into one of the proven and powerful web frameworks of our time such as Wicket, Tapestry or Echo2.What most people care about is a framework that makes them productive and has a nice concept behind it. Unfortunately, there are also many whose decision are very much standards driven. I suspect Gavin's choice is the later. And that is rather unfortunate.J. Blindly?
"When I came to look at JSF, I was casting around for a web framework to marry with EJB3. I was looking around and I was 'well let's start with what it is the spec. (JSF)'. And I was thinking it was going to be a steaming pile. (However), I found once I actually sat down and looked at it. It was working how I would think to design a (web) framework. When I used it, it was real easy to use and I think it is great." -- G. King That does not sound blind to me.... Eyes wide open... expecting the worse more like it.
I wonder if he really genuinely looked deeper into one of the proven and powerful web frameworks of our time such as Wicket, Tapestry or Echo2. I have looked at a few at great length. I choose JSF. Thanks.
|
|
Message #202287
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
How can you suppose that
The guy has proven in the past he was able to go out of the standard by creating Hibernate, which then became a standard itself (mainly because he tought EJB was a "bad" development standart). But if you think the standard is good, there's no reason to create a new one (the best idea is to try to propose some improvements if necessary). Joz Man, be smart for once. This guy is now working for a company that survives by implementing specs and release them under open source. Or is that just a coincidence?J I know where you can buy aluminum foil helmets for real cheap,. ;)
|
|
Message #202288
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Who cares if Gavin seems to dig JSF? I care, I respect his contributions to the Java world and I really like to know what people like him, Rod Johnson, ... you name them, think about some products. Unfortunately, there are also many whose decision are very much standards driven. I suspect Gavin's choice is the later. And that is rather unfortunate.J. You can read mind? And by the way, yeah he liked so much EJB2 that he developped Hibernate... If you don't agree with him and you don't like JSF, it is your choice but stop spreading false statements like that. I'm tired of this anti-spec attitude.
Ok, Gavin would tell you JBoss is the most revolutionary and best app server on the planet. From your narrow mindedness I can say for sure you'll take his word for it. Because of his great contribution to the Java community. In the interview he says he chose JSF because it's a spec. My question is did he spend equal amount of time and effort on Wicket, Tapestry or Echo2 before drawing his conclusion? From this interview it doesn't seem so. And that's what worries me.
J
|
|
Message #202289
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Who cares if Gavin seems to dig JSF? He blindly chose JSF because it's a spec (a standard). I wonder if he really genuinely looked deeper into one of the proven and powerful web frameworks of our time such as Wicket, Tapestry or Echo2.What most people care about is a framework that makes them productive and has a nice concept behind it. Unfortunately, there are also many whose decision are very much standards driven. I suspect Gavin's choice is the later. And that is rather unfortunate.J. I've said this before, JSF is extremely plugable with proper Model/View separation. I believe this was the major reason why JSF was so ideal for dropping in a whole different series of model constructs. There's no doubt in my mind that you couldn't adapt Seam to work with other frameworks-- it just wouldn't be as seamless to the developer ;-)
|
|
Message #202290
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Who cares if Gavin seems to dig JSF? I care, I respect his contributions to the Java world and I really like to know what people like him, Rod Johnson, ... you name them, think about some products. Unfortunately, there are also many whose decision are very much standards driven. I suspect Gavin's choice is the later. And that is rather unfortunate.J. You can read mind? And by the way, yeah he liked so much EJB2 that he developped Hibernate... If you don't agree with him and you don't like JSF, it is your choice but stop spreading false statements like that. I'm tired of this anti-spec attitude. Ok, Gavin would tell you JBoss is the most revolutionary and best app server on the planet. From your narrow mindedness I can say for sure you'll take his word for it.
That's your call again. I say I really respect his opinions and will always enjoy reading it. I am not saying I am blindy following his opinion.
Why do you think everyone follow something blindy? I looked at Tapestry but I prefer JSF from a technical point of view and also because the community around it is biger (probably has to do because it is a spec :)).
|
|
Message #202291
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Kevin is so Smart
Thank you so much Kevin. JSF is a strong framework. I've been wokking on JSF since early 2004. I build a big Project and it's really working fine. I agree with some of you who have/had some difficulties using it (The learning curve is little hard), But patient programmers will find it worth working on JSF.
The Best of the best is to go JSF/Spring/Hibernate. For sure you will programming.
thanks
|
|
Message #202292
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
What pun? (that's not it)
Gavin seems to really dig JSF (pun intended). I know you shouldn't have to explain a joke, but what pun? I am going to venture a guess and go with:Gavin really gets/likes (digs - verb) JSF.Others say bad/sarcastic things (digs -noun) about JSF.
Maybe my humor was too subtle and dry.... Try again. It is a lot less brainy than that I assure you.
|
|
Message #202293
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
How can you suppose that
The guy has proven in the past he was able to go out of the standard by creating Hibernate, which then became a standard itself (mainly because he tought EJB was a "bad" development standart). But if you think the standard is good, there's no reason to create a new one (the best idea is to try to propose some improvements if necessary). Joz Man, be smart for once. This guy is now working for a company that survives by implementing specs and release them under open source. Or is that just a coincidence?J I know where you can buy aluminum foil helmets for real cheap,. ;)
Mark, You made my Orange Juice come through my nose. Too funny! Thanks.
|
|
Message #202294
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
My question is did he spend equal amount of time and effort on Wicket, Tapestry or Echo2 before drawing his conclusion? From this interview it doesn't seem so. And that's what worries me.J Yes, he did spend time looking at Tapestry. Wicket would run into the same problems for the reason of not exactly having full Model/View separation. Again, we could go back and forth on the validity of that point, but two things: JSF has Model/View separation such that it's extremely easy to drop in solutions like Seam, Shale, or your own controller. Secondly, I know that Seam could be used with other frameworks down the road, maybe not as easily, but I'm sure it's on the table.
|
|
Message #202295
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Rick,
Examine the quote below from Gavin't interview yourself:
"When I came to look at JSF, I was casting around for a web framework to marry with EJB3. I was looking around and I was 'well let's start with what it is the spec. (JSF)'. And I was thinking it was going to be a steaming pile. (However), I found once I actually sat down and looked at it. It was working how I would think to design a (web) framework. When I used it, it was real easy to use and I think it is great." -- G. King So he says he started with the Spec. Did he go to look deeper into other frameworks or he started and stopped by the spec product just because it's a spec? It worries me that's the case.
J
|
|
Message #202298
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Rick,Examine the quote below from Gavin't interview yourself:"When I came to look at JSF, I was casting around for a web framework to marry with EJB3. I was looking around and I was 'well let's start with what it is the spec. (JSF)'. And I was thinking it was going to be a steaming pile. (However), I found once I actually sat down and looked at it. It was working how I would think to design a (web) framework. When I used it, it was real easy to use and I think it is great." -- G. King So he says he started with the Spec. Did he go to look deeper into other frameworks or he started and stopped by the spec product just because it's a spec? It worries me that's the case.J If you listen to the interview, you will note that he looked into Tapestry.
|
|
Message #202299
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
punny
Interaction models of other web component frameworks seam freaky compared to JSF's one. Were you trying to be punny? :)
No not really. That was an accident. I ran it through a spellchecker, but a spellchecker can't detect brain malfunctions.
|
|
Message #202300
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
My question is did he spend equal amount of time and effort on Wicket, Tapestry or Echo2 before drawing his conclusion? From this interview it doesn't seem so. And that's what worries me.J Yes, he did spend time looking at Tapestry. Wicket would run into the same problems for the reason of not exactly having full Model/View separation. Again, we could go back and forth on the validity of that point, but two things: JSF has Model/View separation such that it's extremely easy to drop in solutions like Seam, Shale, or your own controller. Secondly, I know that Seam could be used with other frameworks down the road, maybe not as easily, but I'm sure it's on the table.
Well you could go the other road as well, the Trails developer s went the Tapestry road, because they liked Tapestry more than JSF.
But I think in the end it is good that every major component based app framework will have its own RAD framework people can use to hammer out applications quickly, no matter being it Trails or Seam.
Btw. pure action based frameworks are out of the game (as the Trails developers already stated) for now in this area of framework games.
|
|
Message #202301
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Kevin is so Smart
Thank you so much Kevin. JSF is a strong framework. I've been wokking on JSF since early 2004. I build a big Project and it's really working fine. I agree with some of you who have/had some difficulties using it (The learning curve is little hard), But patient programmers will find it worth working on JSF.The Best of the best is to go JSF/Spring/Hibernate. For sure you will programming.thanks I've worked on several production apps since its release. It is a very productive environment, and I never use the drag&drop tools.
My current stack is Facelets/JSF/Spring/Hibernate. Facelets add a whole new dimension of view reuse. You gotta try it.
http://jroller.com/page/RickHigh?entry=facelets_fits_jsf_like_a
I just started digging into Seam. The trick for me will be "what is the best way to combine Seam and Spring". Seam shoots at the heart of what people use Spring for.... When do you use which? I am a big Spring fan, but Seam is compelling enough for me to look into EJB3.
|
|
Message #202303
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
If you listen to the interview, you will note that he looked into Tapestry. Probably with less effort and time because Tapestry is not a spec. I certainly believe if had, he would have chosen the REAL component oriented framework. Maybe he did. But who knows, company direction might have influenced him to choose otherwise.
J.
|
|
Message #202305
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
If you listen to the interview, you will note that he looked into Tapestry. Probably with less effort and time because Tapestry is not a spec. I certainly believe if had, he would have chosen the REAL component oriented framework. Maybe he did. But who knows, company direction might have influenced him to choose otherwise.
J.
LOL, are you not reading my replies?
|
|
Message #202306
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
If you listen to the interview, you will note that he looked into Tapestry. Probably with less effort and time because Tapestry is not a spec. I certainly believe if had, he would have chosen the REAL component oriented framework. Maybe he did. But who knows, company direction might have influenced him to choose otherwise.J.
Frameworks are not a religion my friend, there is no the Real component oriented framework, just ones which might fill the tasks you want to achieve better than others. I for instance went for various reasons the JSF route, one it is a component oriented framework with a more than decent event system, second there already was a huge stack of third party components there so there was momentum behind it. Third there already was tool support there and you could go along with it really well without tools. And fourth being a standard also influenced my decision, but only to the smallest degree because the standard thing, the whole thing simply came closest to what I expect from a good webframework. But there is no real best framework, only ones which can fullfill your needs better than others.
|
|
Message #202308
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
And Gavin is absolutely right. JSF is a very good framework, very extensible, and it feels like being a well-thought out spec.
The only big minus of JSF is that it ties into JSP, and JSP wasn't built for what JSF needs from it - better with JSF 1.2, and even better with Component-Bindings (write your web-app in Java) Facelets or Clay, or whatever view-definition technology you can think of.
A very common misconception is that JSF was built into the green - that's just not true: JSF started with concepts from UIX (an Oracle internal framework) and Struts, and both were much used frameworks at this time, one commercially and one in the open source world.
Speaking as a team member of MyFaces - take it for granted: JSF felt right, and this is why the founders of MyFaces implemented this Spec. And the MyFaces founders _did_ evaluate just taking an existing framework at this time - or creating a new framework just like everyone else ;).
regards,
Martin
|
|
Message #202310
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Of course he will say JSF is good
He is pushing his JSF based framework called SEAM! It would look rather odd if he dissed JSF, wouldn't it? This is strange reasoning. Why would he have started Seam unless he thought JSF was a good framework? +1 I thought the same thing. Some people have to find an ulterior motive in everything.
|
|
Message #202313
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No offense but...
What does Gavin really know about writing web frameworks?
That doesn't detract from how truly innovative and superior Hibernate is as a means of persistence, but.....
|
|
Message #202315
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
What pun?
Gavin seems to really dig JSF (pun intended). I know you shouldn't have to explain a joke, but what pun?
I am going to venture a guess and go with:
Gavin really gets/likes (digs - verb) JSF. Others say bad/sarcastic things (digs -noun) about JSF.
Gavin seems to really dig JSF ..
Peace,
Cameron Purdy Tangosol Coherence: Clustered Shared Memory for Java
|
|
Message #202316
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No offense but...
What does Gavin really know about writing web frameworks? That doesn't detract from how truly innovative and superior Hibernate is as a means of persistence, but..... Well I suggest you to take a look at Seam. To write this kind of framework, you need *some* web frameworks knowledge in my opinion.
Please argue on what he says in the interview so we can have a constructive discussion not on his *hidden agenda* or other crap of this kind. It's not a political forum after all..
|
|
Message #202318
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No offense but...
... Please argue on what he says in the interview so we can have a constructive discussion not on his *hidden agenda* or other crap of this kind. It's not a political forum after all.. Fair enough. I don't agree that styling via css alone is more than enough and the ~only~ way people should be doing web development. In order to have a flexible framework I believe it is much better to allow a little bit more control over the actual html being output and not rely on css alone. This is a personal opinion based on experiences with various libraries that have tried to do this and decided it wasn't the best idea. There are just too many situations where this creates customization problems.
So, I would say the css statement alone sort of rubbed me the wrong way and indicated a certain level of experience. Just an opinion though....
|
|
Message #202321
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No offense but...
What does Gavin really know about writing web frameworks? That doesn't detract from how truly innovative and superior Hibernate is as a means of persistence, but..... Seems to me that if he has the talent to do the research and design of a professional level framework in one arena that he should at least be taken seriously applying that same talent elsewhere. Did he succeed? I don't know but dismissing him as just a database programmer seems to be something an HR employee would do:
"Yes, Gavin I see you've had some good Hibernate experience but we're looking for a Struts guy"
|
|
Message #202323
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No offense but...
... Please argue on what he says in the interview so we can have a constructive discussion not on his *hidden agenda* or other crap of this kind. It's not a political forum after all.. Fair enough. I don't agree that styling via css alone is more than enough and the ~only~ way people should be doing web development. In order to have a flexible framework I believe it is much better to allow a little bit more control over the actual html being output and not rely on css alone. This is a personal opinion based on experiences with various libraries that have tried to do this and decided it wasn't the best idea. There are just too many situations where this creates customization problems. So, I would say the css statement alone sort of rubbed me the wrong way and indicated a certain level of experience. Just an opinion though....
Well he is right in a sense that a clean design should enforce CSS wherever possible, that some browsers with currently 85% marketshare prevent this to a certain degree is another issue (and lots of so called html designers as well).
But I see that as a non issue in JSF anyway, there are enough ways for a html fallback, they are just not enforced like other frameworks do, which simply add a thin dynamisation layer on top of html.
Anyway given the fact that Seam currently is one of a really small number for frameworks bringing totally new stuff onto the table in the web framework space is enough justification not to dismiss Gavins words as being from a person who does not know what he is talking about.
He has proven that enough that he also knows his way around in the web framework space.
(I would not have thought otherwise, if you do projects you usually have to deal with web centric apps a lot of times, so you get enough exposure to all kind of web frameworks, to get a good indication where to push your personal preferences to)
|
|
Message #202327
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Kevin is so Smart
I've been messing with Facelets since reading the "fits like a glove.." article, and I have to agree with you, it compliments JSF very nicely. I've been converting (read removing) my UIComponent/Tag classes to composition components.. what a nice change that is. For those of you who DO like JSF you really need to try Facelets.
http://www-128.ibm.com/developerworks/java/library/j-facelets/
Oh, and I agree with Kevin's comments about JSF. If you want a second opinion you can read the comments on JSF by the creator of struts too (yeah I know he works for Sun now so everything he says is suspect. whatever.)
|
|
Message #202328
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Sorry to make it "dump on Jan" day but all your replies on this topic seem a bit, um, immature.
Its fine if you don't like JSF. It's fine if you think Gavin made a mistake with liking it. But phrases like "He blindly chose JSF because it's a spec", "proven and powerful web frameworks of our time", and "Unfortunately, there are also many whose decision are very much standards driven" make you sound a bit like a goofball.
Maybe try to focus on what "you" think instead of putting words into other people's mouths:
"Gavin would tell you JBoss is the most revolutionary and best app server on the planet"
"From your narrow mindedness I can say for sure you'll take his word for it"
These feel more like libelous statements than reasonable arguments.
I'm interested in "your" opinion not what you think other's would be: - What don't you like about developing to J2EE specs? - Why aren't they a good starting point for a framework? - Why do you feel that JSF is a mistake?
Just don't spread so much B.S. in with it.
|
|
Message #202331
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No offense but...
Jesse, you're right in saying that CSS isn't the only answer, but it is an answer to the degree of not needing to formulate your whole view layer around designers within the structual markup. We are a ways in on a *very* large project and our designer spends 95% of his time just setting styles/classes and modifying CSS files. Even our JS events are externally decorated instead of explicitly defining them as attributes on structual elements. It's a new route of development that does require expertise, but if you have expert designers, then this development route makes a ton of sense w/ retaining control by the appropriate parties.
|
|
Message #202332
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No offense but...
I don't think I know enough about JSF or facelets to give a very strong opinion on anything specific to either of them. Can only respond to things I read/hear. (doesn't require as much work ;) )
I do like the external js, as well as css.
I still view these things as seperate from what is happening to the actual html though. You know, html is the core of it, the DOM, it holds all our data and structures certain aspects of the view. I'm used to and prefer to control this part of things, if a component/js package/whatever wants to come along and decorate my html then that is great and everyone's happy.
Facelets are definitely a step in the right direction over what the original JSF impl seems to be going for, even if I think there are fundamental flaws in JSF that feel very limiting.
Thankfully we have all sorts of infrastructure that supports new and innovative open source dev to prevent lock in to "one all knowing being" so it's a moot point. :)
|
|
Message #202340
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No offense but...
Jesse, you're right in saying that CSS isn't the only answer, but it is an answer to the degree of not needing to formulate your whole view layer around designers within the structual markup. We are a ways in on a *very* large project and our designer spends 95% of his time just setting styles/classes and modifying CSS files. Even our JS events are externally decorated instead of explicitly defining them as attributes on structual elements. It's a new route of development that does require expertise, but if you have expert designers, then this development route makes a ton of sense w/ retaining control by the appropriate parties. Totally agree Jacob. Our designer here works the same way. He just needs to change its css and voilà everything is done.
Another thing we like with this approach is that he can have different versions of the same css and manage them a independant project using Maven 2. He can work on his csss while the developpers work on the source code and knowing the integration won't be a problem.
|
|
Message #202346
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Ulterior motive no, conflict of interest yes
If Gavin was pushing a stock, wouldn't we notice that he is fully vested in JSF? It is OK to push a stock or technology even if you have conflicts of interests, of course, but ignoring them as a listener would be just totally idiotic.
|
|
Message #202348
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
How can you suppose that
Mark, You made my Orange Juice come through my nose. Too funny! Thanks. You're welcome. Glad I finally got one to work. But you can thank whomever mentioned this same thing in another thread.
|
|
Message #202349
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
What pun?
Gavin seems to really dig JSF (pun intended). I know you shouldn't have to explain a joke, but what pun? I am going to venture a guess and go with:Gavin really gets/likes (digs - verb) JSF.Others say bad/sarcastic things (digs -noun) about JSF. Gavin seems to really dig JSF ..Peace,Cameron PurdyTangosol Coherence: Clustered Shared Memory for Java Stupid forest! I couldn't see the tree.
|
|
Message #202353
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Wicket would run into the same problems for the reason of not exactly having full Model/View separation. Say what? Wicket hides the model behind an locator interface. You are free to plug any model you like and I am already doing automated SEAM like validations without having the need for that extra framework.
If you don't want a JSF thread to be stolen by 'noisy people who are promoting competing frameworks' you might want to consider not talking about those competing frameworks. And if you do, please make sure what you tell is true.
|
|
Message #202354
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Ken Lay has left the building
If Gavin was pushing a stock, wouldn't we notice that he is fully vested in JSF? It is OK to push a stock or technology even if you have conflicts of interests, of course, but ignoring them as a listener would be just totally idiotic. Yeah, I hear your point, but it seems only applicable to the people responding without reading the article.
If you've read the article and interview where is the conflict of interest? Everything seems on the up and up to me: 1) Gavin wanted a UI framework to marry to EJB3 2) Since he likes EJB3 he would probably want to stick to other J2EE standards - JSF is one 3) He explores the JSF standard and likes what he sees enough to make a framework implementing the standard 4) He does interviews promoting his framework and backing up his decisions with some facts and opinions
I don't see any sneekiness or anything behind the scenes here. The whole point of the interview is based on the fact that he was describing why he felt Seam was needed. A conflict of interest would be him praising the merits of JSF and Seam without disclosing that it was his project.
|
|
Message #202356
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Of course he will say JSF is good
He is pushing his JSF based framework called SEAM! It would look rather odd if he dissed JSF, wouldn't it? Doh! But then again, they must had a reason to choose JSF as a base spec for Seam at the first place.His analysis of why he doesn't like Tapestrys straight HTML template files are rather idiotic. Afaik, Tapestry and Wicket define stuff in two places: HTML template and Java code. These two definitions must correspond to each other and the only way to see how well they correspond is only in runtime. Defining stuff in one place is simpler. Binding to arbitrary properties of arbitrary beans (JSF, Struts, plain JSP) is simpler than building a hierarchy of Java classes that reflects component structure (Wicket). In this respect it would be interecting to hear how Wicket and Tapestry implement ajaxified in-place update where DOM structure of a page can be changed. Do they require to modify the structure of Java classes (not the relationship of instantiated objects) on the server side as well?
Gavin is totally right about CSS, it is 2006 after all. Go check out the css zen garden.
|
|
Message #202358
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
And the MyFaces founders _did_ evaluate just taking an existing framework at this time - or creating a new framework just like everyone else ;).regards,Martin And as a member of a competing framework I can say I did evaluate JSF and MyFaces and asked around on the MyFaces mailing list to find people that were interested in creating a non-JSP implementation (I think I proposed Velocity, which seems stupid in hind sight anyway). That time one of the developers of MyFaces (was that you?) replyed that he didn't see the problem with JSP at all, and in general there seemed to be not a lot of interest in developing such an alternative. Then I took a day to delve into the specs a bit deeper to see if it was feasible to do it on my own, but I hated the specs. I mean, if you are going to invest free time in an open source project, you might as well choose something you like, no?
|
|
Message #202359
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Wicket would run into the same problems for the reason of not exactly having full Model/View separation. Say what? Wicket hides the model behind an locator interface. You are free to plug any model you like and I am already doing automated SEAM like validations without having the need for that extra framework.If you don't want a JSF thread to be stolen by 'noisy people who are promoting competing frameworks' you might want to consider not talking about those competing frameworks. And if you do, please make sure what you tell is true.
Yes, but I think Michael did an excellent job of elaborating a bit more on the issue: http://www.theserverside.com/news/thread.tss?thread_id=39214#202356
|
|
Message #202364
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Of course he will say JSF is good
Binding to arbitrary properties of arbitrary beans (JSF, Struts, plain JSP) is simpler than building a hierarchy of Java classes that reflects component structure (Wicket). It's a tradeoff. JSF is stronger if you have to often change your hierarchy. Wicket is stronger when it comes to component/ model interaction.
In this respect it would be interecting to hear how Wicket and Tapestry implement ajaxified in-place update where DOM structure of a page can be changed. Do they require to modify the structure of Java classes (not the relationship of instantiated objects) on the server side as well? With Wicket you have to change the relationship of the instantiated objects. E.g. you replace Panel x with Panel y. Btw, such AJAX support is already in place for Wicket. You can check it out today if you are interested (though you're probably bussy with your own framework ;))
Gavin is totally right about CSS, it is 2006 after all. Go check out the css zen garden. So why can't you have clean templates that work with CSS? What about the argument that if your HTML isn't messed up with foreign tags, it is just easier to read, maintain, etc?
|
|
Message #202366
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Yes, but I think Michael did an excellent job of elaborating a bit more on the issue I was reacting toWicket would run into the same problems for the reason of not exactly having full Model/View separation. Which is just not true. I can't see how it could be seperate more. The models are first class citizens and can be bound in any hierarchy at any time you want. If you really would want to do it e.g. by reading expressions from attribute values you could do that too, if that's what you mean.
AndYes, but I think Michael did an excellent job of elaborating a bit more on the issue He was telling half of the story. Defining and moving around is easier. Component and model interaction is harder.
|
|
Message #202367
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Of course he will say JSF is good
Binding to arbitrary properties of arbitrary beans (JSF, Struts, plain JSP) is simpler than building a hierarchy of Java classes that reflects component structure (Wicket). It's a tradeoff. JSF is stronger if you have to often change your hierarchy. Wicket is stronger when it comes to component/ model interaction.
I should've been more clear on this point in relation to JSF/Seam. Since JSF's component model isn't tied by reference or otherwise to the model tier, Seam is able freely manipulate the lifecycles of model instances without modification to all the rest of JSF. This can even occur alongside support with Spring (scary, I know). As I said in my original post, I have no doubt that frameworks, like Wicket, could be used with Seam, I'm just not sure it would be as easy or as agnostic.
|
|
Message #202371
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
weekly JSF promition
So Rick, Jacob, Steve, ... already bussy writing your next JSF promotion for TSS/ JavaLobby? It's almost like it needs a bit of promotion :)
|
|
Message #202374
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
weekly JSF promition
So Rick, Jacob, Steve, ... already bussy writing your next JSF promotion for TSS/ JavaLobby? It's almost like it needs a bit of promotion :) Not until we have a fix for better state saving ;-)
|
|
Message #202379
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
weekly JSF promition
So Rick, Jacob, Steve, ... already bussy writing your next JSF promotion for TSS/ JavaLobby? It's almost like it needs a bit of promotion :) I don't know nearly enough about it to promote it well, even assuming I wanted to.
|
|
Message #202382
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Kevin is so Smart
Sorry Gavin.
I suggest How Wonderfull the world will be if java community concentrate it's enegy on JSF ?.
|
|
Message #202389
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
JSF, the problematic spec requiring something to supplant it
cite="http://www.javaposse.com/index.php?post_id=59304"> then you are mixing your semantic data definintion with your presentation does not hold water because it is 2006 guys and you are not suppose to be doing presentation in your HTML. You are suppose to be doing it in your CSS. That's rich considering JSF in all the Sun and MyFaces components embed static HTML and Javascript in Java classes, a la Servlets, 1999.
|
|
Message #202398
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Of course he will say JSF is good
Binding to arbitrary properties of arbitrary beans (JSF, Struts, plain JSP) is simpler than building a hierarchy of Java classes that reflects component structure (Wicket). It's a tradeoff. JSF is stronger if you have to often change your hierarchy. Wicket is stronger when it comes to component/ model interaction. It just seems too complicated to me to always keep class/object hierarchy in sync with a page. On the other hand, JSF is too complex for me as well :)In this respect it would be interecting to hear how Wicket and Tapestry implement ajaxified in-place update where DOM structure of a page can be changed. Do they require to modify the structure of Java classes (not the relationship of instantiated objects) on the server side as well? With Wicket you have to change the relationship of the instantiated objects. E.g. you replace Panel x with Panel y. Btw, such AJAX support is already in place for Wicket. You can check it out today if you are interested (though you're probably busy with your own framework ;)) I see. I might take a look but you guessed correctly that I am busy with my own... well, just a library :) I hope Wicket gets better recognition though.Gavin is totally right about CSS, it is 2006 after all. Go check out the css zen garden. So why can't you have clean templates that work with CSS? Of course you can. But the possibility to use CSS in both JSF and Wicket does not make Wicket better or JSF worse. I just meant that CSS *is* the way to go with markup.What about the argument that if your HTML isn't messed up with foreign tags, it is just easier to read, maintain, etc? I guess that JSF is not supposed to contain any HTML, only JSF tags. Whatever is rendered depends on renderer, so there should be no HTML to mess. In relation to "HTML is easier to read", this is only because you already know HTML. I guess that JSF is not supposed to be read, the same as Delphi's DFMs are not supposed to be read. For me, JSF page is more like a dialog window resource definition and I think that in some way it is similar to XAML.
--- Michael Jouravlev JSP Controls: Create web components with little more than bare JSP
|
|
Message #202400
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Of course he will say JSF is good
I guess that JSF is not supposed to contain any HTML, only JSF tags. Whatever is rendered depends on renderer, so there should be no HTML to mess. In relation to "HTML is easier to read", this is only because you already know HTML. I guess that JSF is not supposed to be read, the same as Delphi's DFMs are not supposed to be read. For me, JSF page is more like a dialog window resource definition and I think that in some way it is similar to XAML. Bingo. Maintainability is instead promoted via encapsulation and reuse with components or compositions and by staying model and controller agnostic.
|
|
Message #202406
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Of course he will say JSF is good
I hope Wicket gets better recognition though. We're doing pretty good actually. We are getting to a point where it is hard keep up with feature requests etc. We're deliberately laying low to protect ourselves ;) We'll do some more promoting when Wicket In Action comes out, and some of the features we are working on right now are done.
I guess that JSF is not supposed to contain any HTML, only JSF tags. Whatever is rendered depends on renderer, so there should be no HTML to mess. In relation to "HTML is easier to read", this is only because you already know HTML. I guess that JSF is not supposed to be read, the same as Delphi's DFMs are not supposed to be read. For me, JSF page is more like a dialog window resource definition and I think that in some way it is similar to XAML. Yeah, that's certainly a valid way to look at it. I guess any further discussion on that would result in a fruitless debate on elegance and taste :)
|
|
Message #202410
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
JSF, the problematic spec requiring something to supplant it
cite="http://www.javaposse.com/index.php?post_id=59304"> then you are mixing your semantic data definintion with your presentation does not hold water because it is 2006 guys and you are not suppose to be doing presentation in your HTML. You are suppose to be doing it in your CSS. That's rich considering JSF in all the Sun and MyFaces components embed static HTML and Javascript in Java classes, a la Servlets, 1999.
Only the renderers do, one way or the other you have to produce some markup. However, I could think of using a different templating technology for rendering as well, nothing except a huge speed hit would prevent you to to use velocity for instance as template, all the component renderer would have to do is to fill the velocity context push the component data in and let velocity render the markup. But that would result in a velocity call per component displayed. In the end it would be probably better to go entirely with a Velocity based rendering frontend, which also means huge work, because you have to add renderers.
I think in the long run something like a component lib based on facelets should be the way to go. (I am overall happy with jsf but the component API is definitely one thing I have constant gripes with, speaking as a component developer, and app developer)
|
|
Message #202414
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So wide of the mark
"A lot of people have the idea (that Tapestry's) idea of plain HTML and seperating out the component definitions (is a good idea). Frankly, after considering this a lot, I actually I find it nicer to put the component definitions in the page. The argument that but then you are mixing your semantic data definintion with your presentation does not hold water because it is 2006 guys and you are not suppose to be doing presentation in your HTML. You are suppose to be doing it in your CSS." The above comment is just so wide of the mark. The CSS thing is just a red herring. Of course anyone working with a HTML presentation layer should make extensive use of CSS. That goes without saying. But the HTML template is still unambiguously part of the presentation layer (as is the CSS). It's just lighter and more maintainable presentation template. The real issue that was being raised is where should the component definition go? Even "after considering this a lot", he seems unaware of the fact that Tapestry gives you the choice. You can embed the component definition in the HTML template (an "implicit component" in Tapestry terms) or you can put it in a separate component specification (an "explicit component"). And this has been the case since the version of Tapestry prior to the current one. So that the primary reason given for not going with Tapestry is based on a faulty (or very out-of-date) understanding of the framework.
|
|
Message #202422
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No offense but...
What does Gavin really know about writing web frameworks? That doesn't detract from how truly innovative and superior Hibernate is as a means of persistence, but..... From a series of conversations with Gavin about these topics, over a fairly long period of time, I can assure you that Gavin knows a heck of a lot more about the architectural issues around web frameworks than most people I know.
I also get incredibly depressed when I see this kind of thread over and over again on TSS ... focusing on personalities (and, quite often, personal attacks) instead of technology, useless speculations over what someone *thinks* instead of what they *said* or *did*, a myopic belief that if person X thinks technology A is "good" then person X must also believe that technology B is "bad", and so on ... sheesh.
Craig McClanahan
|
|
Message #202427
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Sun Java Creator for JSF
I would like to congratulate Sun for providing us Sun Java Creator 2.0. It is a very nice tool for working with JSF. If you haven't tried it, just do it. It makes the work with JSF very smooth and easy as pie. Not yet as good as Delphi but it will make its way, IMO. With Object, Data Binding included you can make a Web application in very easy way.
I think if Netbeans 5/6 will support JSF (based on Java Creator) and also Swing (Matisse) in the same IDE, also those UML and BPEL (Netbeans 5.5 Preview), everyone will think twice to use Eclipse or any other IDE ;-)
Good work Sun!
Cheers, Lofi.
Hybrid Enterprise Java Open Source Application Development? Business Layer : EJB, DODS, Hibernate, Spring Presentation Layer : XMLC/EAF, JSF, Swing Specification Layer : POJI/POJO -> http://ejosa.sourceforge.net
|
|
Message #202431
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
HttpSession vs SFSB
Can anyone elaborate on Gavin's argument that SFSB is just as good as HttpSession, if not better? If I run into scalability problems from shoving too much in the session, won't I run into the same problems, at about the same time (i.e. about the same number of concurrent users), if I'm shoving it into SFSBs instead? What's the solution? Enlarge the cluster of JBoss app servers? Vs keep it in the session and buy a Coherence license?
|
|
Message #202432
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
tapestry
It is good to hear that Gavin considered tapestry. I've been using struts forever, and am trying to select my teams next front end technology for java applications. I remember back in the 90's when sun announced the J2ee roles- deployer, page designer, developer, etc, and would like to someday see us able to leverage html experts in our application dev process, but at this point (at least w/ the jsp renderer), this seems impossible in JSF, or at least not an improvement on struts. I would like WYSIWIG editors to work w/ my templates, and not require expensive java specific tooling to build the "web piece" of the applications.
JSP tags, and JSF tags still seem to have too much of the "model" details in them, so will continue to be out of reach of my html prototyping teammates.
One more thing. Tapestry allows my to unit test my Pages w/out needing a servlet engine. Will JSF give me that? (not sure yet)
Thanks Gavin for allowing my Domain model programming to prosper w/ Hibernate!
|
|
Message #202434
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
HttpSession vs SFSB
Can anyone elaborate on Gavin's argument that SFSB is just as good as HttpSession, if not better? If I run into scalability problems from shoving too much in the session, won't I run into the same problems, at about the same time (i.e. about the same number of concurrent users), if I'm shoving it into SFSBs instead? What's the solution? Enlarge the cluster of JBoss app servers? Vs keep it in the session and buy a Coherence license? If you put stuff in your session AND you use session replication AND you don't use a smart HttpSession implementation (like Coherence provides) AND/ OR you decide not to abstract from the HttpSession in the first place THEN he is probably right. It's always good to work with abstractions so that you may decide to optimize according to your situation (like using a database instead). SFSB is one of the options you have for abstracting.
|
|
Message #202435
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
tapestry
Tapestry allows my to unit test my Pages w/out needing a servlet engine. Will JSF give me that?(not sure yet)Thanks Gavin for allowing my Domain model programming to prosper w/ Hibernate! It has been doable since the first version. You never see and touch any HttpXXX objects.
|
|
Message #202436
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
you're right...
I immediately felt bad for the way my original post came off...Sort of a talk first and think later approach.
The original intent wasn't to attack anyone in particular, but instead to try and bring context into the web area..I'm sure Gavin's perfectly capable of diving into a framework and owning all the portions of it eventually...
Of course it's also hard to not feel like a response is needed when all people read about is SEAM and then hear the javaposse interview..I know he doesn't think JSF isn't the only good technology out there, but it didn't seem like this was a well known public sort of thing so it gets frustrating sometimes when more zealout types start spouting off about how "obvious" it is that JSF is the best thing ever...Every framework has positive/negative points..
Either way the original post was out of line and I humbly apologize for what it contained..
|
|
Message #202438
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
you're right...
I immediately felt bad for the way my original post came off...Sort of a talk first and think later approach. The original intent wasn't to attack anyone in particular, but instead to try and bring context into the web area..I'm sure Gavin's perfectly capable of diving into a framework and owning all the portions of it eventually...Of course it's also hard to not feel like a response is needed when all people read about is SEAM and then hear the javaposse interview..I know he doesn't think JSF isn't the only good technology out there, but it didn't seem like this was a well known public sort of thing so it gets frustrating sometimes when more zealout types start spouting off about how "obvious" it is that JSF is the best thing ever...Every framework has positive/negative points..Either way the original post was out of line and I humbly apologize for what it contained.. Hey no problem Jesse! I think your second post made it clear you weren't trying to disrespect anyone and you weren't one of those "I HATE EVERY SPECS BECAUSE I KNOW BETTER THEN EVERYONE" people.
|
|
Message #202440
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
Just got back from vacation :-)
I'd like to make clear, that in defending JSF, I am not in ANY way trying to detract from other web frameworks that are out there, or say that we will never support anything other than JSF in Seam. Each have their strengths and weaknesses, JSF as much as any other.
What I do believe is that JSF has been subject to a totally unnecessary level of negativity. It's a really nice approach, with some excellent features that other frameworks don't have (which of course does not deny that other frameworks also have their own unique and excellent features), and with a combination of features that most matched the philosophy of Seam.
|
|
Message #202447
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Or perhaps because JSF has a lot of support
If you listen to the interview, you will note that he looked into Tapestry. Probably with less effort and time because Tapestry is not a spec. I certainly believe if had, he would have chosen the REAL component oriented framework. Maybe he did. But who knows, company direction might have influenced him to choose otherwise.J.
Or perhaps because JSF has a lot of support from a lot of vendors and has a much larger user base. Pretty amazing considering Tapestry predates Struts.
I like Tapestry. I'd rather work with Tapestry than a pure action based framework (Struts classic).
|
|
Message #202448
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
There are many reasons to pick JSF
If you listen to the interview, you will note that he looked into Tapestry. Probably with less effort and time because Tapestry is not a spec. I certainly believe if had, he would have chosen the REAL component oriented framework. Maybe he did. But who knows, company direction might have influenced him to choose otherwise.J. Frameworks are not a religion my friend, there is no the Real component oriented framework, just ones which might fill the tasks you want to achieve better than others.I for instance went for various reasons the JSF route, one it is a component oriented framework with a more than decent event system, second there already was a huge stack of third party components there so there was momentum behind it. Third there already was tool support there and you could go along with it really well without tools.And fourth being a standard also influenced my decision, but only to the smallest degree because the standard thing, the whole thing simply came closest to what I expect from a good webframework.But there is no real best framework, only ones which can fullfill your needs better than others.
These are really good points. There are many reasons to pick JSF. This does not mean that Tapestry, Wicket, etc. don't have their highlights.
|
|
Message #202449
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
What pun?
Gavin seems to really dig JSF (pun intended). I know you shouldn't have to explain a joke, but what pun? I am going to venture a guess and go with:Gavin really gets/likes (digs - verb) JSF.Others say bad/sarcastic things (digs -noun) about JSF. Gavin seems to really dig JSF ..Peace,Cameron PurdyTangosol Coherence: Clustered Shared Memory for Java
I thought it was obvious. Perhaps it was too simple.
|
|
Message #202450
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Kevin is so Smart
I've been messing with Facelets since reading the "fits like a glove.." article, and I have to agree with you, it compliments JSF very nicely. I've been converting (read removing) my UIComponent/Tag classes to composition components.. what a nice change that is. For those of you who DO like JSF you really need to try Facelets.http://www-128.ibm.com/developerworks/java/library/j-facelets/Oh, and I agree with Kevin's comments about JSF. If you want a second opinion you can read the comments on JSF by the creator of struts too (yeah I know he works for Sun now so everything he says is suspect. whatever.) I agree. Please read the article. I found Facelets to be refreshing and exciting. I saw in the Seam documentation that Gavin thinks the same.
Good job Jacob H. et al. You guys rock!
|
|
Message #202451
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Kevin is so Smart
Who is 'Kevin'? ;) Good question... I have no idea. It was part of a title where the body made no connection to the title (to me).
|
|
Message #202452
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
How can you suppose that
Mark, You made my Orange Juice come through my nose. Too funny! Thanks. You're welcome. Glad I finally got one to work. But you can thank whomever mentioned this same thing in another thread.
Do you mean the guy who said (in the Facelets thread):
Everything is a conspiracy these days. It is one thing to be skeptical. It is quite another to live in a closet with alluminum foil on your head to block the evil gamma rays that the government is using to control your brain.
Make a point why you feel JSF and/or Facelets sucks and then see how quickly Jacob and/or Steve (and/or Kito) rip it apart.
I'd go with the conspiracy theory if I was you too. It is much safer to do that than opine about the technology where you will get shredded.
So let me get this straight you don't like JSF and you don't like Faclets. So what do you like?
I am sure there are not shortcommings or tradeoffs with it. eh? I wonder who said that. He seems a bit angry. He needs to chill.
|
|
Message #202453
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So who cares?
Wicket would run into the same problems for the reason of not exactly having full Model/View separation. Say what? Wicket hides the model behind an locator interface. You are free to plug any model you like and I am already doing automated SEAM like validations without having the need for that extra framework.If you don't want a JSF thread to be stolen by 'noisy people who are promoting competing frameworks' you might want to consider not talking about those competing frameworks. And if you do, please make sure what you tell is true.
'noisy people who are promoting competing frameworks' I don't think Gavin was talking about you or Wicket when he said that. For that matter, I don't think he was talking about Howard or Tapestry either.
I suspect he was talking about some of the WebWork folks. I bet he does not care to clarify.
|
|
Message #202454
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Seamless Seam?
There's no doubt in my mind that you couldn't adapt Seam to work with other frameworks-- it just wouldn't be as seamless to the developer ;-) So the Seam/JSF combination provides a more seamless approach. This begs the question: Why was the name of this framework chosen to be "Seam"?
Seam has negative connotations, don't you think? A seam is usually something you want to hide. A visible seam is a sign of poor craftsmanship. Visible panty seams are a fashion "Don't" (according to my sister's Glamour magazines).
|
|
Message #202455
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Of course he will say JSF is good
Binding to arbitrary properties of arbitrary beans (JSF, Struts, plain JSP) is simpler than building a hierarchy of Java classes that reflects component structure (Wicket). It's a tradeoff. JSF is stronger if you have to often change your hierarchy. Wicket is stronger when it comes to component/ model interaction.In this respect it would be interecting to hear how Wicket and Tapestry implement ajaxified in-place update where DOM structure of a page can be changed. Do they require to modify the structure of Java classes (not the relationship of instantiated objects) on the server side as well? With Wicket you have to change the relationship of the instantiated objects. E.g. you replace Panel x with Panel y. Btw, such AJAX support is already in place for Wicket. You can check it out today if you are interested (though you're probably bussy with your own framework ;))Gavin is totally right about CSS, it is 2006 after all. Go check out the css zen garden. So why can't you have clean templates that work with CSS? What about the argument that if your HTML isn't messed up with foreign tags, it is just easier to read, maintain, etc?
All I know about Wicket is what I've read via the documentation provided. It seems verbose compared to JSF. If Wicket is better, I don't think you have made you case as to why and how. This is not to say that it is or that it isn't but the case has not (in my mind) been made conclusively.
|
|
Message #202456
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
weekly JSF promition
So Rick, Jacob, Steve, ... already bussy writing your next JSF promotion for TSS/ JavaLobby? It's almost like it needs a bit of promotion :) I write about the stuff I use. I have nothing to promote. I did not write Facelets. I am not on the JSF spec. group.
If I were using Tapestry or Wicket, I'd probably write about that.
|
|
Message #202457
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
This is one of the things I hate the most about writing JSF comp
cite="http://www.javaposse.com/index.php?post_id=59304"> then you are mixing your semantic data definintion with your presentation does not hold water because it is 2006 guys and you are not suppose to be doing presentation in your HTML. You are suppose to be doing it in your CSS. That's rich considering JSF in all the Sun and MyFaces components embed static HTML and Javascript in Java classes, a la Servlets, 1999.
Scott,
I agree with you. This is one of the things I hate the most about writing JSF components. I've used Velocity within the component to work around this problem. It worked well. And, I've come to really like Velocity.
In the future, I plan on using the Facelets API to access the Facelets templating internal to a JSF component.
Also, you can now write aggregation components ala Facelets, which are similar but different. ;o)
Although this problem has not been addressed by the JSF specification, there are many solutions to it.
At times solutions come out before the spec. addresses them.
|
|
Message #202458
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So wide of the mark
"A lot of people have the idea (that Tapestry's) idea of plain HTML and seperating out the component definitions (is a good idea). Frankly, after considering this a lot, I actually I find it nicer to put the component definitions in the page. The argument that but then you are mixing your semantic data definintion with your presentation does not hold water because it is 2006 guys and you are not suppose to be doing presentation in your HTML. You are suppose to be doing it in your CSS." The above comment is just so wide of the mark. The CSS thing is just a red herring. Of course anyone working with a HTML presentation layer should make extensive use of CSS. That goes without saying. But the HTML template is still unambiguously part of the presentation layer (as is the CSS). It's just lighter and more maintainable presentation template. The real issue that was being raised is where should the component definition go? Even "after considering this a lot", he seems unaware of the fact that Tapestry gives you the choice. You can embed the component definition in the HTML template (an "implicit component" in Tapestry terms) or you can put it in a separate component specification (an "explicit component"). And this has been the case since the version of Tapestry prior to the current one. So that the primary reason given for not going with Tapestry is based on a faulty (or very out-of-date) understanding of the framework.
This is out of date in both directions. With Facelets you can do HTML based component tempaltes.
At times is makes sense to go up the abstraction latter and drop more than a simple element on a page.
<calendar/>
<tree/>
<tabpanel/>
Both Tapestry and JSF/Facelets let you move up and down the abstraction ladder.
|
|
Message #202459
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Slashdot like isn't it
<blockquoteI also get incredibly depressed when I see this kind of thread over and over again on TSS ... focusing on personalities (and, quite often, personal attacks) instead of technology, useless speculations over what someone *thinks* instead of what they *said* or *did*, a myopic belief that if person X thinks technology A is "good" then person X must also believe that technology B is "bad", and so on ... sheesh. I agree. The constant conspiracy theory stuff is annoying.
I've never worked at Sun, Oracle, etc. I get accused of being on the JSF payroll often.
|
|
Message #202460
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Sun Java Creator for JSF
I would like to congratulate Sun for providing us Sun Java Creator 2.0. It is a very nice tool for working with JSF. If you haven't tried it, just do it. It makes the work with JSF very smooth and easy as pie. Not yet as good as Delphi but it will make its way, IMO. With Object, Data Binding included you can make a Web application in very easy way.I think if Netbeans 5/6 will support JSF (based on Java Creator) and also Swing (Matisse) in the same IDE, also those UML and BPEL (Netbeans 5.5 Preview), everyone will think twice to use Eclipse or any other IDE ;-)Good work Sun!Cheers,Lofi.Hybrid Enterprise Java Open Source Application Development?Business Layer : EJB, DODS, Hibernate, SpringPresentation Layer : XMLC/EAF, JSF, SwingSpecification Layer : POJI/POJO-> http://ejosa.sourceforge.net The problem with constant drag & drop is that it never stops. Using something like Facelets allows me to abstract things and reuse them instead of generate them, generate them, generate them. I hate WYSIWYG tools. They are good for prototyping and that is it. I want code completion and the tool to get out of my way as much as possible. Text files rock!
|
|
Message #202461
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
tapestry
It is good to hear that Gavin considered tapestry. I've been using struts forever, and am trying to select my teams next front end technology for java applications.I remember back in the 90's when sun announced the J2ee roles- deployer, page designer, developer, etc, and would like to someday see us able to leverage html experts in our application dev process, but at this point (at least w/ the jsp renderer), this seems impossible in JSF, or at least not an improvement on struts. I would like WYSIWIG editors to work w/ my templates, and not require expensive java specific tooling to build the "web piece" of the applications. JSP tags, and JSF tags still seem to have too much of the "model" details in them, so will continue to be out of reach of my html prototyping teammates. One more thing. Tapestry allows my to unit test my Pages w/out needing a servlet engine. Will JSF give me that?(not sure yet)Thanks Gavin for allowing my Domain model programming to prosper w/ Hibernate! Facelets allows the same style of development with JSF.
|
|
Message #202462
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
Just got back from vacation :-)I'd like to make clear, that in defending JSF, I am not in ANY way trying to detract from other web frameworks that are out there, or say that we will never support anything other than JSF in Seam. Each have their strengths and weaknesses, JSF as much as any other.What I do believe is that JSF has been subject to a totally unnecessary level of negativity. It's a really nice approach, with some excellent features that other frameworks don't have (which of course does not deny that other frameworks also have their own unique and excellent features), and with a combination of features that most matched the philosophy of Seam. I don't think JSF is perfect either, but it does not deserve the negative press it recieved. I agree with your statements.
|
|
Message #202463
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
To Rick H.
Mark, You made my Orange Juice come through my nose. Too funny! Thanks. You're welcome. Glad I finally got one to work. But you can thank whomever mentioned this same thing in another thread. Do you mean the guy who said (in the Facelets thread):Everything is a conspiracy these days. It is one thing to be skeptical. It is quite another to live in a closet with alluminum foil on your head to block the evil gamma rays that the government is using to control your brain.Make a point why you feel JSF and/or Facelets sucks and then see how quickly Jacob and/or Steve (and/or Kito) rip it apart.I'd go with the conspiracy theory if I was you too. It is much safer to do that than opine about the technology where you will get shredded.So let me get this straight you don't like JSF and you don't like Faclets. So what do you like?I am sure there are not shortcommings or tradeoffs with it. eh? I wonder who said that. He seems a bit angry. He needs to chill.
Rick, you have a wicket, I mean a wicked, sense of humour..! I like, I like. Don't think I wasn't paying attention! :-)
The only problem is that you made my Windex-coloured Gatorade come out through my nose!
Frederic
|
|
Message #202464
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Seam seems like a good name
There's no doubt in my mind that you couldn't adapt Seam to work with other frameworks-- it just wouldn't be as seamless to the developer ;-) So the Seam/JSF combination provides a more seamless approach. This begs the question: Why was the name of this framework chosen to be "Seam"?Seam has negative connotations, don't you think? A seam is usually something you want to hide. A visible seam is a sign of poor craftsmanship. Visible panty seams are a fashion "Don't" (according to my sister's Glamour magazines).
A line of junction formed by sewing together two pieces of material along their margins. A similar line, ridge, or groove made by fitting, joining, or lapping together two sections along their edges. --Dictionary.com
It seems Seam sews the model to the view.
|
|
Message #202465
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
I wonder if these pedantic debates about frameworks/patterns exist in the .NET world. IMHO, it's not the framework, its the tools that make you productive.
With Sun's Free Java studio, JSF has got me interested. Drag and drop CRUD web-apps are a possibility now.
Its a win/win for me, if I have a free tool that hides the complexity of a framework from me, yet gives me the hooks necessary to dig into the dirt if I have to.
I don't see that fancy tool support with non-JSF frameworks. Maybe I'm missing something..?
|
|
Message #202467
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
I wonder if these pedantic debates about frameworks/patterns exist in the .NET world. IMHO, it's not the framework, its the tools that make you productive.With Sun's Free Java studio, JSF has got me interested. Drag and drop CRUD web-apps are a possibility now.Its a win/win for me, if I have a free tool that hides the complexity of a framework from me, yet gives me the hooks necessary to dig into the dirt if I have to.I don't see that fancy tool support with non-JSF frameworks. Maybe I'm missing something..? I agree to a degree. Unlike .Net, with JSF you can use fancy IDE tools, but you don't have too. I don't think that is the case with .Net. I think you are more tied to the tools. What I like about Seam is that is seems to reduce the amount of configuration (managed beans and such) so it is even more friendly to developers who don't like WYSIWYG tools.
|
|
Message #202469
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Seam seems like a good name
It seems Seam sews the model to the view. Finally! A substantive technical comment! :-) There is definitely a degree to which this is true, but it is also a bit simplistic as well. Let's consider a couple of viewpoints that actually exist in the real world.
From the viewpoint of an object oriented purist, the separation of layers is definitely a concern. However, Seam seems :-) to actually *encourage* s separation of layers, by advocating the idea of using a stateful session bean as an adapter. Doing this naturally leads you towards *not* putting business logic into your view tier, and that seems like a good thing. The fact that you can layer your APIs completely, while still being able to bind view tier components to layer objects, is also cool.
From the viewpoint of a developer simply trying to get his or her job done (and not caring if it conforms to purist object oriented principles :-), the fact that you can bind components directly to model tier values (without having to modify your model tier classes, or make them dependent on view tier APIs) is a huge win that Seam inherits automatically by virtue of utilizing JSF value binding expressions. No need to create value object classes, or any other sort of intermediate layering -- although, if you have such a thing, JSF and Seam are perfectly happy at dealing with those kinds of objects as well.
Parenthetically, anyone who thinks that Java APIs should serve only the former audience and not the latter is being a bit arrogant, IMHO :-).
Craig McClanahan
|
|
Message #202475
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No offense but...
I also get incredibly depressed when I see this kind of thread over and over again on TSS ... focusing on personalities (and, quite often, personal attacks) instead of technology, useless speculations over what someone *thinks* instead of what they *said* or *did*, a myopic belief that if person X thinks technology A is "good" then person X must also believe that technology B is "bad", and so on ... sheesh.
Craig McClanahan I completely agree. I don't understand why people insist on attacking others with gratuitous negative comments. Sadly, there will always be such people around. I always think, "if you don't like it, suggest how it could be improved."
Also, it's enough already with the accusations of hidden agendas, political intentions, being paid to have an opinion, etc.! If you are convinced that this is what's going on, and that TSS is the vehicle for these conspiracies, then why are you still reading TSS?
On the other hand, because this "noise" is a part of life, we should give even more value and praise to those who take the time to contribute comments that are actually constructive. This doesn't mean positive comments only -- you could say that a simple "XYZ framework rocks!" is no more constructive a comment than "XYZ framework sucks!" -- but at least an attitude that is open-minded enough for discussion of technical issues, leaving personal insults aside.
And if someone writes a personal attack towards you, don't fall for the trap, resist retaliation, and be the bigger person! The rest of us will notice and will respect you for it.
*whew* that's enough, feel free to make fun of me, I can take it :-)
Frederic
|
|
Message #202484
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No offense but...
I completely agree. I don't understand why people insist on attacking others with gratuitous negative comments. Sadly, there will always be such people around. I always think, "if you don't like it, suggest how it could be improved." I wish there were more people who approached public discourse with this attitude. Sadly, part of the price we pay for free speech is putting up with people who behave like little boys at the beach that, rather than building their own sand castles, get some psychological benefit from kicking down the castles that others have built.
Also, it's enough already with the accusations of hidden agendas, political intentions, being paid to have an opinion, etc.! If you are convinced that this is what's going on, and that TSS is the vehicle for these conspiracies, then why are you still reading TSS? Mere happenstance ... I've reduced my reading of TSS threads (due to the decreasing signal-to-noise ratio) from several times a day to a couple times per week. If you really want to see what *I* personally think is important, pay more attention to what I *do* (Java Studio Creator, Struts, MyFaces) than what I talk about. I wish other people who post here would take the same approach.
On the other hand, because this "noise" is a part of life, we should give even more value and praise to those who take the time to contribute comments that are actually constructive. This doesn't mean positive comments only -- you could say that a simple "XYZ framework rocks!" is no more constructive a comment than "XYZ framework sucks!" -- but at least an attitude that is open-minded enough for discussion of technical issues, leaving personal insults aside.And if someone writes a personal attack towards you, don't fall for the trap, resist retaliation, and be the bigger person! The rest of us will notice and will respect you for it. No question that both positive and negative comments have their place here. I just (perhaps naively :-) wish that the comments could be based on technical issues, not personalities or politics, or even suppositionns about what particular people might think. Without that, we might as well have a People Magazine clone in cyberspace :-).
*whew* that's enough, feel free to make fun of me, I can take it :-) As the target of more than a few personal attacks in this forum, I can tell you that you're making the right choice :-). Ignoring the personal attacks on ourselves is absolutely the right action. Judging the total percentage of noise, versus the total percentage of signal, is a different story altogether. Personally, I'm approaching the limit where I'm leaning towards "this site is a waste of my time" even if reading TSS is just what I do during my first couple of cups of coffee during the day.
Craig
|
|
Message #202485
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Seam seems like a good name
A line of junction formed by sewing together two pieces of material along their margins. A similar line, ridge, or groove made by fitting, joining, or lapping together two sections along their edges. --Dictionary.com It seems Seam sews the model to the view.
Gavin, could you clear this up and add a "Why is it called Seam" to your FAQ page? Thanks.
Obviously it should have been called "Caulk". When will people learn to ask me before they announce new product names!
|
|
Message #202523
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
JSF?
Haven't heard JSF used in any major projects in Sydney (AU). Could someone tell me one (such project)?
Seems JSF a complex game for a few "elite", just as EJB2 entity bean.
|
|
Message #202527
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
What pun?
Gavin seems to really dig JSF (pun intended). I know you shouldn't have to explain a joke, but what pun? I am going to venture a guess and go with:Gavin really gets/likes (digs - verb) JSF.Others say bad/sarcastic things (digs -noun) about JSF. Gavin seems to really dig JSF ..Peace,Cameron PurdyTangosol Coherence: Clustered Shared Memory for Java I thought it was obvious. Perhaps it was too simple. I guess I am partial to homographs as opposed to homophones.
For those who need explaination - http://teenwriting.about.com/od/glossar1/g/GlosHomonym.htm
|
|
Message #202528
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
How can you suppose that
I wonder who said that. He seems a bit angry. He needs to chill. Yes. Quite a nut-job. I hear he has quite a collection of "The Catcher in the Rye". (google that and "Mel Gibson")
|
|
Message #202530
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No offense but...
And if someone writes a personal attack towards you, don't fall for the trap, resist retaliation, and be the bigger person! The rest of us will notice and will respect you for it. Or, poke the rabid dog while he is not looking and then run (make sure there is a tree close by)! :)
|
|
Message #202531
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Seam seems like a good name
It seems Seam sews the model to the view. Say that 5 times fast.
|
|
Message #202545
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
JSF?
JSF is not as difficult as EJB2. After discovering it's secrets. It will make your life easier. there are many books out there. You can start from myfaces project and build your own application. Good luck.
|
|
Message #202570
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
What pun?
I guess I am partial to homographs as opposed to homophones. Good. We don't want homophonia around here.
|
|
Message #202575
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Offense: JSF is awesome; no other web framework even comes close
I completely agree. I don't understand why people insist on attacking others with gratuitous negative comments. Sadly, there will always be such people around. I always think, "if you don't like it, suggest how it could be improved." I wish there were more people who approached public discourse with this attitude. Sadly, part of the price we pay for free speech is putting up with people who behave like little boys at the beach that, rather than building their own sand castles, get some psychological benefit from kicking down the castles that others have built.Also, it's enough already with the accusations of hidden agendas, political intentions, being paid to have an opinion, etc.! If you are convinced that this is what's going on, and that TSS is the vehicle for these conspiracies, then why are you still reading TSS? Mere happenstance ... I've reduced my reading of TSS threads (due to the decreasing signal-to-noise ratio) from several times a day to a couple times per week. If you really want to see what *I* personally think is important, pay more attention to what I *do* (Java Studio Creator, Struts, MyFaces) than what I talk about. I wish other people who post here would take the same approach.On the other hand, because this "noise" is a part of life, we should give even more value and praise to those who take the time to contribute comments that are actually constructive. This doesn't mean positive comments only -- you could say that a simple "XYZ framework rocks!" is no more constructive a comment than "XYZ framework sucks!" -- but at least an attitude that is open-minded enough for discussion of technical issues, leaving personal insults aside.And if someone writes a personal attack towards you, don't fall for the trap, resist retaliation, and be the bigger person! The rest of us will notice and will respect you for it. No question that both positive and negative comments have their place here. I just (perhaps naively :-) wish that the comments could be based on technical issues, not personalities or politics, or even suppositionns about what particular people might think. Without that, we might as well have a People Magazine clone in cyberspace :-).*whew* that's enough, feel free to make fun of me, I can take it :-) As the target of more than a few personal attacks in this forum, I can tell you that you're making the right choice :-). Ignoring the personal attacks on ourselves is absolutely the right action. Judging the total percentage of noise, versus the total percentage of signal, is a different story altogether. Personally, I'm approaching the limit where I'm leaning towards "this site is a waste of my time" even if reading TSS is just what I do during my first couple of cups of coffee during the day.Craig
Personal attacks are quite common on most online forums not to mention blogs. I've been both a victim and an occasional perpetrator. It is like driving in a car. People in a car are a lot more aggresive than people standing in a line at the market. There are things people say online that they would never dream of saying face to face.
I was never attacked personally (to my recollection) until I first wrote a blog declaring that JSF was a good framework. Then the attacks came out of the wood work. There is a lot of passion about web frameworks.
Here is when my trouble started: http://java.sys-con.com/read/46402.htm
My guess is that the same project would have taken twice as long if I did it with Struts instead of JSF because it was a fairly rich application (custom sorting, post backs to populate list boxes, auto populate fields based on user actions, etc.). JSF is much more natural than Struts. I think WebWork, and Spring MVC are improvements on Struts Model 2 MVC, but I have been bitten by the event-driven bug. The only other framework I would consider using instead of JSF would be Tapestry. In short, I dig JSF.
Apparently it is popular to bash Sun and J2EE. JSF does not deserve it. ... For me the killer stack is JSF + Hibernate + Spring. The verdict is still out on Tapestry (I need more experience with it). --Sept 04 The above statement did not make a lot of Struts, Tapestry and WebWork users (not to mention contributors) happy.
Then I wrote a series on JSF FUD and how easy it was to work with: http://www-128.ibm.com/developerworks/library/j-jsf1 http://www-128.ibm.com/developerworks/library/j-jsf2 http://www-128.ibm.com/developerworks/library/j-jsf3 http://www-128.ibm.com/developerworks/library/j-jsf4
Just in case you're thinking that doing it with Struts would have been easier, my estimate is that it would take at least twice the effort to create the Struts version of the simple JSF application you built here. To build the same example app in Struts you would need two action classes for the two buttons, each requiring its own set of action mappings. You would also need an action mapping to load the first page, at least assuming you were following the Model 2 recommendation. To mimic JSF's default error handling and validation you would have to configure Struts to use the validator framework or implement the equivalent in the validate method on an ActionForm. You would also have to either declare a DynaValidatorForm in the Struts config or create an ActionForm and override the validate method or use the subclass of the ValidatorForm with the hooks into validator framework. And finally, you would probably need to configure some forwards (possibly two sets for each action) or global forwards to be used by all the actions.
In addition to doubling your coding, Struts takes a lot more effort for new developers to learn. I know this because I've written both a Struts course and a JSF course and I've taught them both. Developers pick up JSF easily and struggle with Struts. I believe a lot more forethought went into the design of JSF than Struts. JSF just makes more logical sense; it is intuitive. Struts was collected and evolved. JSF was specified and created. JSF development is simply more productive than Struts development in my book. --Feb 05 IBM DeveloperWorks It really nice to see this forum where there is overwhelming support for JSF and many folks willing to come out and say "I use it and I like it". This was not always the case.
JSF has awesome tool support. You can work with JSF without tools. JSF has awesome third party component libraries.
There is no other Java web framework that even comes close.
The Java answer to RoR will be something JSF based and it will be awesome (Perhaps Seam + JSF + Gavin's new CRUD framework or maybe something else).
If you combine JSF with Facelets, it will be even better.
I don't think the answer to negative publicity is to ignore it.
|
|
Message #202576
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Seam seems like a good name
It seems Seam sews the model to the view. Finally! A substantive technical comment! :-) There is definitely a degree to which this is true, but it is also a bit simplistic as well. Let's consider a couple of viewpoints that actually exist in the real world.From the viewpoint of an object oriented purist, the separation of layers is definitely a concern. However, Seam seems :-) to actually *encourage* s separation of layers, by advocating the idea of using a stateful session bean as an adapter. Doing this naturally leads you towards *not* putting business logic into your view tier, and that seems like a good thing. The fact that you can layer your APIs completely, while still being able to bind view tier components to layer objects, is also cool.From the viewpoint of a developer simply trying to get his or her job done (and not caring if it conforms to purist object oriented principles :-), the fact that you can bind components directly to model tier values (without having to modify your model tier classes, or make them dependent on view tier APIs) is a huge win that Seam inherits automatically by virtue of utilizing JSF value binding expressions. No need to create value object classes, or any other sort of intermediate layering -- although, if you have such a thing, JSF and Seam are perfectly happy at dealing with those kinds of objects as well.Parenthetically, anyone who thinks that Java APIs should serve only the former audience and not the latter is being a bit arrogant, IMHO :-).Craig McClanahan
Hey now.... It was not a white paper. It was just a post. Besides you left off my dictionary definition of Seam. I was going for simplicity. (At least that is the story I am sticking with).
|
|
Message #202577
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
How can you suppose that
I wonder who said that. He seems a bit angry. He needs to chill. Yes. Quite a nut-job. I hear he has quite a collection of "The Catcher in the Rye". (google that and "Mel Gibson")
Good one.
|
|
Message #202578
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Offense: JSF is awesome; no other web framework even comes close
I was never attacked personally (to my recollection) until I first wrote a blog declaring that JSF was a good framework. Then the attacks came out of the wood work. Don't you mean, the attacks came out of the webwork?
Sorry, after my bad wicket/wicked joke about your sense of humour, I couldn't resist..:-)
|
|
Message #202581
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Who cares?
A lot of people have the idea (that Tapestry's) idea of plain HTML and seperating out the component definitions (is a good idea). Frankly, after considering this a lot, I actually I find it nicer to put the component definitions in the page. The argument that but then you are mixing your semantic data definintion with your presentation does not hold water because it is 2006 guys and you are not suppose to be doing presentation in your HTML. You are suppose to be doing it in your CSS. You can define components in the page with Tapestry.
I don't think that Gavin is saying that JSF is better or that he has a hidden agenda. I just think he's just saying that he started using JSF and thought it was good. Nothing like low expectations... ;)
If someone is truely evaluating JSF vs. Tapestry, they should look at something like: http://www.theserverside.com/articles/article.tss?l=JSFTapestry
|
|
Message #202590
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
So wide of the mark
This is out of date in both directions. With Facelets you can do HTML based component tempaltes. ... Both Tapestry and JSF/Facelets let you move up and down the abstraction ladder. Sorry Rick, but this is precisely the point I was making, namely that you can do embedded or externalised component definitions in either. Indeed it's obvious that you can have HTML-embedded component definitions in the JSF world because that's precisely what Gavin expressed a preference for in the original transcript. My point related to the fact that he felt that this preference was "nicer" than "Tapestry's idea of plain HTML and seperating out the component definitions". I was merely pointing out this is several years out of date, as Tapestry also allows you to do both.
The other, separate, issue is the role of CSS. A component just renders itself as markup. You are perfectly free to have your components render as CSS-aware markup (with appropriate id and class attributes) or as old-school noisy HTML. Obviously the former is preferable but it is an entirely orthogonal issue to whether the component specifications should be embedded or externalised. It's spurious to invoke CSS in this context.
|
|
Message #202593
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Who cares?
A lot of people have the idea (that Tapestry's) idea of plain HTML and seperating out the component definitions (is a good idea). Frankly, after considering this a lot, I actually I find it nicer to put the component definitions in the page. The argument that but then you are mixing your semantic data definintion with your presentation does not hold water because it is 2006 guys and you are not suppose to be doing presentation in your HTML. You are suppose to be doing it in your CSS. You can define components in the page with Tapestry. I don't think that Gavin is saying that JSF is better or that he has a hidden agenda. I just think he's just saying that he started using JSF and thought it was good. Nothing like low expectations... ;)If someone is truely evaluating JSF vs. Tapestry, they should look at something like: http://www.theserverside.com/articles/article.tss?l=JSFTapestry
So we are back to guessing what Gavin thinks... I thought we agreed not to channel Gavin. :o)
Since we are channleling Gavin, I bet he thinks I don't want every whack job webframework fanatic breathing down my neck so I won't tell everyone I picked JSF becuase is: really darn good, the standard, has tons of components, and tons of tool support. It is frankly heads and shoulders above the rest both in technology and industry adoption. Hell its not perfect, but it is getting better and better.
BTW Read the Seam documents, Gavin loves Facelets too.
|
|
Message #202594
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Who cares?
A lot of people have the idea (that Tapestry's) idea of plain HTML and seperating out the component definitions (is a good idea). Frankly, after considering this a lot, I actually I find it nicer to put the component definitions in the page. The argument that but then you are mixing your semantic data definintion with your presentation does not hold water because it is 2006 guys and you are not suppose to be doing presentation in your HTML. You are suppose to be doing it in your CSS. You can define components in the page with Tapestry. I don't think that Gavin is saying that JSF is better or that he has a hidden agenda. I just think he's just saying that he started using JSF and thought it was good. Nothing like low expectations... ;)If someone is truely evaluating JSF vs. Tapestry, they should look at something like: http://www.theserverside.com/articles/article.tss?l=JSFTapestry So we are back to guessing what Gavin thinks... I thought we agreed not to channel Gavin. :o)Since we are channleling Gavin, I bet he thinks I don't want every whack job webframework fanatic breathing down my neck so I won't tell everyone I picked JSF becuase is: really darn good, the standard, has tons of components, and tons of tool support. It is frankly heads and shoulders above the rest both in technology and industry adoption. Hell its not perfect, but it is getting better and better.BTW Read the Seam documents, Gavin loves Facelets too.
BTW I don't dispute that Tapestry is a really good framework.
|
|
Message #202606
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Goodbye for now
It seems this thread is winding down. Thanks for all of the comments. I wanted to bring attention to Gavin's thoughts on JSF as many (myself included) view Gavin as one of the most influential Java developers in the industry. My goal is not to post another thing about JSF for a month (two posts within a week or so is too much).
Thanks again.
--Yours Truly Evil JSF Enthusiast Rick Hightower
|
|
Message #202628
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
JSF?
JSF is not as difficult as EJB2. After discovering it's secrets. It will make your life easier. there are many books out there. You can start from myfaces project and build your own application. Good luck. EJB2 EB was not diffuclut in a small application either, and actually made your life easier (than JDBC API) if you have tool support to create the EBs. It only got complicated in a large application.
|
|
Message #202657
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
JSF started with concepts from UIX (an Oracle internal framework) and Struts Actually, that's what worries me about this standard: Struts was the first, but it's completly outdated now.
|
|
Message #202670
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
JSF started with concepts from UIX (an Oracle internal framework) and Struts Actually, that's what worries me about this standard: Struts was the first, but it's completly outdated now.
I would not be too worried, JSF has some concepts of Struts but it is by far no advancement of Struts. It is more like a clean cut, keeping some of the good parts and getting rid of the bad ones.
JSF is more like a Swing or Qt for webapps than Struts. People only knowing struts and not having programmed a normal component and event based user interface will have a hard time to shift towards JSF, because some of the stuff looks familiar (central config files, page flow definitions) but are not, because they use different syntax and different concepts.
|
|
Message #202685
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
JSF is more like a Swing or Qt for webapps than Struts.People only knowing struts and not having programmed a normal component and event based user interface will have a hard time to shift towards JSF, Is it fair to say JSF is more like ASP.NET than Struts?
A major telco in Australia is re-writing its ASP.NET based online application in Java.
Using JSF? No.
The plain old Struts!
|
|
Message #202688
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
JSF is more like a Swing or Qt for webapps than Struts.People only knowing struts and not having programmed a normal component and event based user interface will have a hard time to shift towards JSF, Is it fair to say JSF is more like ASP.NET than Struts?A major telco in Australia is re-writing its ASP.NET based online application in Java.Using JSF? No.The plain old Struts!
So? Struts is a very well established technology. JSF has not been around for that long. How is this evidence for or against JSF being like or unlike Swing or QT?
|
|
Message #202692
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
JSF is more like a Swing or Qt for webapps than Struts.People only knowing struts and not having programmed a normal component and event based user interface will have a hard time to shift towards JSF, Is it fair to say JSF is more like ASP.NET than Struts?A major telco in Australia is re-writing its ASP.NET based online application in Java.Using JSF? No.The plain old Struts! So? Struts is a very well established technology. JSF has not been around for that long. How is this evidence for or against JSF being like or unlike Swing or QT?
Even if I like JSF, this is a political and technical decision, they had reasons to switch from ASP.net (probably one huge issue was the client side state saving, the other one maybe the lockin into windows). Whatever reasons there were, they probably went the save route now, and that one is Struts, which has been there for half a decade now. I can understand their decision. Having to switch from something new to something old often means that they must have burned their hands on something. <br><br> But to the original question, I am not too familiar with ASP.net, but given the fact that both follow similar goals JSF probably is closer to ASP.net than to Struts. (with some advantages it already has over ASP.net, like opensource implementations, probably more components on the freeware opensource side, more choice in development tools, easier handling without tools, and server side state saving without a back button problem, to avoid streaming of hundreds of kilobytes state saving data over the net)
|
|
Message #202696
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
People only knowing struts and not having programmed a normal component and event based user interface will have a hard time to shift towards JSF, because some of the stuff looks familiar (central config files, page flow definitions) but are not, because they use different syntax and different concepts. Which probably explains why couldn't stand Struts from the first time I saw it. I was, from the start, looking for an Echo or JSF.
|
|
Message #202697
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
But to the original question, I am not too familiar with ASP.net, but given the fact that both follow similar goals JSF probably is closer to ASP.net than to Struts. Having used all three, I can say that it is (though they are definitely not exactly alike). ASP.Net is great (from a coding standpoint), as long as you stay in the happy path. Sadly, I seldom get to stay in the happy path.
|
|
Message #202709
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
what component model?
i just read through Rick Hightower's JSF tutorial at http://www-128.ibm.com/developerworks/library/j-jsf1/ There's a controller, a model object, an xml config file, and a jsp page. Um, what's so different about this from a request/action based framework? It adds a very component centric approach to the mix, you have components, you have events (not only an action), the whole UI rendering layer is split onto mvc renderers on component level. On the backend side you can access those components via a dedicated component tree. And you have your event and action handlers there.
Programming JSF feels more like programming swing than struts, because you usually deal with pages, events which are triggered, components which you can influence from your code etc.
Also have in mind that you can separate the controller model logic, but you are not forced to do it. Programming JSF feels more like programming Swing or Qt, than programming Struts.
Thats why I said, Struts only people will have hard time to grasp it, because all looks so familiar, but have in mind it is different, you still have your page transitions (although with a saner syntax) but you also have a full blown rich client like programming model and a lot of flexibility in the organisation of your backend mvc patterns.
|
|
Message #202711
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
what component model?
ok. i didn't see any component model in that tutorial though. basically just an <h:inputText> or <h:commandButton> instead of html.
incidentally, i just was looking through the Oreilly JSF book and happened upon the discussion of Renderers, and there's an example of using java code to write a <form> element to the page. is this what people are doing with JSF?
|
|
Message #202717
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
what component model?
ok. i didn't see any component model in that tutorial though. basically just an <h:inputText> or <h:commandButton> instead of html. incidentally, i just was looking through the Oreilly JSF book and happened upon the discussion of Renderers, and there's an example of using java code to write a <form> element to the page. is this what people are doing with JSF? actually if you use jsp as rendering tech (which 99.99% of all people do) the components themselves are hidden in the tags.
For instance t:inputHTML renders a full blown html editor. But the main difference to pure action frameworks is following:
<t:component valueChangeListener="#{bean.listenerMethod}" binding="#{bean.component" />
what we have here is a component defined in the frontend with two bindings a value change listener and a component binding in the backend
what can happen now in the backend once you trigger a lifecycle is
... backend class definition code... Component component; .. setters and getters for the component
public void onValueChange(ValueChangeEvent evt) { component.setVisisble(false); }
for instance or getValue or whatever see the difference?
also <t:component value="#{bean.value}"/>
does a struts like autofill of model values but the main difference is you normally do not have to take care about the data conversion yourself. (So no need for hanving event triggers in normal cases which need a simple submit)
The fact that you have full access to the components and to a full blown event system with the possibility to alter the page on the fly during the cycle stage is reason enough to compare it more to swing or qt than to struts.
something like page.add(new Button... is possible in jsf on the backend side.
|
|
Message #202739
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Gavin seems to really dig JSF
Is it fair to say JSF is more like ASP.NET than Struts?A major telco in Australia is re-writing its ASP.NET based online application in Java.Using JSF? No.The plain old Struts! So? Struts is a very well established technology. JSF has not been around for that long. How is this evidence for or against JSF being like or unlike Swing or QT? Even if I like JSF, this is a political and technical decision, they had reasons to switch from ASP.net (probably one huge issue was the client side state saving, the other one maybe the lockin into windows). You don't have to use __VIEWSTATE in ASP.NET. A friend of mine works in a company that runs a car parts warehouse and has a lot of b2b and b2c transactions. They do not use __VIEWSTATE, instead they store everything in database. Yes, they access database on every request. But database clustering existed long before J2EE clustering, so most wrinkles have been straighten out. Another benefit is that they do not have session replication issues and do not need session replication software. Their application is stateful, make no mistake about that. They simply store the state in the database instead of using session or __VIEWSTATE field.I am not too familiar with ASP.net, but given the fact that both follow similar goals JSF probably is closer to ASP.net than to Struts.(with some advantages it already has over ASP.net, like opensource implementations, probably more components on the freeware opensource side, more choice in development tools, easier handling without tools, and server side state saving without a back button problem, to avoid streaming of hundreds of kilobytes state saving data over the net) * There is one implementation of ASP.NET, and this fact makes the life of Windows devs much easier. * A lot of components, free, shareware and commercial. Component business for ASP.NET is far more established than for any of the Java frameworks. JSF seems to pick up in this area. * There is one development tool, but there are add-ons too (how is this different from Eclipse besides the price?) * Stateless applications are possible by switching view state completely off. Handling view state on the server is not a problem too. Instead of default view state implementation one can use Page::SavePageStateToPersistenceMedium, Page::SavePageStateToPersistenceMedium methods and LosFormatter class to store view state in any stream including disk file or database.
|
|
Message #202742
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
what component model?
i just read through Rick Hightower's JSF tutorial at http://www-128.ibm.com/developerworks/library/j-jsf1/ There's a controller, a model object, an xml config file, and a jsp page. Um, what's so different about this from a request/action based framework? First, read the conclusion... There is a lot less configuration and the configuration is more intuitive (than Struts).
Second, this was the first article in the series. To see more about components and event handing you need to see the second article (or was it the third).
It is a good intorduction series (I base this on the many emails I recieved thanking me...yes I am patting myself on the back...someone has to). Keep plugging. There are more ahas to aha.
|
|