DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
  1. DZone
  2. Coding
  3. Java
  4. App Engine Java development on NetBeans

App Engine Java development on NetBeans

Veera Sundar user avatar by
Veera Sundar
·
Apr. 18, 11 · Interview
Like (0)
Save
Tweet
Share
17.78K Views

Join the DZone community and get the full member experience.

Join For Free

If you just started with App engine development, you might be having a feeling that Eclipse is the preferred IDE. And, Google also has offered its official plug-in to Eclipse IDE alone.

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 IDE. Here’s how you can start developing your app engine apps on NetBeans.

Installing nbappengine plugin in NetBeans

  1. First thing first: Install the latest Netbeans (6.9 at the time of typing these characters) and open the IDE.
  2. Go to Tools -> Plugins -> Settings and click “Add” button to add the nbappengine update center URL.
  3. Now give a name and the URL of the update center according to your version of Netbeans.
    • Netbeans 6.9: http://kenai.com/downloads/nbappengine/NetBeans69/updates.xml
    • Netbeans 6.8: http://kenai.com/projects/nbappengine/downloads/download/Latest_NetBeans68/updates.xml
    • Netbeans 6.7: http://kenai.com/projects/nbappengine/downloads/download/1.0_NetBeans671/updates.xml
  4. 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.

  1. Download the App Engine SDK for Java and extract the zip contents to your favorite location.
  2. 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“.
  3. 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.
  4. 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.

  1. In Netbeans, select “File -> New Project -> Java Web -> Web application” and follow the wizard to create the project.
  2. 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.
  3. When you run/debug this application, Netbeans will start the app engine server (Jetty) and will deploy your application there.
  4. 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.

 

From http://veerasundar.com/blog/2011/04/app-engine-java-development-on-netbeans/

app NetBeans Engine Java (programming language)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Building a Real-Time App With Spring Boot, Cassandra, Pulsar, React, and Hilla
  • gRPC on the Client Side
  • Container Security: Don't Let Your Guard Down
  • Spring Boot, Quarkus, or Micronaut?

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: