Oracle Blog

Arun Gupta's Weblog

Java EE 7 and NetBeans IDE - Early Support Available (TOTD #199)

NetBeans IDE provides the best
out-of-the-box experience for Java EE development, deployment, and
debugging. Early
builds of NetBeans have already started providing support for
Java EE 7 features such as

It would be very nice if Netbeans comes with a visual facesFlow Editor like faces-config already have. Something like JDeveloper have for ADF-Task-Flows. With something like this you can see the flow very easy. Sorry for my english!

It would be very nice if Netbeans comes with a visual facesFlow Editor like faces-config already have. Something like JDeveloper have for ADF-Task-Flows. With something like this you can see the flow very easy. Sorry for my english!

@Sebastián, thanks for the suggestion, it is an interesting one! This is not something we can do in the short term (next few months - we already have very many things on our todo list), but we'll keep it in mind so we can implement it in a future release.

Hi Arun,
I downloaded the netbeans IDE Dev with JaveeEE 7 which comes with JSF 2.2 and tried to create a POC web application with facesFlow.
It didn't recognize "@FlowDefinition", so I added latest version of java-faces-api on the classpath. Also, I have the latest glassfish 4 as the backend server.
When I run the application, it gives "WELD-001303 No active contexts for scope type javax.faces.flow.FlowScoped" error . How to fix this?
BTW, I am using the same flow example you have presented in other maven project sample (https://blogs.oracle.com/arungupta/entry/jsf_2_2_faces_flow).
Also I can see a list of exceptions in gf console viz.
org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class com.sun.faces.scripting.groovy.GroovyHelperImpl$MojarraGroovyClassLoader

I have installed NetBeans-dev-web-main-javaee7-142-on-20130306-full.zip and glassfish-4.0-b78.zip. I have also registered GF 4 with Netbeans. I am trying to create a Maven web project to generate a web project. The trouble is during generation it tries to download a version of archetype that doesn't even exist in repo (webapp-javaee7:0.2-SNAPSHOT) and it fails.
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.codehaus.mojo.archetypes:webapp-javaee7:0.2-SNAPSHOT) -> [Help 1]