Holy Java Blog

The Ultimate Web UI Framework
25 Nov 2007 1:45pm GMT Recently I have found myself in the need of a framework for creating rich, responsive and highly interactive web-based user interfaces that would ideally be easy to use and fast to learn. I was basically only interested in the view part of the presentation tier, that's the UI running in user's browser and interacting with him/her. I had no preferences regarding the 'M' and 'C' of MVC, in other words the server-side of the presentation-tier.After doing some research I've found a couple of...

Introducing Facelets
19 Nov 2007 1:44pm GMT You might have already heard about Facelets (docs), a library for Java Server Faces (JSF), and wondered why it is popular and what it is good for. I've wondered too and now I want to share the answers with you.Warning: I'm a novice to Facelets and some things may be not completely exact. Facelets isan alternative, non-JSP view technology and handler for JSF that gives you the power of JSP while avoiding its inherent problems with JSFa simple templating system similar partly to Tilesa way...

Truncating UTF String to the given number of bytes while preserving its validity [for DB insert]
2 Nov 2007 12:03pm GMT Often you need to insert a String from Java into a database column with a fixed length specified in bytes. Using string.substring(0, DB_FIELD_LENGTH); isn't enough because it only cuts down the number of characters but in UTF-8 a single character may be represented by 1-4 bytes. But you cannot just turn the string into an array of bytes and use its first DB_FIELD_LENGTH elements because you could end up with an invalid UTF-8 character at the end (one that is represented by 2+ bytes while...

VMWare: Shrink image even though it's a snapshot
21 Aug 2007 10:02am GMT How to shrink a vmware image that is a snapshot depending on a parent image.

Dependency Finder 1.2.0 for Java
15 Jun 2007 3:35pm GMT Dependency Finder for java can help you to find your way in unknown class files/library. Usage: Import the class files - File > Extract; wait... Note: you may need to increase the JVM's memory. Store the extracted information about the imported classes - File > Save Select the programming elements to examine by selecting the proper checkboxes - by default it's set to packages, you may rather want classes or packages+classes. Display a dependency 'graph' - File > Dependency. The...

1 2 3 4 > 

© dotMobi 2007-2008. All rights reserved