?
Solved

Implementing Licence

Posted on 2003-02-26
12
Medium Priority
?
334 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses
Course of the Month8 days, 5 hours left to enroll

765 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