It is possible, and Java is fine in that regard(as would be your other possible coding language choices).
Not quite sure what you're visualizing, but I'm guessing you're still ending up with one of the programmers knowing whatever you deem to be worth stealing, they would just then need to...