In this blog entry I outline the steps necessary to deploy JAX-RS (JSR 311) RESTful web services to the Oracle Cloud. We'll be using Jersey, which is the reference implementation for JAX-RS, and JDeveloper, which is my primary Java IDE.
As a test, I re-created the HRSystem application as described in the tutorial Developing Rich Web Applications With Oracle ADF. It's more than your basic Hello World application. For starters, the HR system application accesses a database.
Many of the Oracle Java development tutorials that access a database do so against the Oracle HR sample schema. See, for example, Developing Rich Web Applications With Oracle ADF.
Looking at the MySQL web site, the instructions for Installing MySQL Community Server seem more complicated then they need to be. Maybe that's because there are no instructions for OpenSolaris (yet - I hope). Here are the easy steps that got me up and running.
Unfortunately, NetBeans 6.1 has not yet made it into the package repository for OpenSolaris 2008.05 yet. Here's how to install it.
Step 1: Install the JDK
OpenSolaris 2008.05 does not ship with the JDK, so if you haven't already done so, it needs to be installed first.
If you have an NVIDIA graphics card, OpenSolaris 2008.05 comes with a sweet NVIDIA utility for working with their cards. The only problem is that is seems pretty worthless w/out an existing xorg.conf file and the proper permissions to write to it:
Okay, so I'm not the first to document this configuration (1). However, I wasn't successful with any of the other approaches I discovered. Maybe this was because it most cases they were using a pre-release build of OpenSolaris 2008.05. So, for what it's worth, here are the steps that led me to success...
The ability to drag and drop has been a staple of desktop applications for years. With the advent of Ajax, the ability to drag and drop has now found its way to web applications. In this entry I spice up the blogging application we've been building with the ability to drag comments to the trash.
Actually, I don't know what this feature is called, but I love it when a web application gives me instant feedback on the validity of my entry. For example: