This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have created a Tax Calculator applet and is distributed FREE. But the issue is every year I need to re create the applet with new tax rules which is ok, but re distributing it to users is a hell and is not practical. I want to create a maintenance free applet for all users.
On your way in you may have missed that JavaRanch has a policy on display names, and yours does not comply with it - please adjust it accordingly, which you can do right here. Thanks for your prompt attention to this matter.
Since your display name is advertising for your web site, you need to change it very quickly, or your account will be closed and the posts deleted.
Thanks for adjusting your screen anme, but you're not quite there. The policy requires a first name, a space character, and then a last name. Please adjust yours accordingly.
Joined: Jul 23, 2004
OK.. OK..I feel the HORN now !!!....
Joined: Jul 23, 2004
Hello Ernest Friedman,
Thank you for posting your comments. I created this applet http://www.bestonlinetaxpreparation.com/2006TaxCalculator.html to distribute it free (downloadable from most of the freeware sites) and any webmaster interested in displaying a 2006 Tax Calculator can use it in their website. The calculator is not a link to my site where applet is displayed; it is aimed at all tax related websites owned by tax professionals for their visitors.
Now to your point, the tax laws change every year and this applet will not work for 2007 tax year. The user of this applet needs to come back to me for 2007 version of applet or I have to trace them and re-distribute it again. I think it is lots of pain..with no gain..You can think of this as website operational problem. (((I just want their visitors to visit my site. not maintain their website..just kidding )).
So, I started thinking about a maintenance free applet.. If I can pass all tax law parameters in HTML parameters , It is possible to solve this problem, but webmasters need to edit their html and set the parameter values. The problem with approach is webmasters can mistake and calculator will display wrong results and it will damage the reputation of the calculator. Again I need to trace them. This approach is used by some of existing calculators including the commercial ones..
I don�t want to sign the applet as well.
This is my idea.. The problem is I am new to AJAX and hence I want to know whether it is a practical idea.. Anybody did something like this before. Issues of parsing an XML inside the applet.. [ April 27, 2006: Message edited by: Joshy Thomas ]
Thanks everybody [ April 28, 2006: Message edited by: Joshy Thomas ]
You may want to check this property "document.domain = 'mydomain.com'"
You could also just let the Applet make a URLConnection to your server and do the same thing when it loads. You'll just need to adjust the security constraints of the applet accordingly. [ May 11, 2006: Message edited by: Gregg Bolinger ]
The way I understand the problem, Joshy's applet would be downloaded from a third party web server (let's say www.joe.com) to a client's PC and make a check for updates from there to his web server (www.bestonlinetaxpreparation.com). That cannot be done: