This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes Expiration of Java Web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Expiration of Java Web application" Watch "Expiration of Java Web application" New topic
Author

Expiration of Java Web application

sura Herath
Greenhorn

Joined: Nov 30, 2010
Posts: 1
Hi Team,

I have developed a web application using java technologies and I'm going to give it to my customer for evaluate the application. So before I submit it I need to put some mechanism that prevent customer using it for more that 30 days or 30 times. So its really appreciate if some one could provide me mechanism/solution for this.

Many Thanks,
Suranga
Siddhesh Deodhar
Ranch Hand

Joined: Mar 05, 2009
Posts: 117
Simply keep two condition (30 days or 30 times) "OR"ed flag in your database or code.


Good, Better, Best, Don't take rest until, Good becomes Better, and Better becomes Best.
Sidd : (SCJP 6 [90%] )
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

sura Herath wrote:...So before I submit it I need to put some mechanism that prevent customer using it for more that 30 days or 30 times. So its really appreciate if some one could provide me mechanism/solution for this.

Though there can be various ways to acheive this, solution may depends on certain things. How are you going to setup the parts of the system (i.e: Database, application server etc..). Are they in the client side which can be manipulated by the client? Is this 30 times means 30 requests for the application?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

And welcome to JavaRanch Sura
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Expiration of Java Web application
 
Similar Threads
Security Requirment Part II
Travel Agent Login
Quick question on Login use case
license mechanism
Licensing Mechanism in java