Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   How to create in java ? (http://www.go4expert.com/forums/create-java-t248/)

mohamedanvar 17Feb2005 12:27

How to create in java ?
 
Hai
I am developing a java application. For which i want to give it as 30 day's Trial pack. Give me some ideas for implementing 30 day's Trial Offer.
After 30 days the application should be expired. I want to implement the application in both ( Windows and Mac OS ) Platform.
Give me suggestion compiling to both platform.

shabbir 17Feb2005 13:37

Re: How to create in java ?
 
First of all Welcome to Experts Advice Forums.

You can use Registry to store the Date of installation in an Encrypted format and retrieve that date when the program loads and decrypt the Date and get what is the time of the system so that you know how many days have passed. Also check that current Date is not anything less than setup date and also its not more than certain range.

You can also protect the date in a form like when OS starts your application start you can wipe out the registry and when that application ends you can write that back so that no one can find that and temper it.

I am not sure what can be done on MAC.

Thanks
Shabbir Bhimani

mohamedanvar 17Feb2005 16:14

Re: How to create in java ?
 
Thanks Shabbir,
Mac OS is similar to Linux operating system. Mac does't use any registry concept,then can make my apllication portable in both windows and Mac OS.


With regards
Anvar S

shabbir 17Feb2005 18:41

Re: How to create in java ?
 
You can use a file to write the same and not use the registry. But always have 2 versions for 2 OS is better. You can use the main business logic code to transport and then use the slight mod requirements of both the OS to make seperate Setups.

Thanks
Shabbir Bhimani


All times are GMT +5.5. The time now is 21:29.