jdapp core code