Press "Enter" to skip to content

Coding all the things Posts

A case for PowerMock?

PowerMock is well-known in the Java community and it’s one of these libraries people have a love-hate relationship with. It’s technically quite complex with custom classloaders, agents, byte-code manipulation and deep integration with test and mock frameworks. Even though I was a part of founding the library (which is now…

Continue reading A case for PowerMock?

Docker Machine Port Forwarding

When using MacOSX and Docker you currently need Docker Machine. A problem that you’ll run into very soon is port forwarding. For example when starting tomcat:

This expose tomcat on port 8888 on the host and maps it to port 8080 in the container. So you should be able…

Continue reading Docker Machine Port Forwarding