Enum Singleton

If you consider a singleton for solving a problem, you really should think again if it is the correct solution or if you are coding the equivalent of global variable. If you still want to use the singleton approach, ask your colleagues if this would be a good approach. If they agree, I might have [...]

Posted in: Design, Java by Jens Schauder No Comments

Sun, IBM and Oracle

When I first read the then news of IBM considering to buy Sun I was a little worried. What would it mean to my favorite programming language java? IBM is a strong player in the JCP and with Eclipse they made a IDE available that is constantly among the two most used and the three [...]

Posted in: Java, Oracle by Jens Schauder No Comments

Why Hibernate is so much more powerful than JDBC

Should I use Hibernate for the next project? How does it compare to JDBC This question get’s asked a lot. And the first answer is most of the times: That is comparing apples and oranges. And of course that is true. But if you are a little kid apples are round and tasty and so [...]

Posted in: Datenbank, Java, Softwareentwicklung by Jens Schauder 8 Comments