Chapter 8. Web clients and Web 2.0

 

This chapter covers

  • Using SCA with servlets and JSPs
  • Creating interactive web interfaces using SCA and JavaScript
  • Integrating Atom and RSS feeds into SCA applications

In today’s computing world, everything seems to be web-enabled and available over the internet, for example, banking, food shopping, business applications, your utility bills, and so on.

There are many ways to make applications web-enabled. These include the more traditional approaches of using a web-enabling framework, for example, the Java Platform, Enterprise Edition, and the less-traditional approaches encompassed by the term Web 2.0, such as Ajax, Atom, and RSS feeds, and the like.

In this chapter, we’ll look at some of the ways that SCA and Tuscany can help to simplify web-enabling your applications. First, we’ll look at how SCA can be used with Java Enterprise Edition by looking at Java Servlets (or servlets for short) and JavaServer Pages (JSPs). The advantage of this approach is that organizations that have already invested time in creating Java Enterprise Edition applications can reuse their existing code in new SCA applications.

8.1. Servlets as SCA component implementations

8.2. Writing web component implementations using JSPs

8.3. HTML pages as SCA component implementations

8.4. Exposing file system resources

8.5. Exposing component services as Atom and RSS feeds

8.6. Referencing Atom and RSS feeds

8.7. Summary