What does "com.apple.*" mean in plist titles
That particular naming structure is known as "reverse DNS" naming. (Like Apple's website is at apple.com, so their plist entries are com.apple.) This is done so that items are sorted by manufacturer before product if you sort by name. 

This nomenclature is used in Java packages (and other places) as well as OS X application identifiers.

If you want to specify Java as a whole, look for com.sun.* or com.oracle.*, as those are the two companies that have owned Java.