If I want to sell a web application as an installable product on the customer's servers, what are the best method practices for enforcing licensing such that it's not easily ripped and pirated?
This question has been asked and answered a few times before How to create a secure licensed Java EE application?
You'll get alot of tips reading those questions and following the links