What is the maximum name length of the TempFile in java and MaximumFilesize is depending
on the machine where we mention the temp directory to be created or some other java based?
When to call the deleteOnExit() method— but what is the use of this method because it gets called when the JVM comes down.But in Production based servers will run 24*7.So file will be created continuously and it will be problem for the server where we create file because of the memory.
so the file name could be any random
longwith prefix suffixThere are some file thats needs to be created for application life,
For example when you launch eclipse you will see .lock file created to lock the work space it will get deleted when your eclipse exists