We recently had what sounded like a simple job to do: produce a questionnaire in several languages including Russian and store the results in a MySQL database. Now I could have chosen PHP to produce the questionnaire, but I thought that using Java resource bundles would be the easiest. I knew that using the JSTL fmt: tags we could do fmt:message and pull the messages out of a resouce bundle so all I had to do was get the translators to take the english property file, translate it and hey presto! Java knows about Unicode right into its core, so it would all work wouldn’t it.
How wrong I was! Continue reading Internationalising JSPs
I don’t suppose that this is something that many people need to do, but just in case I thought I’d post this little code snippet Continue reading Converting Lisp universal times to Java Dates
Have you ever had the problem where there’s a class missing and you’ve no idea which jar it might be in? Or been running a Java program and wondered why the implementation of a class doesn’t seem to match what you think, and it turns out that there’s another implementation earlier in the classpath? Or wondered which jar has the properties file you’re looking for?
If you’ve answered yes to any of these question, you might like these little utilities Continue reading Which jar contains my…
The aim of this project was to be able to get the groups that an NT user belongs to using ADSI (Active Directory Services Interface) and make this available in Java. In the first article we described how to get ADSI information using VBScript, JScript and then C++. Now we show how to wrap up the C++ function in a DLL that’s accessible using JNI. Continue reading Accessing ADSI from Java
The aim of this project is to generate an SQL script from an existing database such that the tables and data can be recreated exactly as it was. Continue reading Generating a database dump SQL Script from Java