Java API for RESTful Web Services Now Final


The Java API for RESTful Web Services, JAX-RS (also known as JSR-311), has been approved by the final ballot of the SE/EE Executive Committee.

JAX-RS allows you to use @GET, @POST, @PUT, @DELETE, and other annotations to describe RESTful style web services in a manner similar to the way that JAX-WS does for SOAP and WSDL-based web services.

The java.net project page for JSR-311 is here. The reference implementation is called the Jersey project, but other implementations exist in the Restlet framework, JBoss RESTeasy project, and Apache CXF project.

Yahoo Lets You Be BOSS


In an attempt to beef up its ad-search business by opening up its search technology, Yahoo has launched a new program called BOSS (Build your Own Search Service). The move is part of the new "Yahoo Open Strategy", a strategy that aims to attract more users and developers to Yahoo's technology and services by opening them up. It's not a totally free lunch, of course, as traffic over a certain "query threshold" will require some type of agreement with Yahoo, either hosted ads, revenue, or some type of exclusivity agreement.

With this first release of BOSS developers can fetch search content for Web, News, Image, and Spelling Suggestions. The API itself is a RESTful web service, with the option to receive data back from the service in JSON or XML formats. Full documentation on the search API is here.

Ext GWT 1.0 Released

The Ext JS team has released version 1.0 of its SDK for developing GWT applications with the Ext JS library. Despite some controversy around Ext's licensing strategy (namely the switch from LGPL to GPL), Ext GWT is currently one of the better integrations between a Java web application framework and a JavaScript framework.

Ext GWT 1.0 has been compiled and tested against GWT 1.5 RC1. Downloads are located here.

TubeSpy Now Available in 23 Languages

With the recent addition of 10 languages to the Google AJAX Language API, we have published an update to TubeSpy that includes support for Bulgarian, Croatian, Czech, Danish, Finnish, Hindi, Norwegian, Polish, Romanian and Swedish.

TubeSpy, a recent addition to Ajaxonomy Labs, is a YouTube Spy allowing you to see what videos others are watching on YouTube right now! TubeSpy was built using jQuery, the YouTube API, and more recently, the Google AJAX Language API to add support for other languages.

Visit TubeSpy

FriendFeed Launches API


You have probably heard quite a bit about FriendFeed. The service creates a feed of your activity on multiple social networks so you can share it with friends. Today they have released an API for the service so you can start creating some cool mash-ups using the service.

The API offers PHP and Python libraries (unfortunately, if you are using Ruby or Java there are no provided libraries yet) and allows you to receive data in JSON, XML (a simple form of XML), RSS and Atom formats.

You can get more information about the API here. Also, Read Write Web has written a very good post about the API and you can read it here [they have some great articles, check out their post on ourTubeSpy application :-) ].

The API will possibly make some very interesting mash-ups. I'm thinking about using it for the next application for Ajaxonomy Labs (more on that in the near future). I'd love to hear your thoughts on the API and the FriendFeed service (as always, you can leave them in the comments or you can write a blog post about it on this blog with your free Ajaxonomy account).

Apple's iPhone SDK is Finally Here


If you have an iPhone and are a developer, you have probably thought about writing a cool application for this phone. Well, today at the iPhone SDK press conference Apple announced that they have released the iPhone SDK.

You can watch the Keynote here.

Or if you prefer to read about it you can read a live blog about it here.

Below is an excerpt from the blog that I thought was particularly interesting.

10:19AM - "Ok, I'm here to tell you about how developers can build great apps on the iPhone. Before I get into the SDK, I want to give an update on web apps. This has been incredibly successful, there are over 1,000 web applications for the iPhone."

He's highlighting some web apps, including Facebook. Yep, great, let's get to the SDK dude.

"Already the iPhone is the most popular mobile device with Bank of America -- it accounts for 20% of ALL mobile banking with them. But today what I really want to tell you about is the native iPhone SDK."

10:21AM - "Starting today... we're opening the same native APIs and tools to build our iPhone apps."

"3rd party developers can build native iPhone apps using the same SDK that WE do. There are a lot of pieces that make up the SDK in a set of APIs -- that suits us well, Apple is a platform company. We have the most advanced platform in the world in the form of OS X. It's comprised of four layers..."

"The core OS, core services, media layer, and Cocoa -- to build the iPhone OS we took the bottom three layers to form the iPhone OS. Cocoa is interesting and it's the best app framework out there, but it's based on a mouse and keyboard. So we took everything we knew.. and built Cocoa Touch."

10:22AM - "This here is the architecture of the iPhone OS -- let me dig a little deeper. We'll start with the kernel. This is the same OS X kernel based on the same project and same source files of OS X; the networking layer we use is the same BSD networking layer we use on OS X. And power management... Apple has more than a decade of experience in advanced power management."

10:25AM - "We started with those advanced power management techniques and went beyond that -- the core OS power manages all of the chips, all the sensors, your application, automatically. Now, core services, I'll just highlight a few. We have a complete set of APIs for your app to talk directly to the contacts DB on the iPhone, and an entire database API with SQLite.

"Core Location - we've taken that and patched it into an API so you can create location-aware applications. The media layer... starting with Core Audio, this is the low-level audio layer; on top of that we've built OpenAL, an industry standard."

10:27AM - "Video playback: seamless video playback, uses our h.264 codec, built right in." So we can add new video codecs right? RIGHT? Sigh. "Core animation... OpenGL ES, the embedded version of OpenGL and a screamer for 3D graphics on the iPhone. In fact, this entire layer is heavily hardware accelerated."

10:29AM - "Cocoa Touch - our advanced touch event system; the accelerometer - what you might not know is that it's a full 3-axis sensor, and you can use that in your apps as well. ... this is the architecture for the iPhone OS, the most advanced mobile platform out there. We think we're years ahead of any other platform. We borrowed heavily from OS X -- we started on the shoulders of a giant."

"We have a comprehensive set of tools to help developers create and debug apps -- let's start with Xcode. We started there and enhanced it to support the iPhone; now we use Xcode to build the OS and apps for the iPhone. What is Xcode? It starts as a great source code editor -- it knows all about the iPhone SDK, will code-complete the APIs for the iPhone SDK."

10:30AM - "... it also integrates directly with source control management system, subversion, cvs... integrates with iPhone SDK documentation, and also has a nice debugger -- it's also a great remote debugger. Plug an iPhone in, run the app live on your iPhone, and be debugging it from your Mac. This is incredibly powerful."

10:32AM - "The next tool I'd like to talk about is Interface-Builder -- this is the tool you'll use to... wait for it... build your application interface. We have the complete library of iPhone interface assets, just drag them onto the canvas." Showing making connections from the view layers to control layers; it's also localizeable. "Next: Instruments..."

"We took those three and enhanced them for the iPhone, but there's a brand new tool: the iPhone Simulator. It runs on a Mac and simulates the entire API stack on your computer."

10:34AM - "So, we have a fantastic set of tools in addition to an amazing set of frameworks." Demo time. iPhone Simulator gets going -- looks identical to using an iPhone. Tiny bit creepy, actually.

Below is the blurb that Apple puts on their site about the SDK.

The iPhone SDK includes the Xcode IDE, Instruments, iPhone simulator, frameworks and samples, compilers, Shark analysis tool, and more.

You can download the free SDK here.
Please note the technical requirements are an Intel processor-based Mac running Mac OS X Leopard

You can get more information about the SDK here.

Unfortunately, I don't have access to a Mac, so I won't be able to make any applications for the iPhone (although, I haven't tested the del.icio.us Spy or Digg Burry Recorder on it yet, so maybe I've already made an iPhone application). However, if you have access to a Mac and want to make iPhone applications you can now go for it. If you do create the next killer iPhone application let us know about it by writing a blog post about it using your free Ajaxonomy account.

Yahoo! Live and It's API


Amidst all the news swirling around about a hostile Yahoo! takeover, and the battle of the titans (Microsoft & Google), Yahoo! has released a new service - Yahoo! Live - a personal live streaming video service. [read more about Yahoo! Live at their blog]

Yahoo released an API [a set of Web Services and a couple of embeddable Flash objects] along with this new service. With this API, you can:

  • Find out who's broadcasting right now
  • Get data about past broadcasts
  • See snapshots of past broadcasts
  • Embed live video in your blog or web page

Do keep in mind that the service is currently in limited beta and is not always available.
You may get a message stating "Whoa! Yahoo! Live is an experimental release - we can tell you like the experiment! We're tuning now. Refresh, wait a few seconds, or click here to try again."

Read more about the Yahoo! Live API at the Yahoo! Developer Network and be sure to check out the Yahoo! Live Randomizer demo using REST/JavaScript.

Syndicate content