NetBeans IDE not only provides great productivity tools, but also includes sample applications
that show you complex technologies at work. These samples are provided as ready-to-use NetBeans
IDE projects and each comes with an informative readme file so you can get started quickly —
check them out!
Where to Find the Samples
You can find sample NetBeans IDE projects:
inside the NetBeans IDE: open a new project (File > New Project) and select the Samples category.
The NetBeans IDE Samples Catalog is a project on netbeans.org that contains sample solutions packaged as IDE projects. The Samples Catalog project has the following resources:
Downloads. Download a ready-to-use sample solution from the catalog! Expand the tree below and take a quick look at the available samples.
Description: NewsApp Solution project for NetBeans tutorial to create an EJB with a Message-Driven Bean and Session Bean using NetBeans IDE 6.7 Tags: netbeans solution javaee web
Description: Sample code shows Java Native Interface (JNI) application for tutorial at http://netbeans.org/kb/docs/cnd/beginning-jni-linux.html Tags: netbeans jni linux c
Description: An application which converts measurements between metric and U.S. units. Used as an example in the Enabling Java Web Start tutorial. Tags: java web start
Sample: Using Hibernate in a Java Swing Application[Download]
Description: How to get started with 3-D Java games using the jMonkeyEngine, and how to package a Java project (incl. native libraries) into one JAR. Tags: netbeans sample project 3-d java jmonkeyengine jar ant one-jar
Sample: Writing JUnit Tests in NetBeans IDE[Download]
Sample: Using Hibernate in a Web Application[Download]
Description: A zip archive of the Java EE 6 version of the solution to the Using Hibernate in a Web Application tutorial. Tags: netbeans solution javaee
Description: An zip archive of the solution to the Creating an Application Client tutorial on working with enterprise application clients. Tags: netbeans solution javaee
Sample: Creating an Enterprise Application Using Maven[Download]
Sample: Getting Started with Java EE 5 Applications[Download]
Description: Solution to the Getting Started with Java EE 5 Applications tutorial to create a 3.0 EJB with a MDB and Session Bean accessed via servlet. Tags: netbeans solution javaee
Sample: Getting Started with Java EE 6 Applications[Download]
Sample: Java Persistence in the Java EE 5 Platform[Download]
Description: A zip archive of the solution to the Java Persistence in the Java EE 5 Platform tutorial that demonstrates using Java Persistence. Tags: netbeans solution javaee
Description: archive containing sql script for creating and populating the MySQL database for use in the Consulting Agency CRUD JSF 1.2 tutorial Tags: --
Sample: Adding Entity Classes and Session Beans[Download]
Description: The project snapshot after completing the seventh unit, Adding Entity Classes and Session Beans Tags: e-commerce affablebean entity session facade ejb jpa
Description: The snapshot of the project after completing the eighth unit, Managing Sessions Tags: e-commerce affablebean session cookies url rewriting
Sample: Integrating Transactional Business Logic[Download]
Description: The project snapshot used with the ninth unit, Integrating Transactional Business Logic Tags: e-commerce netbeans tutorial affablebean transaction acid
Sample: Integrating Transactional Business Logic[Download]
Description: The project snapshot after completing the ninth unit, Integrating Transactional Business Logic Tags: e-commerce netbeans tutorial affablebean transaction acid
Sample: Connecting the Application to the Database[Download]
Description: A DDL script that generates the affablebean schema. Used for setup in Connecting the Application to the Database Tags: affablebean sql ddl script schema database
Description: This is a completed sample application from the Working With a RESTful WS Data Source In JavaFX Composer tutorial, including all UI components Tags: rest javafx composer
Description: Contributed by Rishabh Tripathi, a NetBeans community member.
SnakeWar is mobile game based on ancient war situation in which fighters are fighting face to face and the stronger one will survive. Tags: game mobilie snake snakewar
PHP
Sample: Introduction to Ajax for PHP Web Applications[Download]
Description: One archive containing the EJB, Business Application, Web Application, and Java Swing Client projects for passing and consuming JPEG files as binary data. EE5 version. Tags: jax-ws binary image jpeg
Description: Swing client for consuming binary data and displaying it as graphic images Tags: jax-ws binary image jpeg
Where to Find More Samples
In addition to the samples listed in the tree on this page, there are plenty of samples bundled with the IDE. To open the IDE bundled samples, choose File > New Project and select the Samples category.