Here[
^] is a page on deploying desktop applications.
Here[
^] is another page, this one for deploying web application.
Do these help? Please note that I found these with two google searches, the first using the search string "deploy netbeans project" and the second by searching for "deploy netbeans web project".