Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Moving out of JSF

 
Yogesh Gnanapraksam
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 543
4
Java Netbeans IDE Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Couldn't hurt to know both, in my opinion. I honestly can't see a downside to that.
 
Yogesh Gnanapraksam
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that is encouraging.Thanks Dieter.
 
Brendan Healey
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic