Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Simple App: Quoats

DZone's Guide to

Simple App: Quoats

· Java Zone
Free Resource

Managing a MongoDB deployment? Take a load off and live migrate to MongoDB Atlas, the official automated service, with little to no downtime.

For my first real project on Google App Engine, I thought I’d try something simple and small. Quoats, what I’ve decided to call it, is an idea that’s been sitting in the back of my head for a long time.

Quoats is a website app that displays nothing but a single sentence from a random website found on the Internet. The website is random as is the sentence chosen. I guess I’m hoping that it’ll be something like a 21st century Yi Jing in that based on your intention, something profound may appear :)

There are several small things to figure out, such as

  • What’s the best way to get a random URL on the web?
  • How do I select only a single sentence randomly from the page using Java?
  • How will this all work with Google App Engine?

I’m green, I’ll admit it. I’m new to Java and Google App Engine. But, I’ve created the app space on Assembla and shared the source code* so you can follow along if you are looking to see how it’s going. I’ll be sharing my experiences and what I’ve learned about both Java and Google App Engine on this blog with the end goal being turning Quoats into a sample app newbies can use to learn how things work.

* I’ve built the project off of the source code from the Guestbook sample Java project that is included with the Google App Engine plugin for Netbeans. Does anyone know the license of that project? I’d like to release the source in accordance with that license.

 

From http://rocky.developerblogs.com/projects/sample-projects/simple-gae-app-quoats/

MongoDB Atlas is the easiest way to run the fastest-growing database for modern applications — no installation, setup, or configuration required. Easily live migrate an existing workload or start with 512MB of storage for free.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}