Following Ted’s advice I de-installed Glassfish V3 (I already had installed JSF 2.0 update) and re-installed to get back the earlier version of JSF (1.2)
Glassfish V3 with updated JSF 2.0
Initial installation of V3 prelude with JSF 1.2
This time I can place a couple of IceFaces components (without binding or any configuration) and run the project under V3 prelude.
Now, I am going back to my CRUD sample project I initially wanted to explore. Placing a datatable on the JSF page. The datatable is shown.
The problem start after I bind to a datasource (by dropping the table onto the datatable)
Drag and Drop table on datatable
Running the project gets me couple of errors, I need to sort out now.
SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /Page1.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent
WARNING: JSF1053: (Listener: com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.afterPhase(), Phase ID: RENDER_RESPONSE 6, View ID: /Page1.jsp) Exception thrown during phase-listener execution: com.sun.rave.web.ui.appbase.ApplicationException: The cachedRowSet property is null
I started using Glassfish V3 prelude for development. By the time my development cycles nears production release, V3 should be officially released. I downloaded/activated the ICEFaces plugin for NB 6.5 and created and run the simple CRUD sample which fails, despite successful deployment.
undeploy?name=CollaborativeCRUD running on GlassFish V3
undeploy?name=CollaborativeCRUD completed on GlassFish V3
In-place deployment at X:\svn_NOTYET_JAVA_VAR\CollaborativeCRUD\build\web
deploy?path=X:\svn_NOTYET_JAVA_VAR\CollaborativeCRUD\build\web&name=CollaborativeCRUD&force=true&properties=keepSessions=true running on GlassFish V3
deploy?path=X:\svn_NOTYET_JAVA_VAR\CollaborativeCRUD\build\web&name=CollaborativeCRUD&force=true&properties=keepSessions=true completed on GlassFish V3
BUILD SUCCESSFUL (total time: 7 seconds)
ICEsoft Technologies, Inc.
ICEfaces 1.7.2 SP1b
Build number: 1
Creating this error when running the project
SEVERE: StandardWrapperValve[Persistent Faces Servlet]: PWC1406: Servlet.service() for servlet Persistent Faces Servlet threw exception
I dont have a solution yet, but to continue with V2 and wait for the production release 1.8 of ICEFaces which will support V3 fully (planned for this February).
Looking around for a nice browser based application framework I stumbled upon 3 opensource products that are somehow integrated into the Netbeans and Glassfish world.
- Icefaces (Woodstock migrated here) | link
- ZK direct RIA | link
- JMaki / Dojo | link | link
I will evaluate these 3 and report about the results here. While Icefaces and ZK are clearly enterprise enabled frameworks, JMaki is a rather consumer application orientated framework. I might be wrong with this statement, but this is my first tast bitting on it. ZK seems closer to Spring and Tomcat than Netbeans and Glassfish.