File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSF
Bookmark "Moving out of JSF" Watch "Moving out of JSF" New topic

Moving out of JSF

Yogesh Gnanapraksam
Ranch Hand

Joined: Dec 17, 2009
Posts: 133
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.

Dieter Quickfend

Joined: Aug 06, 2010
Posts: 543

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: (JEE 6 Web Component Developer && JEE 6 EJB 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
Jay Raithatha

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(
at javax.faces.FactoryFinder.getFactory(
at com.sun.faces.config.InitFacesContext.getApplication(
at com.sun.faces.config.ConfigureListener.contextDestroyed(
at org.apache.catalina.core.StandardContext.listenerStop(
at org.apache.catalina.core.StandardContext.stop(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.manager.ManagerServlet.start(
at org.apache.catalina.manager.HTMLManagerServlet.start(
at org.apache.catalina.manager.HTMLManagerServlet.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11AprProcessor.process(
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(
at 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.

I agree. Here's the link:
subject: Moving out of JSF
jQuery in Action, 3rd edition