Tag Archives: access

[Java] Example of Spring IoC (Inversion of Control) – dependency injection

Tired of changing your Java code and recompiling project when you want to change objects’ properties? The one possible solution is to create external file keeping all desired data and creating objects by hand. But… Wait a minute, doesn’t Java … Continue reading

Posted in coding, enterprise edition, java | Tagged , , , , , , , , | 1 Comment

[Java] Accessing private fields

The problem: you have to use class that we can’t modify for some reason. You want to get or set values of fields (name, surname) of class User, but cannot do it in the other way that calling toString() method … Continue reading

Posted in coding, java, standard edition | Tagged , , | Leave a comment