You can deploy the application as last step of the building process (copy, FTP, SCP and WebDAV? protocols are supported). Use the project properties to configure the deployment.

Source: NetBeans User FAQ