Its been a while since I did a web application (4 years). I am looking for advice what framework is recommended to use? Typically I used Struts in the past but I haven't kept up on the latest and greatest technologies.
ie. Spring MVC, Struts 2.x?
Also, what would be the best framework to integrate Ajax into? Is AJAX the current "standard" for server side scripting?
I created a multi-layered licensing and anti-piracy scheme.
This would include license logic based on system hardward, obfuscating and jar hash value validation.
With this said, I would like to protect the case in where the savy java programmer overrides one of the obfuscated license classes. Is there a way to ensure that the class is being used from the jar and not somewhere else (i.e adding an additional class or jar to the classpath).
i.e. obfuscatedclassname.getClass().getName --- ensure that one is being used in the jar.
It sounds like the servers might be load balance or something.
Look into setting a sticky bit or something (WAS or some other app server configuration) OR there is a way to force all responses from each session to come from the same server in a load balanced environment.
I know our deployment department has set this for our apps. We have 2 prod / 2 DR servers.
I have a swing application that uses Javax.comm to read and write to serial ports often.
Is it better to keep an output / input stream open or close them on each call.
I had a bad experience with AudioInputStream while opening and closing on each call. It seemed to have a memory leak that wasn't related to my code. I don't want a response on the AudioInputStream problem, just the javax.comm. Thanks.