Java
Dynamically scheduling jobs with Spring
daniel Fri, 08/12/2016 - 2:09pm
Stackoverflow research that may be useful:
- Read more about Dynamically scheduling jobs with Spring
- Log in to post comments
Java Profiling Tool
daniel Fri, 08/12/2016 - 2:05pm
- Read more about Java Profiling Tool
- Log in to post comments
Odd Java
daniel Fri, 04/01/2016 - 12:21pm
I was digging around trying to figure out some strange error with a saml integration when I came across the verifyAudience Method of the spring-security-saml/core/src/main/java/org/springframework/security/saml/websso/WebSSOProfileConsumerImpl.java
I had never noticed this particular usage of Java in the wild with a loop inside a loop with a continue statement.
I've created an example in groovy because I'm lazy:
List restrictions = [1,2,3,4,5]
List selections = [3,5]
audience:
for(int a in restrictions){
for(int b in selections){
if(a==b){
println "skip"
continue audience
}
println "$a -- $b"
}
}
Here is the Output:
1 -- 3
1 -- 5
2 -- 3
2 -- 5
skip
4 -- 3
4 -- 5
5 -- 3
skip
- Read more about Odd Java
- Log in to post comments
Remove an alias to a java cert store with keytool
daniel Wed, 08/26/2015 - 9:09am
- Read more about Remove an alias to a java cert store with keytool
- Log in to post comments
Limit HttpClient with Timeouts
daniel Wed, 07/15/2015 - 2:54pm
There's a nice description of the different types of timeouts that can be used with HttpClient at baeldung.com
- Read more about Limit HttpClient with Timeouts
- Log in to post comments
Recovering from an Out of Memory error on Java
daniel Thu, 01/29/2015 - 4:30pm
Interestingly, an out of memory error doesn't cause the jvm to exit, but, you can make it do so if you want. Here is a writeup about doing so at thinkingInSoftware.blogspot.com
- Read more about Recovering from an Out of Memory error on Java
- Log in to post comments
Finding Encryption supported by the JVM
daniel Thu, 01/29/2015 - 4:26pm
From Stack Overflow
- Read more about Finding Encryption supported by the JVM
- Log in to post comments
Code examples and Introduction to Spring Batch
daniel Thu, 01/29/2015 - 4:04pm
- Read more about Code examples and Introduction to Spring Batch
- Log in to post comments
Tomcat configuration with BoneCP
daniel Fri, 01/09/2015 - 4:15pm
- Read more about Tomcat configuration with BoneCP
- Log in to post comments
