On DTOs
DTOs, or data-transfer objects, are commonly used. What is not со commonly-known is that they originate from DDD (Domain-driven design). There it makes a lot of sense – domain objectsContinue reading
DTOs, or data-transfer objects, are commonly used. What is not со commonly-known is that they originate from DDD (Domain-driven design). There it makes a lot of sense – domain objectsContinue reading
I’ve been answering spring and CDI questions on stackoverflow quite a lot, and what I notice as a recurring mistake (or misconception) is that people aren’t aware that they shouldContinue reading
Recently I was introduced to a project that’s already 4 months in development. After a day of coding I realized there’s something wrong with the session and transaction management. ThenContinue reading
My old laptop broke (3.5 years in service already), so I had to get a new one. I thought it would be easy – I went to an online store,Continue reading
Ever since I started working full-time, I’ve been wearing slippers at work. Just because it is way more comfortable than staying with your shoes on all day long. Sounds weird?Continue reading
How should you decide when to use trailing slashes with pretty URLs? In my opinion you should never use them. Why? Because a trailing slash denotes a directory, while theContinue reading
(This isn’t going to be a rant. I’ll try to figure out why the problems with the facebook graph API exist) The other day an article got popular on dzone.Continue reading
JPA and domain-driven design don’t mix well. In fact, JPA “entities” are representatives of the anemic data model that Fowler warns against. I have already discussed DDD in the lightContinue reading
The usual choice for a collation in MySQL is utf8_general_ci (or whataver_ci). ci means “case insensitive” (there are also the _cs collations). All is fine with that, but if youContinue reading
Frameworks like Hibernate and Spring are industry-standards. JSF, EJB and the likes are also standards and used in many applications. But there are always people that are against these frameworks.Continue reading