public marks

PUBLIC MARKS from solrac with tags java & "web 2.0"

January 2010

An introduction to XML

This introduction to XML provides demonstrations of the basics of learning XML, covering topics such as Web 2.0, AJAX, RSS, Web Services and managing XML data. These short Web-based video modules provide clear examples of XML as well as references to popular Web sites that use XML.

November 2009

REST up with CouchDB and Groovy's RESTClient

A burst of innovation in the open source world over the last few years has led to an increase in Java developer productivity. A promising new entry on the scene is Apache CouchDB, hailed by some as the database for Web 2.0. This Java development 2.0 column introduces CouchDB and shows you how Groovy's RESTClient can help you tap into its strengths.

June 2009

Grails file uploads and Atom syndication

Grails is a modern Web development framework that mixes familiar Java technologies like Spring and Hibernate. See how easy it is to implement a Grails file-upload capabilities for the body of a blog entry and put together a hand-rolled Atom feed for syndication.

Knee deep in the Twitter REST API

Twitter provides an API so Web developers can enable their users to access the various features that the Twitter site provides. In this article, learn the basics of using the Twitter REST API. Get started with a simple examples, then build your Twitter API skills. The ability to pull specific information from the Twitter Stream is endless.

May 2009

Scala and Twitter becomes Scitter

Learn how Scala's functional nature, which aligns well with Twitter's RESTful nature, and its extremely good XML processing features, makes it easy to build a Scala client library to use Twitter API to query its public timeline of tweets. This article shows you by example, how to use Scala to build the basic framework for a client library for accessing Twitter.

Step through Securing your Grails application

Grails provides all the basic building blocks you need to put together a secure Web application. Setting up an authentication infrastructure answers the question, "Who are you?" Get a hands-on lesson in enabling logins, limiting activity based on whether or not the User is logged in, and how to add in some authorization based on the User's role.

April 2009

Build a RESTful service on CICS with PHP

This tutorial shows how you can use Java, and PHP to quickly and easily work with CICS programs and expose them on the Web. If you are a PHP developer, find out how you can use your PHP skills to interact with enterprise assets in CICS; if you are a CICS developer, see how PHP provides a simple and agile way to manipulate your existing resources.

Add Ajax and JSON to Java EE apps using JSP talibs

Learn how to use configurable JavaServer Pages (JSP) TagLib-based controls that leverage JavaScript Serialized Object Notation (JSON), JavaScript scripting language, and Cascading Style Sheets (CSS). Because they are standard JSP TagLib controls, find out how you can easily drop them into any Java EE application to provide more intuitive and responsive user user interfaces.

Avoid the gotchas of Agile planning

Are you part of a team that wants to get on board the agile planning bandwagon? Are you using iterative development and still stuck doing "waterations"? This article answers the question, "How do I start developing releases with agile planning?". It shows what worked, as well as the mistakes made, to illustrate a coherent and realistic understanding of the basics of agile planning.

Implementing RPC for JavaScript using Ajax and Java code

This article shows how to implement a Remote Procedure Call (RPC) mechanism for Web applications that use JavaScript on both servers and clients. You'll also learn several interesting techniques, such as implementing Java interfaces with JavaScript, building an XMLHttpRequest wrapper, making Ajax debugging easier, and using JSP tag files to generate JavaScript code.

March 2009

A Flex SOA Grails backend with rich GWT frontend UI widgets

In this article you will build a Web application using Grails and the Google Web Toolkit (GWT). You will also use some richer UI widgets from the Ext GWT library. Familiarity with Groovy is great, but not completely necessary.

Rewiring Grails with custom URIs and codecs

This article shows you how to affect the lifeblood of any Web application: the URIs used for navigation. The permalinks back to individual entries are passed around the Internet like calling cards; the more descriptive they are, the more effective they are. Learn how to tweak the UrlMappings.groovy file to create new pathways. And finally, you'll create a custom codec to generate custom URIs more easily.

Combine JSONP and jQuery to quickly build powerful mashups

Discover how you can combine an obscure cross-domain call technique (JSONP) and a flexible JavaScript library (jQuery) to build powerful mashups surprisingly quickly. This article reveals a same-origin policy work-arround, and the full potential of JSONP to enable Web applications.

February 2009

Building an AIM-enabled application in Eclipse and Java

This article demonstrates how you can build a Java™ application that uses the client software development kit (SDK) libraries from AOL to get commands from users. Your application will be able to process the commands and respond to the users with results.

Socially mixing Groovy, Twitter, Google, and a bit of Ajax

In this article, learn how to build a social network with Google Maps, Twitter, Groovy, and Ajax. By combining a Google Map with location information that Twitter exposes, you can create a mashup that allows people to view Twitter in light of a particular location. The simple application this article builds with open APIs, and a bit of imagination, will open yourself up to a whole new world of social applications development. The possibilities are endless. The rest is up to you.

Creating Flickr mashups with JavaFX

JavaFX empowers developers to leverage the Java platform to create RIAs. Flickr offers RESTful Web services that can be called from any code, including JavaFX code. In this article, See how JavaFX lets you tap into popular Web services such as Flickr and how you can use it to create interactive user interfaces. Along the way, get a taste of the new capabilities that JavaFX brings to client-side development.

Power-Lift with JSF and Dojo widgets

By leveraging JSF with Dojo technologies, you gain the strengths of both technologies. On the server side, the benefits include end-to-end lifecycle management for components, back-end bean data binding, and event handling. On the client side, you can utilize Dojo's rich widgets, live animations (such as fade and slide), and drag-and-drop. This article explains this process and describes how you can easily build Web applications to give your users a better experience.

January 2009

The five best practices for SOA Web 2.0

In this article, two experienced SOA architects look at the new world of Web 2.0 technologies with a critical eye and present five best practices that can help you be more successful in adopting Ajax, REST, and other Web 2.0 technologies as part of your SOA. There are several major areas in which they have learned some very painful lessons. They share these with you to spare you similar distress, and to help you get a jump on your SOA Web 2.0 success.

The easiest Ajax and DOM scripting with jQuery

After learning jQuery, I've had a lot more fun programming in the JavaScript language. All the boring stuff is taken care of, so I can focus on coding the juicy stuff. With jQuery, I can barely remember the last time I wrote a for loop. I even cringe at the thought of working with other JavaScript libraries. jQuery has honestly and truly changed the way I look at JavaScript programing forever. Learn about the jQuery philosophy, discover its features and functions, perform some common Ajax tasks, and find out how to extend jQuery with plug-ins.

March 2008

Using Java to find the needle in the DNA haystack

Genetics databases hold extremely large amounts of raw data. The human genome alone has approximately 3 billion DNA base pairs. To search through all this data and find meaningful relationships within it, molecular biologists are depending more and more on efficient computer science string algorithms. This article introduces you to three such algorithms, all of which use dynamic programming, and advanced Java algorithmic technique that solves optimization problems from the bottom up by finding optimal solutions to subproblems.