Charge and spin effects in mesoscopic Josephson junctions ( Review Article )