Is there a role for exercise in the prevention of osteoporotic fractures?

Is there a role for exercise in the prevention of osteoporotic fractures?