Posted by: pureessence on: May 23, 2012
Here’s something I learned about Jackson and you may run into it. What gets serialized by default? Properties of an object are initially determined by process called auto-detection: all member methods and fields are checked to find: “Getter” methods: all no-argument public member methods which return a value, and conform to naming convention of “getXxx” [...]
Posted by: pureessence on: May 8, 2012
From Class to list of Enums So if I want to instantiate a class via some condition, I can do the following but still how do I know what type to use? https://github.com/dodozhang21/JavaGenerics
Posted by: pureessence on: March 4, 2012
A coworker asked me about CSS positions. I admit I’m no expert in this topic. However, I want to illustrate my brief understanding. Maybe you will find them helpful. Position: static Default, you don’t have to set it. Position: relative It’s like a ghost image. Setting the corresponding properties of top, left, right, or bottom [...]
Posted by: pureessence on: October 1, 2011
A coworker of my husband’s, let’s call him Watson, has some interesting ways of dealing with situations. As a system administrator, he has unique powers. Two days ago my husband received a support ticket regarding a temporary employee unable to log into her machine. My husband updated her password and verified and he could log [...]
Posted by: pureessence on: September 22, 2011
There is a business requirement on a project I have at work to only allow a certain number of properties editable at a certain stage of the domain object’s life cycle. And like always, the properties defined to be editable could change in the future. I already have a page that allows the user to [...]
Posted by: pureessence on: September 2, 2011
Being a big jQuery fan, I use jQuery.each method a lot in my Javascript code. Until recently I didn’t think too hard what jQuery.each really is. Its description says it’s an iterator but it certainly is NOT a true iterator. For example: Let me know what you expect the code below to return. Before I [...]
Posted by: pureessence on: August 8, 2011
My survey responses to the 2011 nfjs Central Iowa Software Symposium event for my company. Benefits to you and the company from attending this event: Keep up to date regarding the current technologies and development in the Java community. Information that your co-workers / the company should be aware of: Functional programming is making a [...]
Posted by: pureessence on: July 24, 2011
After over ten years of javascript programming, I’m finally seriously considering writing at least unit tests for my javascript. Since I’m such a big fan of jQuery, QUnit seems like the obvious choice. It’s sad but better late than never. The truth is, in my opinion, the fact that javascript test frameworks do not yet [...]
Posted by: pureessence on: July 22, 2011
Today is my first attempt at using SPEL. After a mighty struggle, I was able to conquer it! Background: I needed a year variable for some work on a jsp page. It’s not always defined. I know for our routable datasource, a default year is required in order for it to work. I wanted to [...]
Posted by: pureessence on: June 25, 2011
At work, I’ve implemented a queue monitor batch application. Due to business rule changes, it now needs to monitor two queues. Instead of creating another batch application, I really wanted to stick with the same application but just create two threads, each monitoring its own queue. However, the twist I need is to have the [...]
SocialVibe