This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSF and the fly likes Moving out of JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Moving out of JSF" Watch "Moving out of JSF" New topic
Author

Moving out of JSF

Yogesh Gnanapraksam
Ranch Hand

Joined: Dec 17, 2009
Posts: 133
Hi,
I have been working on JSF and Oracle ADF for the past 3 years and have gained a lot of experience in these frameworks.
Now it has been decided that my project will start using GWT for application development. I am not sure whether to take up this transition or stick to JSF application development.
Will GWT add to my skillset or will it be something like apples and oranges on my resume.
Kindly advise on what would be good for my career.

Regards
Yogi
Dieter Quickfend
Ranch Hand

Joined: Aug 06, 2010
Posts: 359
Couldn't hurt to know both, in my opinion. I honestly can't see a downside to that.


Oracle Certified Professional: Java SE 6 Programmer
Oracle Certified Expert: Java EE 6 Web Component Developer
Oracle Certified Expert: Java EE 6 Enterprise JavaBeans Developer
Yogesh Gnanapraksam
Ranch Hand

Joined: Dec 17, 2009
Posts: 133
that is encouraging.Thanks Dieter.
Brendan Healey
Ranch Hand

Joined: May 12, 2009
Posts: 218
It's difficult to have any real structure to your JSF code. I use every trick I can find, templates,
ui:include, ui:param etc... But every page I design/develop I seem to start from square one,
any code reuse comes from cut&paste. I also find it incredibly hard to stop myself from making
the same stupid mistakes.

I got so fed up with it that I spent 3 months working on server-side development, and what a
joy, being a proper OO software engineer again. Doing things right. But here I am again back
in JSF mode and surprisingly enjoying it. Things seem to be more fluent, we've had a few more
bug fix releases, just don't even think about trying to be ambitious with composite components!

If I'd not already got such a large body of code down I'd have been very tempted to go with GWT,
and I'd be happier if Oracle could afford more than 3 people working on JSF/Mojarra. Life is rarely
perfect.
Jay Raithatha
Greenhorn

Joined: Jun 06, 2011
Posts: 6
Hello i come to know that you spend a lot time in java server faces i am new in it.

if you help me to solve it out it will be very helpful to me.

i use Marven ,tomcat 6.0 and windows 7.

i build my application and it's war file and also able to deploy it successfully but when try to start it got error and it's log is as below :

Jul 10, 2011 4:48:41 AM com.sun.faces.config.ConfigureListener contextDestroyed
SEVERE: Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:804)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:104)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:305)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4011)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4615)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4512)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1251)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:612)
at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
at java.Lang.Thread.run(Unknown Source)



and a message on the tomcat like FAIL - Application at context path /jsfreg could not be started.



i think this will be easy for you i found it very difficult please help me.


Regards,
Jay
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Moving out of JSF
 
Similar Threads
GWT Applications - Questions for the author
Questions about the future of JSF (comparing with GWT, JavaFX)
GWT Dev mode Changes in the Java class is not reflecting when refresh the browser
What is the use of gwt-api-checker.jar in GWT 2.0.3
GWT application for a Heavy swing application