I've been cracking my head trying to figure out the best way I can use to inter-react or send direct action commands to the device. Starting by stating what I'm trying to do here. I'm trying to create a POS system I've looked at jpos library packages but I get confused but I've noticed just by looking on a file BillDispenser in the jpos files I can see that it have links to file called BaseJposControl which is extended by a file called BaseControl.
My main problem is that I can't for instance use jpos because file BillDispenser, BillDispenserService111, and all files with Service111 have errors on their public line which is the first line below the imports so I've created my own main menu and validation now the problem is how can I make my for instance transaction class let say be able to send the cashDispenser.dispenseCash(amount); to the cashdispenser device. Just need the skeleton or structure because I get lost in jpos on how I will do this because jpos have many files but I've loaded those files I think they are required to perform this task.
Any help, link, recommendation, and reference will be appreciated.