NetBeans IDE has features for running enterprise applications. An Enterprise Application needs an application server or J2EE container to deploy the jar/war files. By default NetBeans come with a Sun’s application server but other application servers can be configured as well.
Here I will take example of configuring JBOSS server.