[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Implementing Licence

Posted on 2003-02-26
12
Medium Priority
?
339 Views
Last Modified: 2013-11-23
I currently have a distrubuted Java application system . Basically I am hoping someone may be able to tell me the best way to implement Licencing on my distributed application.

Note that I have a single controller that I was going to use to pass the licence's out to all other related applications. What I need to know is , whats the best technology in Java currently to allow me to check Licence's and all the other stuff that follows .. I want to be able to pass out licence's form my controller , and also be able to shutdown my controller and all other application permently if the licence expires.
0
Comment
Question by:joegoggins
  • 4
  • 4
  • 2
  • +2
12 Comments
 
LVL 3

Expert Comment

by:NetWize
ID: 8032096
Does it have to be "all free"?
If not there should be some good products out there dealing with that (for example the flexLM floating license server used in Together)
0
 

Author Comment

by:joegoggins
ID: 8032118
I was preferring to create the Licence myself , with a number of different parammeters that must be meet by all .. Its just i've never created a licence for an application before and i'm not sure how the best way to go about it is ..
0
 
LVL 3

Expert Comment

by:NetWize
ID: 8032154
So you know how to check the license in your client-apps,  but are unsure about how they get it from the server?

So if you read the license in from file in your application I'd suggest you switch this to reading from network?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 

Author Comment

by:joegoggins
ID: 8032594
What i currently have ?
     -> A properties file that contains parameter ie: Expiry Date
     -> An encrypted key that represents the properties file ( ie: i know then if anyone corrupts/changes my properties file )
     -> Multiple client applications , all connected to my main controller

What i want to do ?
     -> Have a single licence on my controller that i can push out to the connected clients
     -> How do i get all the clients to be able to communicate to tell me what properties of the licence they are using. ( Without creating separate sockets for all )

I was looking at using J2EE JMS but would prefer using something different as serialisation etc.. will result in trouble and confusion in the future ...ie : XML based if possible
     
0
 
LVL 2

Expert Comment

by:bkrahmer
ID: 8039505
The best return on investment is a good lawyer who will sue the ones who steal your software.  :)  Seriously, unless you are using an obfuscator for your entire source, it is very easy to decompile your .jars, remove the licensing code, recompile and run with them.  An obfuscator will slow most people down.  Licensing is just a game that seems to never end.
brian
0
 
LVL 3

Expert Comment

by:NetWize
ID: 8039985
Well,

how to clients and server interact in your application (i mean besides licensing?) Maybe you could use one of your existing methods to send the licensing properties as String (or byte-array)?
0
 

Author Comment

by:joegoggins
ID: 8040430
To NetWize , i am currently doing my licencing this way , but must assume that there is better ways out there. Its possiblle someone may listen over the tx line and filter my messages out.

To bkrahmer :
What is an obfuscator ?? and how is it used ...
0
 
LVL 3

Expert Comment

by:NetWize
ID: 8040474
www.condensity.com has a good obfuscater my company uses. It shredders your class and member-names so they look like

class a extends b implements c {
 a b = c.e();
 public a(bd ef) {
   b.b=ef.as();
 }

This is also good for reducing app-size (used for applets)

Why would it be a problem if someone "knows" your licensing properties? I thought you explained that you compute a secure hash to check if someone changed them?
0
 

Author Comment

by:joegoggins
ID: 8042767
Sorry NetWize , I'm working of a Linux machine ... Condesity does'nt suppport me. Anyway , i cannot use these outside products as i use JAXB in developing new classes dynamically and confusion would cause way to much hassle throughout my code.

What i was hoping for is a new Java facility available for making Licencing easier in a distrubuted system. ie : as JMS allows topics requests etc...  

I am going to close this posted question.
0
 

Expert Comment

by:Banath
ID: 8046308
A request has been made to refund and/or delete this question; if there are no objections within 72 hours, the request will be granted.

EXPERTS: Please leave your thoughts on the disposition of this question here.

Banath
EE Moderator
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 8074876
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **
0
 
LVL 6

Accepted Solution

by:
Mindphaser earned 0 total points
ID: 8074877
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question