Google Maps ' GMaps4JSF' Integration Reaches 1.1.4

Google Maps + JSF Interview

Jessica Thornsby

“Using GMaps4JSF, the JSF developer can create rich Maps with just a few lines of code.”

is a project for integrating Google maps with JSF.
Following the 1.1.4 release, JAXenter caught up with project owner
Hazem Saleh, to find out more about GMaps4JSF………

JAXenter: What is the GMaps4JSF project?

Hazem Saleh: GMaps4JSF is the Google Maps
integration project with the JavaServer Faces. Using GMaps4JSF, the
JSF developer can create rich Maps with just a few lines of code
(JSF tags). GMaps4JSF provides JSF tags for creating the map using
(latitude and longitude) or (address), adding marker(s) to the map,
adding notes(s) to the map, adding control(s) to the map, creating
event listener(s)on the map objects, drawing polyline(s),
polygon(s), and circle(s) on the map, adding groundOverlay(s) on
the map, creating street view panorama and integrate it simply with
the map component.

Adding to all of these tags, GMaps4JSF utilizes the Google Maps
utility project through the GMaps4JSF extension module.

JAXenter: Why did you decide to re-write the
library from scratch, for the 1.1.4 release?

Hazem Saleh: Well, we had a discussion on the
GMaps4JSF development mailing list about code refactoring, and we
decided to perform a complete library re-write for simplifying the
code base and improving the performance of the generated code.

JAXenter: What were the challenges of
integrating Google Maps with JSF?

Hazem Saleh: GMaps JavaScript APIs is a client
side technology while JSF is a server side technology. The main
challenges are about how to make the GMaps objects state-aware, how
to define server side listeners on the GMaps objects, and how to
make the Gmaps objects work well with other JSF component

JAXenter: What’s on your wish list for future
releases of the GMaps4JSF project?

Hazem Saleh: 1) Supporting Google Maps version 3 APIs (The
current supported version is GMaps v2). 2) Supporting other map
implementations (Bing Maps, Yahoo Maps, and
OpenStreetMap). 3) Including the GMaps4JSF library in the
Mashups4JSF library.

comments powered by Disqus