Hi I'm new to mondrian how to connect with database anybody having sample source code.

If anybody have sample source code please attach the sample code in zip format.
Please help me..