All posts in 'Java'

Modify memory settings of the Oracle Aurora JVM

07-Feb-14

Use the following class to view and modify the settings of the embedded JVM inside an Oracle database. The class has been tested on 10g and 11g, memory settings and information are in Megabyte. SET DEFINE OFF CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED “MemoryStatistics” AS import oracle.aurora.vm.OracleRuntime; public class MemoryStatistics { public final […]

Read the complete article »

CSRF protection with Spring Security revisited

29-Jan-14

At the end of last year, Spring Security 3.2 was released and brought a lot of new features, among them a built-in “Cross Site Request Forgery” protection”. Nearly two years earlier i wrote my CSRF protection implementation with Spring Security 3.1, have a look here. I really like the built-in implementation and most of it […]

Read the complete article »

Vaadin & Spring: Integrating Vaadin with Spring Security

30-Mar-13

Note: You’ll find the complete working sources here: Vaadin-SpringSecurityViewProvider. Finally, the 2nd post in my Vaadin & Spring series. This time about describing, instantiating and managing views with and through Spring Security. I’m a big fan of Spring Security as it is – at least for my purposes – incredible easy to add some long […]

Read the complete article »

Maven snippets

26-Feb-13

This post will contain some Maven snippets that i use and forget regularly (similar to my Git Post). Download the sources of all dependencies of a project if available: mvn dependency:sourcesmvn dependency:sources Download the JavaDoc for all dependencies if available: mvn dependency:resolve -Dclassifier=javadoc -Dtype=jarmvn dependency:resolve -Dclassifier=javadoc -Dtype=jar Check for updates of all direct dependencies: mvn […]

Read the complete article »