Maciej Piekarski

Greenhorn
+ Follow
since Jul 08, 2014
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Maciej Piekarski

Hi,

Going through the JBoss ticket-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)?

Best,
Maciek
9 years ago