Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Some question about JSF from a JSF newbiew.  RSS feed

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you for reading The post.
I have finished a project very successfully with Struts + Mysql + other some Opensource tag libraries. I used DAO pattern for database operation and Sitemesh for decorating.

The questions :
1-Is jsf as easy to use in real joba s Struts is ?
I Used Struts Logic / Bean widly in my project and i find them very usefull.

2-What JSF provide which is similar to Logic and Bean tags in Struts ?

3-Can i use many already available jsp tags with JSF ? tags like Opensource Charting / report creation / displaytag / ...

4-about security is there differences between them , i mean about container managed security and JASS .

5-can i do what ever i could do with Struts in JSF (about actions , forwards , errors ...)
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I recommend using JSTL tags in place of bean & logic wherever possible. (JSF is compatible with JSTL, by the way.)

There are many add-on tags provided by projects such as MyFaces.

There are different levels of how much you can use JSF. It can be used just for the components or you can also use it as controller with navigation and model updating. It can even be used with Struts, allowing you to pick and choose between the two frameworks on the portions that they overlap.

I think JSF is easier than Struts but many of the concepts such as lifecycle are a bit different. If you try to learn JSF don't expect to find its parts analagous to Struts' parts.

I never relied on the Struts framework for security, so I can not make that comparison for you.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!