Creating mashup applications using IBM JWL and GMAPS4JSF in a WebSphere 7.0 environment

Source: Internet
Author: User

In the previous Article JSF 2.0 Ajax World gmaps4jsf, I explained how GMAPS4JSF can be used to integrate Google maps and JavaServer Faces (JSF), which allows JSF users to construct complex, through several JSF tags Panoramic images and maps of the streets. You can also easily add different components (tags, informational text, controls, ground overlays (ground overlays), polygons, and polylines) to the results map. GMAPS4JSF even allows you to add different events to the component without having to write JavaScript code that binds the event to the component. JSF users need to write JavaScript code only when implementing the component's event handlers. GMAPS4JSF is a mashup library of JSF that makes it easy for JSF users to build WEB 2.0 mashup applications.

The JavaServer Faces Widget Library (JWL) is a JSF-based Web Part gallery in IBM that contains a number of components for building rich Web applications. JWL also provides asynchronous JavaScript + XML (AJAX) tags for dynamically adding Ajax behavior to JSF.

In this article, I'll explain how to use the GMAPS4JSF component in a JWL application in Rational Software Architect for WebSphere Software (RSA) 7.5. I'll show you step-by-step how to create a mashup JWL application that uses a different GMAPS4JSF component.

Create a Mashup JWL application from scratch

In the JWL application, if the user enters an address and clicks Go! button, the location of the address will appear in the map, and its street preview image will appear in the Street Panorama (Streetviewpanorama).

Create JWL Web Project

The first step in creating a JWL mashup application is to create a Faces project. Figure 1 shows the initial creation screen for a dynamic Web project. Make sure to enter the project name and select Faces project in the Configuration combo box.

Figure 1. The initial creation screen of a dynamic WEB project

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.