This is not a stupid question, not at all. Unfortunately our book does not tackle this issue. That said
Java found a middle-ground with the Java WebStart technology which, in my experience, works really well. I highly suggest you to take a look at it.