Archive for September 4, 2008
Update – Dutch Oracle Open World 2008 Preview Session
Hereby a small update on our AMIS Query – Preview session Oracle Open World.
Our list of presenters is complete and a lot of people already registered via the " aanmelden evenement" page. We decided to make 3 parallel tracks based on audience interest and/or technology used, although interest will not always match because the presentations contain topics like: ADF, SOA, APEX, BEA, JHeadstart, Database Administration, Designer Topics, ASM Storage, Oracle XML Database, Architecture issues, Methodology and/or Performance.
So a lot of choices and tastes…
These 3 parallel tracks will be:
"Track 01"
- Frits Hoogland, Interaccess – Automatic Storage Management
- Gerwin Hendriksen, AMIS – Jumping The GAPP
- Marco Gralike, AMIS – Real World Experience with Oracle XML Database 11g: An Oracle ACE’s Perspective
"Track 02"
- Ronald van Luttikhuizen en Lonneke Dikmans, Approach Alliance - BEA AquaLogic Versus Oracle Fusion Middleware Shootout
- Peter Ebell & Lucas Jellema, AMIS – Did We Spoil the End User? Building Personalization into JavaServer Faces Technology-Based Applications
- John Copier, IT-Eye – ESB Central: Applying SOA to Master Data Management in the Dutch Public Sector
"Track 03" More >
Improve your unit-tests with jMock2
Writing unit-tests should be part of your development process whether you write them before or after the actual coding I leave that up to you. On of the pitfalls of writing unit tests is that the units become to big.
The unit your are testing, a method in most cases probably uses some other beans or services to do its job. In your unit test you don’t want to test those other beans but just your method. Because you use decoupling you can easily override the interfaces of the services in your test case and inject those services in your instance you are testing. This is an example of a mock object.
This is maybe good for one or two mock objects but it gets tricky. Who test the mock objects? You will soon get a lot of logic in the mock objects. To reuse them they need to be extracted from the unit test. You don’t have checks if the mock objects are really called. There are several frameworks that will do this mocking for you. You supply them the interface and they will give you an implementation which can be injected into the bean thats being tested. (more…)
Recent Comments