Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #14726

Network license control for a Java application

From "Qu0ll" <Qu0llSixFour@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Network license control for a Java application
Date 2012-05-21 19:08 +1000
Message-ID <tL-dnV9Cee7NmyfSnZ2dnUVZ_q2dnZ2d@westnet.com.au> (permalink)

Show all headers | View raw


I have been tasked with providing some form of network license control for a 
Java application.  The app would be stored on a network drive and run from a 
client machine.  The basic idea is that it will be able to work out how many 
times it is being run concurrently and prevent the N+1th user from running 
the software where N is the number of concurrent licenses the customer has 
purchased.

Is this possible somehow with a Java application?  I was thinking of maybe 
incrementing a number stored in a file every time the app is run and then 
decrementing it again when the app exits.  I also thought of storing a time 
when each app invocation started so I could "time-out" users in the cases 
where the app may crash.

Is this a viable solution or is there a better way?

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour@gmail.com
[Replace the "SixFour" with numbers to email me] 

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Network license control for a Java application "Qu0ll" <Qu0llSixFour@gmail.com> - 2012-05-21 19:08 +1000
  Re: Network license control for a Java application Hatter Jiang <jht5945@gmail.com> - 2012-05-21 05:04 -0700
  Re: Network license control for a Java application "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> - 2012-05-21 07:47 -0700
    Re: Network license control for a Java application Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2012-05-21 09:48 -0700
      Re: Network license control for a Java application "Qu0ll" <Qu0llSixFour@gmail.com> - 2012-06-02 13:01 +1000
        Re: Network license control for a Java application "Qu0ll" <Qu0llSixFour@gmail.com> - 2012-06-15 19:31 +1000

csiph-web