The new MVC, well discussed by Ed Burns here, has a demo in Manfred Riem's blog here, and looks like this as a Maven-based application in NetBeans IDE:
Working on some tools in NetBeans IDE to support the above, e.g., a project wizard that generates the basic artifacts above.
I am trying to get Manfred Riem's example to work, but get
java.lang.IllegalArgumentException: Cant create Lifecycle for id: com.sun.faces.action.ActionLifecycle
and
Caused by: java.lang.NullPointerException at javax.faces.webapp.FacesServlet.uninitHttpMethodValidityVerification(FacesServlet.java:503)
In WEB-INF/faces-config.xml:
<factory>
<lifecycle-factory>com.sun.faces.action.ActionLifecycleFactory</lifecycle-factory>
</factory>
Thanks!
Great to hear! And maybe you could drop me a mail (geertjan dot wielenga at oracle dot com) because it might be nice to be in touch with some early adopters and you could try out early versions of the NetBeans plugin I'm working on.
The reason why you need to specify the LifecycleFactory is because we did not want the default runtime to kick in the action style.
Can you kindly direct me to a tutorial that has a complete development of a web application in Java EE using EJBs and JSF. I am new to Java EE and would like to Develop my web application in JSF and EJB (without using JPA but instead executing mysql procedures) but i dont know where to start. Thank you
Here's one: https://netbeans.org/kb/docs/javaee/cdi-intro.html I'd recommend you reconsider using JPA.
Sir, the problem is that i dont have a choice. The system was already implemented in PHP and I am just migrating it to Java EE and the DBAs have just offered me Stored Procedures to execute for the purpose of fetching and storing data.
OK, the best place for architecture discussions is not a blog. Can you join a mailing list and have your discussion there? Find a Java EE mailing list and join it.