When running a jar file from a Windows UNC network path (java -jar \server\path\test.jar) i cannot get resources from that jar: URLClassloader#getResourceAsStream("/test.txt") returns null. Running the same jar locally or via mapped network drive letter works perfectly. My google foo did not bring anything up, only "this should work". Tested Java 8, 11, 17, 21. Any pointers? Thank you! #java
The XML Signature secure validation mode has been enabled by default in Oracle's JDK 11.0.23 and 8u411 releases. The mode was already enabled by default in JDK 17 and later. This mode provides additional protection by disabling weak algorithms and other potentially unsafe constructs in XML Signatures.
This morning I received a call to have a job interview this evening, dev position, in a big enterprise ("big" according to my humble standards; ~200 people in the IT department I've been told, a noticeable change from being just 2 developers in my former job). Stakes are high and probabilities are low, but having another chance when everything seems to be going south is nice. :)
OK so my second job interview went great and I got the job! I'll be code-monkey-ing some #Java, #Angular and PL/SQL for a local multinational enterprise, so expect whole new categories of bugs and ways to nuke your production servers that will amaze the Computer Scientists for years to come. :darthvader: A big thanks to you
fediversers who have suffered my lame adventures as a crappy dev student, and even crappier unemployed crappy dev wannabe, now the Null Pointer Exception is the limit! ♥️
Hey, #java software devs: how do you prevent the #jvm from dumping memory into the application folder if the application or system causes it to malfunction? I still want the memory dump, just somewhere else. Can that be done? Please show me the way!
Many people use it through Spring Security or Pac4j but the lib is relatively easy to use directly (particularly if you know the protocols) and can be used to add OIDC support to Java apps with much less complexity than those Spring or Pac4j authentication frameworks (but at the cost of having to handle some of the Web security yourself, mainly around CSRF)
Back to the basics. I've started another web pet project, this time with #Java. And I mean plain vanilla Java, with no backend or frontend frameworks. I get the utility of those when doing corporate stuff, but for a relatively simple web project, with time on my side? It more than suffices, it will likely be way lighter, and I get to see behind some of the framework's abstractions, so it's another opportunity to learn. :)
— bhyve hypervisor kernel improvements
— desktop usability
— developer tools such as LLD
— hardware support on new ARM and RISC-V devices
— installer
— jails – usability/orchestration/OCI-compatibility
— networking
— packaging – including package base (pkgbase)
— …
Online Interview Questions : Top interview questions and... (www.onlineinterviewquestions.com)
Prepare Top Interview Questions Online on CorePHP, CakePHP, MySQL, Zend Framework, jQuery, NodeJS, Laravel, Angularjs, Angular 2, ReactJs, Vuejs, JSF, Struct, CSS3, HTML5, JavaScript, JSON, MAVEN, CakePHP, ReactJs