DataServices 4.6 – Samples Application

As I mentioned in my previous post, DataServices 4.6 Preview is out on Adobe Labs. DataServices comes with an application called “dataservices-samples” and as the name suggests, this is a nice collection of sample applications that you can explore on your own. Once DataServices is installed, here are some quick steps to start up dataservices-samples:

1. Start the bundled Tomcat: From the terminal, go to “tomcat/bin” directory under where DataServices is installed and type “catalina.sh run” or “catalina.bat run” on Windows. After a few seconds, you should see something like this on console:

[Data Services] [WARN]  ******* Data Services Beta Expires on Dec 15, 2011 *******
Nov 3, 2011 9:07:54 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 37026 ms

2. Start the bundled HSQLDB: Go to “sampledb” folder and type “startdb.sh” or “startdb.bat” on Windows. After a few seconds, you should see something like this:

[Server@9d04653]: 2011-11-04 06:10:15.000 HSQLDB server 1.8.0 is online
[Server@9d04653]: To close normally, connect and execute SHUTDOWN SQL
[Server@9d04653]: From command line, use [Ctrl]+[C] to abort abruptly

3. Hit the landing page at http://localhost:8400/dataservices-samples/ and you should see the landing page:

That’s it! There are bunch of new and old samples. I encourage you to play with the “HTML5/JS, iOS, Android Client SDKs” samples, they are pretty cool!

In the next post, I’ll walk you through a Flex Remoting sample and then we will convert that sample to HTML/JavaScript utilizing our new JavaScript Client SDK.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s