title: accept visa and masterCard payment in java application
body: <p>I am new to this topic, so I don't know what I need to accept payments using credit cards like visa and master card in my java application.
  Please also give me the code I should write in java to fulfill this task.</p>