Appium in Java script need help

Can some one please share a simple login script program in java that i will use to test on mobile, I am new to the same and need help.