This week's book giveaway is in the NodeJS forum. We're giving away four copies of Serverless Applications with Node.js and have Slobodan Stojanovic & Aleksandar Simovic on-line! See this thread for details.
Going through the JBossticket-monster tutorial I've stumbled upon MediaManager class that is responsible for caching images served to the user.
I thought that we shouldn't directly manipulate files on the filesystem in JEE, am I correct? If yes, what would be the best way to implement such functionality?
I'm also not sure about the scope being used - does @RequestScoped make sense as the cache will be rebuilt on every HTTP request-response cycle (which kinda defeats the purpose for me)?
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
global solutions you can do at home or in your backyard