Book Image

Writing Java Apps with Cloud 9 [Video]

By : Brett Hooper
Book Image

Writing Java Apps with Cloud 9 [Video]

By: Brett Hooper

Overview of this book

<p>In this course we'll discover how Cloud9 works, how we can get access to an environment, and how to get a workspace setup for Java application development. What’s great about Cloud 9 online IDE is that your environment is running on a virtual machine in the cloud and is fully configured for you by default in under a minute! Everything is provisioned for you in Cloud 9 with proven, compatibility-tested versions of everything, across the board. What’s also nice is you can access your Cloud environment from any browser, any where, on any device and you can share your environment with other developers for code review and/or paired programming. Working with an online IDE versus working with a typical hard-installed client is a similar experience as coding goes. But, when it comes to testing, running a localhost server, networking and some other subtle tasks, things go a bit differently because your environment is in your browser with Cloud 9. We'll learn the ins and outs of coding in the cloud and see just how efficient it can be.</p> <p>By leveraging the Cloud 9 online development environment we're on the cutting edge of application development and deployment. Let "Writing Java Apps with Cloud9" take you into the future of application development!</p> <h1>Style and Approach</h1> <p>This course introduces the concepts of a cloud-based development environment and an introduction to cloud solutions development t via a well-balanced presentation of theory and hands-on practice. This approach is intended to make the student aware of the significant concepts of 100% cloud development and provide enough experience in implementing these concepts so he/she may complete this course and feel comfortable enough with the theory, tools and technologies to begin using them immediately in real-world practice.</p>
Table of Contents (6 chapters)
Chapter 6
Hands On: Coding in Cloud9
Content Locked
Section 3
Modifying the Source
With a JSP replacing what we had working originally in a Servlet, we can now re-purpose the Servlet to provide a JSON output of our Quotes data. The servlet is already wired up and working, so changing the output code within the Servlet is where we need to modify things. - Our Servlet is already wired up, this is good - Changing the output from HTML to JSON format isn’t too difficult - We can test the JSON output in the browser