Ask questions and see you at April, 8th, 6.PM. CET: http://www.ustream.tv/channel/adambien
-
-
Save AdamBien/d2bdc699f8f39948ff04126f3d09227d to your computer and use it in GitHub Desktop.
Please take a look at this Java EE 8 project.
https://github.com/vanuatoo/soteria
I want to achieve the following:
AuthenticationMechanism is not called when accessing /resources/auth resource.
I tried using web.xml and indicating security-constraint, but it's ignored and security mechanism is invoked for every request to resources/* URL.
How can I do that?
Thin war (200K) file.
Hi Adam,
You have talked at various time about thin war. when i add hibernate (5.2) to my POM file the war file size increases to 10MB. I want to deploy this on Payara 5 server. Is there a another way to keep the war file size small when i want to use JPA using hibernate. i tried copying the hibernate5.2.final.zip file to payara domain/domain1/lib/ext folder. The deployment failed.
Thanks
Prashanth
Hi Adam,
I'm looking in to JEE and query caching.
I 'm working on a scenario where i have a query which returns eevry times an amount of 1000 results.
The current data updates about every week and not in daily use ,so i believe it would be nice if i cache them.
We have a caching mecahnism using ehcach but as an external tool of JPA. We put there the objects we wan to cash and manually update them when the apropriate data change.
Is there a way to cache query results in a jee jpa application? (I'm using Elcipselink and wildfly 8)
And how to handle the cache change when the data change.
Thanks,
Vaggelis