Friday, October 31, 2008

On my way 2.0

Mashup On my way has been updated. Need to find something on your way to home, to work or to school? Mashup MyWay lets you combine the driving directions on Google Maps and local search together. So you will see points of interest as well as driving directions on the same map. What is new in 2.0 version:

see Wikipedia / Panoramio data on your way
use walking routes
set "Via" point when you need pass through the particular address
get any address just by the click on the map (reverse geocoding)

Monday, October 27, 2008

Reverse geocoding on Big map

Big map mashup supports a new Google Maps API feature - reverse geocoding. Try to click on the map - you will see the address. The following code does the job:

geocoder=new GClientGeocoder();
GEvent.addListener(map, "click", clickFunction);


function clickFunction(overlay, latlng) {
if (latlng)
geocoder.getLocations(latlng, function(addresses) {
if(addresses.Status.code != 200) {
alert("Google reverse geocoder failed to find an address for " + latlng.toUrlValue());
{ address = addresses.Placemark[0];
var myHtml = address.address;
map.openInfoWindow(latlng, myHtml); }

QR map - 4

QR map mashup has been updated. Mashup lets you create QR codes for maps and share them via email/twitter/facebook.

Friday, October 24, 2008

Dump servlet

There is an interesting concept from this component in our JSOS suite. Dump servlet lets you request the remote content and cache it right after the first delivery. So all the sub-sequential requests will be served right from your site.
For example, suppose your own site includes some Google Charts API calls. Dump servlet could be used as a proxy for your Google Charts requests. As soon as the first request is served, all the similar requests after that will use cached data (it is configurable of course - time to live for cached data is user-defined).

Saturday, October 18, 2008

Mobile content

Google Mobilizer service lets you prepare on the fly mobile-friendly pages for any web site. And Mobile link taglib uses this service and provides a simple mashup lets you publish mobile links in your web applications. So in your mobile web applications this component lets you publish links "as is", and Mobilizer will take care about the rest.

P.S. and Mobile taglib lets you detect requests from phone by the way.

Tuesday, October 14, 2008

Friday, October 03, 2008

Protected sessions

Server side component lets you add additional security for your HTTP sessions. The idea is very transparent. As soon as a new session is created we can remember the IP address of the creator. And after that during the session life time this IP address must be the same. Otherwise (IP address has been changed) we can assume that session ID has been stolen. And all steps could be combined just in one servlets filter: Protected sessions.
Filter saves IP address for the fresh sessions and checks it for the sub-sequential requests after that.

Wednesday, October 01, 2008


TheRegister describes the potential problems with SESSION ID in web applications: if an attacker steals your SESSIONID, they have full access to your account. The solution is to use SSL and always send the cookie only over an SSL connection. There are several components in JSOS helping you in this case:

JSession filter - disables jsession id (cookie always)
Secure Redirector - forces HTTPS connections
Protected sessions - lets you map sessions to IP addresses (IP address must be the same during the session life time)