Build a RESTful Web service using Jersey and Tomcat

15 October 2009

Unfortunately, I have been WWWAAAYYY too busy to even think about doing any blogging lately, but I have been having a lot of fun trying to figure out how to make this work with Spring 3.0.0RC1:

Summary: Representational state transfer (REST) was introduced in early 2000 by Roy Fielding’s doctoral dissertation. However, in the Java™ community, it was not standardized until the JSR 311(JAX-RS) specification was finalized in 2008. The first release of its reference implementation is even later. In this article, I introduce Jersey, which is the reference implementation of JSR 311, by describing its essential APIs and annotations. I’ll also show you how you can smoothly transfer from servlet-style services to RESTful services by integrating Jersey into Apache Tomcat.


Spring 3.0 is getting closer …

26 September 2009

The word is out:

Spring 3.0.0 Release Candidate 1 Now Available

Submitted by Adam Fitzgerald on Fri, 2009-09-25 14:31 in News and Announcements

This news just in from Arjen Poutsma‘s twitter feed: Spring 3.0.0.RC1 is now available.

Download | Javadoc API | Change Log

Thank you to all of the dedicated community members that have given feedback and identified issues. Please keep up the good work as we push toward GA.


Google Apps Now Supports OpenID

3 August 2009

Now this is an interesting slant on the latest news on the OpenID adoption front:

Google has announced that its implementation of the OpenID login standard, Google OpenID Federated Login API, has been extended to support Google Apps. This will allow individuals who have accounts on a service or application deployed by a business, school or other organization on Apps to use their login credentials on any site that supports OpenID. This should greatly boost the standard’s reach but there are those in the community who are apprehensive about Google’s approach.

“Google Apps can now become an identity hub for multiple SaaS providers, simplifying identity management for organizations. For example, when integrated with partner solutions such as PingConnect from Ping Identity, the Google Open ID Federated Login API enables a single Google Apps login to help provide secure access to services like Salesforce.com, SuccessFactors, and WebEX — as well as B2B partners, internal applications, and of course consumer web sites,” Yariv Adan, Google Security Team, wrote on the Google Code blog.

OpenID aims to provide a unified login experience over various services online by allowing users to have just one set of credentials that would work on any site. There are a number of similar products, some proprietary, like Facebook Connect, but also open standards, but OpenID is the open-source project that shows the most promise. The major problem for it, and other similar products, is that most people, even the tech savvy, find it hard to understand and cumbersome to use and this has generally staved off growth.

So a move like Google’s, which boasts one million domain names on Apps, should be very welcomed by OpenID. However, it’s not what the search giant is doing but how it’s doing it that has risen the greatest number of concerns. In order to provide the functionality the company had to use a non-standard library. The extension, developed by Janrain, allows relying parties, the sites that will allow Google Apps users to login with those credentials, to redirect to the Google OpenID service.


Carnival to Introduce First Social Network at Sea

20 July 2009

Called the FunHub, Carnival‘s new on-board social networking site can be accessed from provided stations throughout the ship, via your own laptop or other wifi device, or through 10″ netbooks that can be rented while at sea:

The new Carnival Dream will take seagoing technology to a new level with the introduction of the FunHub, a comprehensive shipboard intranet portal featuring the cruise industry’s first onboard social network, along with access to a wide variety of information on the ship’s services, facilities and daily activities. The 130,000-ton vessel, Carnival’s largest ship, is set to debut Sept. 21.

Access to the FunHub will be available via 36 state-of-the-art stations located on decks 3, 4 and 5, including 12 within Ocean Plaza, Carnival Dream’s indoor/outdoor cafe and entertainment venue.

The FunHub locations will provide guests with free and convenient access to an informative ship-specific intranet portal, and an exclusive shipboard social network, both of which will be available on a 24/7 basis. Guests may also access the sites via their personal laptops or via 10-inch netbooks that are available for rent and can be used anywhere onboard.

Carnival Dream’s onboard social network mirrors the experience one finds on other social networking sites. Guests can create a personal profile and use the application to meet and interact with others onboard, send and receive private messages, create groups based on interests, and invite friends to attend shows or participate in onboard events. Guests can also create their own private or public discussion group, inviting others in their traveling party or friends they meet on board to participate.

Designed as a convenient resource for wide-ranging information specific to the Carnival Dream, the intranet portal details the ship’s numerous onboard activities, including entertainment options, daily events and youth programs. Carnival Dream’s extensive food and beverage offerings are showcased with sample menus, hours of operation and more. A filtering application is available to assist guests in planning their day.

The portal also includes weather updates for that day and the next port of call; the latest news and sports scores; biographies of key shipboard personnel; ship and cruise director announcements; fun, interactive polls; helpful three-dimensional ship maps, and a frequently asked questions section.

A year-long collaboration involving Carnival’s hotel operations, marketing, IT and guest experience departments, the Carnival Dream’s onboard social network and intranet portal are available on any guest computer or Wi-Fi enabled device free of charge.


Learn Spring and get certified as a Spring developer

15 July 2009

On Monday, the Core Spring Training + Certification Calendar was published on springsource.org. For under $2500 you get four days of Spring training and a shot at passing the certification test:

During the Core Spring course you will be trained to become an expert in the Spring Framework. After the course you will receive a free voucher to take the SpringSource Certified Spring Professional exam to become officially certified in Spring. For full details, please visit the main training information page. Here is a summary of some of the upcoming Core Spring + Certification courses:

They also have a schedule for Europe, the Middle East, Africa, Asia & Australia.


Google announces plans for its own O/S

8 July 2009

Yesterday, Google announced that it is planning on developing its own computer operating system:

Challenging Microsoft‘s grip on PCs, Internet search giant Google said late Tuesday night that it intends create its own computer operating system.

Google (GOOG) said the OS is initially aimed at netbooks — small, cheap and incredibly popular sub-notebooks — and would be an “open source” project built with and by many developers.

FROM GOOGLE: Company statement on its plans

Google is currently meeting with hardware manufacturers to aprise them of its plans, and hopes to have it on computers by the second half of 2010.

Google has denied for years any interest in taking on Microsoft (MSFT) or Apple (AAPL) with its own operating system, but Tuesday took a new direction.

In a blog post on the official Google blog, Google positioned the new Chrome Operating System as the “natural extension” of Chrome, the Internet browser Google introduced to acclaim in 2008 and which now has 30 million users.


Sears Adopts OpenID Technology

6 July 2009

OpenID goes retail at Sears and Kmart:

Sears Holdings Corp. announced today that it is the first major retailer to launch the Open ID platform for Sears Communities, which will connect over 1 million monthly visitors via MySears and MyKmart sites to major social media.

The OpenID universal login standard enables visitors to consolidate their Internet identity by providing them a single login for all of their online interactions. This is the first step toward enabling customers to log in to Sears communities using their social IDs rather than set up new accounts. This covers the most popular, familiar web sites such as Google, Facebook, MySpace, Yahoo! and Twitter.

Through this new innovation, users in the Sears and Kmart communities can use the ID and password they already have to write product reviews and can share information on products, services and solutions. Future updates planned with the OpenID platform will allow users in the communities to share their posts and product reviews with friends easily via Facebook.

“We’re constantly looking for ways to stay innovative in our online initiatives by identifying and implementing technologies that help our users navigate our communities with ease,” says Rob Harles, Sears’ vice president of community. “Our adoption of the OpenID technology helps simplify our customers’ online experience and ultimately helps us meet our goal of ensuring our customers have the most efficient shopping experience possible.”

MySears and MyKmart community sites are online destinations that give consumers a variety of ways to share in-depth information about products, helping make their purchase decisions easier. Visitors to MySears and MyKmart have the opportunity to write product reviews, post comments on the reviews of others, participate in discussion boards and post ideas for the community to vote on. Customers also have access to special offers and coupons in return for their participation in the community.


Spring Training: Every Second Person for Free!

30 June 2009

Today is the day, if you want to take advantage of this special, but it looks like a pretty good deal …

To celebrate the availability of the Spring Certification Training in six new locations, SpringSource launched another once in a lifetime opportunity.

For every person that registers for a Spring Certification Training in one of the six new locations before July 01, 2009 you get the second person for free!

During this course you will learn to:

  • Work with the Spring Inversion of Control (IoC) Container
  • Effectively use JDBC and Hibernate for data access
  • Use JUnit, Spring, stubs and mocking frameworks to effectively implement automated unit and integration tests
  • Take advantage of Aspect-Oriented Programming (AOP) to keep code clean and maintainable
  • Use Spring Security to secure web and standalone applications
  • Manage live applications with ease using Spring’s support for Java
  • Management Extensions (JMX)
  • Become a SpringSource Certified Spring Professional
  • And much more

This special is offered in the following cities, click on the links below to learn more!

August 11 – 14: Budapest, Hungary
August 11 – 14: São Paulo, Brazil
August 11 – 14: Tel Aviv, Israel
August 18 – 21: Athens, Greece
August 18 – 21: Hong Kong, Hong Kong
August 25 – 28: Buenos Aires, Argentina


SemREST Version 0.1 Released

22 June 2009

The Open Source Release Feed has an interesting announcement this morning:

SemREST Version 0.1 Released – Semantic Extension For Java RestFull Web Services

SemREST is a Java framework for the semantic extension of RESTful Web Services. Some features of the framework include: simplification of data transmission mainly in RDF – but also in other formats (generically requests/responses) for HTTP-operations GET, PUT, POST and DELETE. Simple bijective mapping of RDF graphs and Java instances simple mapping of RDF graphs on Java interfaces (implying automatic interface implementation). Extraction of RDFa data from HTML content (via HTTP GET Request)

Download

Release Notes

Project Website


Opera Unite: a Web server on the Web browser

17 June 2009

Stefan Constantinescu of IntoMobile has an interesting take on the new Opera Unite web browser that comes complete with a built-in web server:

Today Opera launched Opera Unite and with it came a lot of excitement, confusion and questions. Opera Unite is a web server running in an Alpha version of the Opera 10 web browser. This web server can be accessed by anyone on the internet and goes around firewalls thanks to Opera’s proxies. Services can be installed to run on Unite, and at launch Opera has made available a file sharing service, media player, chat service and a few others, to show what this technology is capable of. Opera Unite is, from my knowledge of internet history, the first web server to be bundled and tightly integrated inside a web browser.

The first question that comes to people’s minds is why? Why would I want to run a web server in my web browser?

Lawrence Eng, Product Analyst at Opera Software, talks about the internet’s “unfulfilled promise” of connecting people directly and letting them interact with each other without the need to play in someone else’s sandbox. Why should I have to sign up to Flickr to share photos with Jon, why should I have to install Google (NSDQ: GOOG) Talk to chat with Lisa, why is it that few corporations, who have vast monetary resources, build huge data centers and then expect us to play by their rules in their world?

The devices we use to access the internet today are merely dumb terminals that connect to servers that host the things we care about; but what exactly is wrong with that?

What’s wrong with that? Stefan will exlpain it to you.


« Previous PageNext Page »