bend object

hello,
how can i implement objects bending in opengl.
is there any physics engine in java which has this feature?

thank you