Google Maps + JSF Interview
Using GMaps4JSF, the JSF developer can create rich Maps with just a few lines of code.
Hazem Saleh has seven years of experience in JEE and open source technologies. He is an Apache MyFaces committer. He is the founder of GMaps4JSF, Mashups4JSF, and MapMySocial. He is the author of the “The Definitive Guide to Apache MyFaces and Facelets (Apress)” book. He is an author of many Java enterprise articles, a developerworks contributing author and a technical speaker in both local and international conferences (JavaOne). He is now working for IBM Egypt as a staff engineer.
GMaps4JSF 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?
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.