suggest me the easy, effective and short way to learn and implement JAVA code (including advanced Java line beans, JMS etc)
I don't think this question is directly related to Atlassian community. But still I will suggest you to start of with reading "head first Java" or do a Beginner's course on "Udemy"
https://www.udemy.com/java-the-complete-java-developer-course/
You may give a try to learn Java online on Guruface, a complete online platform for learning, teaching, and training.