after you build the order application and it’s deployed successfully to glassfish:
click the Servers tab in netbeans
expand the Java DB node
right click on the sun-appserv-samples and click Connect
now expand jdbc:derby://localhost:1527/sun-appserv-samples [ on Default schema]
expand Other schemas
expand APP
expand Tables