poniedziałek, 28 października 2013

Installing Oracle XE 11g on 64bit windows

I recently needed to install Oracle XE on my 64 Windows 7. Unfortunatelly, it seems that Oracle does not provide a 64bit installer on Oracle XE. But there is a workaround for this issue.

czwartek, 10 października 2013

Handling soap fault in spring ws

Recently I was working on a integration with some other project. Our applications communicate with web services with WS-Security - each message is signed and encrypted. I was having some issues with proper handling of the soap fault in case of errors.

środa, 9 października 2013

Static code analysis with SonarQube

Writing quality software is not only about writing software that performs well and has no bugs. It's also about writing code that is easy to maintain, extend. Static code analysis help to identify potential problems with performance, behaviour and maintenance. Such analysis should be performed from early stages of project, so that developers can quickly find potential problems and fix them when the cost is low.

wtorek, 8 października 2013

Maintain DB state during integration tests, using Oracle

Integration testing is similar to Unit testing but it uses real components that interact with each other instead of mocks. This usually involves deploying whole solution and invoking remotely methods and comparing results with expected values.