Archive for January, 2007
A co-worker and friend of mine recently released a new open-source project. It is called Jasypt (Java Simplified Encryption).
It is focused on simplying the most usual cryptographic tasks (like encryption and hashing) with a plus: it is designed with easy integration in mind.
If using Hibernate, you can declaratively configure encryption for your persistent entities, [...]
Usually, when working in an application (at any level, design, implementation…) we focus on what it should do, and on the path we set up for the user to accomplish a task. We don’t think too much about errors, other than (maybe) catching them all and printing a cryptic, generic message to the end user.No [...]
This is mostly a reminder for myself (I read somewhere that one needs to write down things to actually make them stick to the brain). But it might also help you.
When reading date-time information from a database (that is, year, day, month… but also hour, minute, second, millisecond), always use ResultSet.getTimestamp(). I repeat. Always.
By some [...]
Sometimes (quite randombly) the Oracle 10 JDBC driver will throw an SqlException with the message “OALL8 is in an inconsistent state“.
This, apparently, is a bug on the JDBC code, and shows up when using the driver to connecto to any Oracle version (I was using it agains an 8i version, and I have seen reports [...]
Well, that was just in figurated sense…
Te real fact is that MSN Messenger likes to use port 1098 (for UDP), which are also used by the default JBoss Naming service. According to some other people, that port can also be used by Outlook or even Firefox (although I use Firefox everyday and it [...]



