Instantly share code, notes, and snippets.
Ask questions and see you at July, 3rd at 6.PM. CET:
Do you recommend JASPIC for securing Java EE 7 web apps? For a project that places high value on security, how would you approach authorization (resource/role based access control) in the business logic layer? I want to avoid unnecessary dependencies on third party libraries as much as possible. Thanks!
"What do you think about lambdas and the move from Oracle to "evolve" Java including more functional programming style features?
Do you like or use lambdas in your projects or you prefer to stick up with the "pure" object orientation aspects of the language?" comment by Mars Forsc: Pushing Java EE 7/8 To Oracle Container Cloud Service: https://www.youtube.com/watch?v=6cVHeEeKLSI
What are your strategies to reduce the compiled size of a React.js application? The jar.js of my small sample app turns out to be 2.5 MB in size, which is crazy for somebody used to Java EE ;-)
Currently I have five different Containers (JavaEE & Servlet) where I need custom Login Modules for them (the standard ones like LDAP, DB, ... from the containers do not fit to the requirements). Writing container modules for each one is very time consuming and in some you need to include container specific configurations (jboss-web, ...). JAAS would be perfect as a common solution but is rarly supported in some of them (JASPIC is not supported in some of them).
So I tend to write a custom servlet login module. One benefit is that I won't need any container specific configs and projects can simple use one jar and can be deployed to various containers easily. Example project: https://github.com/nickscha/servlet-auth
What's your opinion ? In my case infrastructure is very restricted and I can't just setup keyloak or something like this.
I watch your screencast about thin wars and docker, my question is how you handle about database transaction?
As I know, the best practice of using docker is one image one responsibilty so you need to separate between the image of the application and the image of the database. Then how you configure the database transaction? Since Java EE transaction was perform by application server.
Hi Adam , I have two questions:
2- Can we rely on Restful webservices to communicate between the modules of an application knowing that the shared data could be big , and how could you make the lazy loading in this case