ALU client implementation in java