Today I’ve had to analyse pretty big XML file, that I couldn’t open in any editor without a hassle. Finally I’ve used comprehensive vim editor, which can handle anything without any problems to view it, but it was useless anyway, because the XML was completely not in human readable format. Then I’ve been looking for some solution to format it or just to display its structure and I’ve found this class from Oracle.
Read the full articleLately I had to extract something from my old codes as a code example and I found an interesting unit testing solution, that I applied in one of my projects. We had some problems with units testing, because almost each thing for testing required fully initialized runtime application context.
Read the full articleHibernate and its way of associations mapping can be a bit hard to understand for beginners. Unidirectional and bidirectional mapping, cascade save, relation owner… How to construct correctly associations between objects to get desired effect? A short introduction based on OneToMany parent-child relation.
Read the full article