Dialog Ideamart Sample Java Code using CASS APIs