JavaEETestingBlitz

Java EE Testing Blitz

Contents


The Java EE testing blitz is an effort to test the Java EE functionality in NetBeans 6.8 by a larger number of developers and QA engineers, even those without prior experience with Java Web or EE development. The focus is both on new features in NetBeans 6.8 (Java EE 6 with GlassFish v3) and existing features (Java EE 5, web frameworks, HTML/JSP/CSS/JavaScript editing, servers other than GF v3, ...)

If you have any questions about the functionality or the testing blitz, feel free to contact us:

Environment setup

  • Please test a recent daily build from http://bits.netbeans.org/netbeans/trunk/nightly/
  • If you install the build using the installer, you will also get GlassFish v3 promoted build, which can be used for testing. If you use the zip build, you will need to register a server installation. You can download the server from here:

Features to test

New features in NB 6.8

The new features in NetBeans 6.8 are related to the Java EE 6 support. In particular, the following technologies are new in 6.8:

  • JavaServer Faces 2.0
  • Java Persistence 2.0
  • EJB 3.1
  • JAX-RS 1.0 (REST services API; well this was already present in NB 6.7, but it is a new Java EE 6 technology, and was improved significantly in NB 6.8)
  • Servlet 3.0
  • GlassFish v3 support
  • The Ant-based project types as well as Maven have support for Java EE 6

For a more detailed description of the new NB 6.8 features, see:

Existing features

To learn about existing features that are already available in NetBeans 6.7, see the feature pages on netbeans.org: http://www.netbeans.org/features/web/index.html, and in particular, the sub-pages for web applications, web services, Ajax/JavaScript and Java EE (EJB).

What aspects to look at

Please look at all the stages of the development lifecycle, i.e project creation/import, creating components, editing, building, deployment, debugging, profiling. Also, In Java Web/EE development, databases are a dominant aspect of the development cycle, so database features (MySQL, JavaDB, Oracle) are very important as well.

How to test

There are many ways how you can test the functionality.

Follow a tutorial

There are many tutorials that explain the existing features, and some tutorials focused on new features:

Try sample projects

You can either:

  • Try the sample projects included with NetBeans, or
  • Import more projects that exist on the web (check out the sources and open the project), then test/debug/profile/tweak them:

Note: many projects existing on the web already have a nbproject directory, but often they were created with NetBeans 6.7. It may be a good idea to delete the NetBeans metatada and re-import them from scratch.

After creating/opening a sample project, you may want to test it, debug it, profile it, tweak and modify it, ...

Create a project from scratch

You may want to create a new Ant- or Maven-based project and try to develop an end to end web application:

  • a CRUD application which accesses a database, typically using Java Persistence and JSF (with or without EJB 3.1)
  • A web application with rich UI functionality using JavaScript frameworks/libraries such as jQuery, YahooUI etc.
  • A web service (REST or SOAP), possibly with database backend
  • A client for an existing web service (either one developed in NetBeans, or a 3rd party service)
  • A web application that uses a 3rd party web framework such as Spring, Hibernate, Wicket, Google Web Toolkit etc.

For inspiration, you may want to look at the example applications listed above.

Filing issues

When filing issues, please use the javaee-blitz status whiteboard. File both defects and enhancement/feature requests. Please try to select the right category:


Learning resources

To learn about the basics of Java Web and EE development, you can also use the following resources, in addition to the tutorials listed above:

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo