App Engine Java Development with Netbeans
But what about the people who are not using Eclipse? Of course, you can always do a command line development but who does that these days!?
For Netbeans users, the plug-in nbappengine brings the Java app engine development to the Netbeans platform. Hereâs how you can start developing your app engine apps on Netbeans.
Installing nbappengine plugin on Netbeans
- First thing first: Install the latest Netbeans (6.9 at the time of typing these characters) and open the IDE.
- Go to Tools -> Plugins -> Settings and click âAddâ button to add the nbappengine update center URL.
- Now give a name and the URL of the update center according to your version of Netbeans.
- After adding it, now come back to the âAvailable Pluginsâ tab and do a search for âGoogleâ. Select all the plug-ins that are related to the App Engine and click install button.
Configuring App Engine SDK with Netbeans
Now youâve installed the nbappengine plugin on your Netbeans IDE. The coming steps will tell you how you can configure the plugin with the App Engine SDK.
- Download the App Engine SDK for Java and extract the zip contents to your favorite location.
- In the Netbeans IDE, go to Services window (Ctrl + 5 is the shortcut key) and right click on the Servers menu and select âAdd Serverâ.
- Now select the âGoogle App Engineâ from the list of servers and in the next screen choose the folder where you extracted your SDK files.
- Configure the server properties if you wish to change it and then click âFinishâ.
Creating and deploying your first App Engine app on Netbeans
Now its the time to create a brand-new app engine application.
- In Netbeans, select âFile -> New Project -> Java Web -> Web applicationâ and follow the wizard to create the project.
- In the âServer and Settingsâ page choose âGoogle App Engineâ as your server so that youâll get the app-engine related files (such as appengine-web.xml) pre-created for you.
- When you run/debug this application, Netbeans will start the app engine server (Jetty) and will deploy your application there.
- To deploy the application to the App Engine server, just right click on the project and choose âDeploy to Google App Engineâ. itâll prompt you for the Google account credentials. After you provided that info, your app will be uploaded to the cloud.
Reference : App Engine Java development on Netbeans from our JCG partner Veera Sundar.
Related Articles:




