In the previous recipes, Adding WildFly support to NetBeans and Adding TomEE support to NetBeans, we saw how to create and manage instances of WildFly and TomEE, respectively.
In this recipe, we'll see how to create web applications and deploy them against our chosen application server. For this recipe, we'll use TomEE.
NetBeans supports both Ant and Maven for creating web applications. In this recipe, we'll create a project using NetBeans built-in Ant project support.
To complete this recipe, you need to have a valid installation of TomEE configured within NetBeans. If you do not have this, follow the earlier recipe, Adding TomEE support to NetBeans.
Perform the following steps: