I've tried to study struts and I've looked at JSF and I think that:
-Why do we have to use them? Just to build HelloWorld web application, we have to provide so much xml. So what are their advantages? Explain to me please! :)
-Is it real that many people using struts have migrate to JSF?
For simple, basic and small web applications then MVC frameworks like struts and JSF are overkill. If you have ever developed any larger web applications though you will know that it soon becomes unweildy to create simple pages that statically link together. By using something like JSF or struts it allows you seperate your flow control from your presentation and business rule tiers so that during development it is much easier to redesign your application or change the flow or its use without adversely affecting a large chunk of code. This means that with larger applications the overhead and work required for continued development is much smaller WITH the use of JSF or struts.
Another good resource for all things JSF is http://www.jsfcentral.com/
Oh and here is an article from the creator of struts about JSF vs Struts that answers your questions about migration between struts and JSF
Oh and here is an article from the creator of struts about JSF vs Struts that answers your questions about migration between struts and JSFoops forgot the URL:
new powerfull J2ee frame work for deploy all project with very strong support team. Hello! I'm Steve Brown, a java developer. A few days ago, I encounter a new Java frame work named Shine. I read it's getting started document and that motivated me to test it. I really enjoyed it, when I worked with it more! The Shine's Developer had written some documents about it, in Sourceforge.net & J2sos.org. The documents said that Shine: 1. Is a full java service oriented frame work. 2. Is a JWMS (Java Web Model Service architecture) frame work for web base projects. 3. Includes Ajax, MVC, Service Oriented Scope. So I tried to implement a simple sample in order to know it better. I found out that shine has a different view point about Service & to be Service oriented, that was very interesting for me! Shine has deployed on JWMS architecture that is exclusive to itself. Furthermore it supports MVC architecture too. As another advantage, Shine doesn't have the complexity of the other frameworks (for example FormBean component in Struts, …) and let developers to work with a very strong but simple operational process. The other advantage is full Ajax supporting of Shine. The simplicity but the power of Shine's validation is one of its advantages too. After working with Shine a little more, I realize something interesting in it. In addition to the Shines Special capability which I said, it has complex capabilities of Tapestry, Struts, Servlet, Jsp & … . I had developed some big java application projects. And as a professional developer I think Shine has some disadvantages, too. Shine is at its first version & doesn't have enough documents, Also it isn't experienced by developers. So it isn't reliable enough to develop the projects with it. And this is the reasons that don’t let me to deploy a real project with it. Time will show us, whether shine is so strong to show itself as a powerful framework among the others or not?! I don’t know, maybe Shine has some other advantages or disadvantages too. I really hope to learn about it more & will be glad if you let me know about your experiences touching Shine framework. and for you my friend. you say you can not find technical document about a j2ee frame work. this frame work have a sevral document like connection to database with jdbc and hibernate,ajax sample and ... shine frame work`s support team web site is www.j2sos.org good luck my friend. My email: email@example.com