Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to copy protect an EAR file?

Joe Simone
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a J2EE project in JBoss/MySQL that I would like to copy protect. If the EAR runs on our server then its protected. But, if customer in China wants the app hosted on their server on-site I fear that our code may get stolen.

I would like to protect the EAR such that it validates its license before running. So, if the machine is not the licensed machine OR the time period has elapsed OR the app detects a usage pattern in excess of what the license allows it will stop running.

Rather than write custom code to do this, can anyone give me advice as to how others are doing this or if their is some package we can buy or code we can use? Copy protection is something I am not familiar with at all.

Many thanks in advance,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic