Sample Code Repository Quick Tour

Lost in the recent hubbub around the Oracle Fusion Middleware 11g launch was the debut of OTN's new public sample code repository at samplecode.oracle.com. Now that things have died down, we can give this new service the attention it deserves.

Here's the back-story: BEA's Dev2Dev portal, as you may remember, offered a project-hosting service called CodeShare through a partnership with CollabNet. When BEA came over to Oracle, I immediately recognized that with some retrofitting and reskinning, the CodeShare infrastructure could be repurposed to plug a long-standing hole in the OTN program offering: a collaborative sample code repository. (For a good long while, Oracle sample code has been hosted in a static, "antisocial" fashion by OTN.)

There were a few challenges. Most important, it was necessary to extend the Oracle Single Sign-on service such that OTN members could use existing credentials to access a CollabNet-hosted site. Second, whereas CodeShare was a general-purpose code forge (which supported private projects as well as public ones), the sample code site would be much more narrow in scope - we have no need or intention to compete with the several excellent forges already out there. So, a good amount of content migration and user coordination work was required. With a lot of help from Oracle Consulting and CollabNet, we accomplished both objectives.

The result is a new service for OTN members (no additional registration) that supports the collaborative development and sharing of sample application source code, code snippets, templates, scripts, and skins across the OTN ecosystem (employees and nonemployees). Whether you want to found or participate in a full-blown project with all the requisite bells and whistles, or just share and/or consume sample code snippets, samplecode.oracle.com is the right place. (It's NOT the right place for personal private projects however. Playing well with others is required.)

As time goes on, we intend to migrate all existing OTN sample code to this new repository. So you may want to get started now; hopefully this very brief tour will help:

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed