I am developing an app for java phone and have created a database on webhost!!! what is the way or code to connect database on the web host?

Plzz help me asap!!
Thanks in advance!!!
Vinita