Mobile JSF Library

Ericsson (yes, not Sony Ericsson) surely surprised me with the release of a framework called Mobile JSF Kit , the kit comes complete with documentation.

Quote from the site

The Mobile JSF (JavaServer Faces) Kit consists of the MobileFaces core library, a developer’s guide and sample applications to help Java EE developers to rapidly develop internet mobile applications.

Skimming through the doc it seems to contain quite allot of nice features, like detecting devices although it especially states that detecting screen size are not possible.

So is the time right to face your enterprise app to the mobile platform? This certainly could make things easier.

Comments

6 Responses to “Mobile JSF Library”

  1. prita_an on March 21st, 2007 5:31 pm

    Can we add Mobile JSF Library to Netbeans 5.5 ?

  2. conny.lundgren on March 21st, 2007 5:42 pm

    I haven’t tried, but I can’t see anything hindering you from using it with NetBeans (It’s just a jar just like any other custom renderer/library).

    I guess the real question is what kind of support you would like in NetBeans.

    I will play around with the framework shortly, and post my findings here.

  3. Daning on March 29th, 2007 8:52 am

    We will publish a NetBeans plugin for Mobile JSF in near future.

  4. Darien Alvarez on February 18th, 2008 12:21 am

    You can combine Mobile JSF with WURFL and WALL to solve the problem of the screen size… I thing that mobile jfs is pretty cool

  5. Matthias Wessendorf on November 21st, 2008 4:01 pm

    Hi Conny,

    Trinidad has support for “mobile JSF” as well:
    -http://myfaces.apache.org/trinidad/devguide/mobile.html
    -http://myfaces.apache.org/trinidad/devguide/mobileSkinning.html

    Greetings,
    Matthias

  6. Giridaran on April 29th, 2009 3:38 pm

    Hi Conny,
    i am developing a web application using mobile jsf. i am getting an exception when i try to access from Blackberry devices. i can able to access login page successfully but after enter my credentials then click the sign in now system throws the follwing exception.

    Feb 10, 2009 3:41:54 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet facesservlet threw exception
    javax.faces.application.ViewExpiredException: viewId:/pages/mobile/login.jsp – View /pages/mobile/login.jsp could not be restored.
    at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:187)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.ericsson.sn.mobilefaces.MobileFacesServletFilter.doFilter(MobileFacesServletFilter.java:96)
    at com.efici.eficash.client.filter.WapRequestFilter.doFilter(WapRequestFilter.java:37)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    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.core.StandardHostValve.invoke(StandardHostValve.java:128)
    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:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source)

    I dont have any idea why its coming.. i am getting the same exception when i open the login page in browser and kept idle for 1 or 2 mins (but session time out configured as 30 mins)then login.

    can you help me out for this
    Thanks,
    Giri

Leave a Reply