Pure-Essence.Net

Archive for the ‘java’ Category

2011 nfjs Central Iowa Software Symposium

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 [...]

SPEL! I conquered you on a Friday!

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 [...]

Java concurrency – Multiple queue monitors

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 [...]

Eclipse 3.6 freezes at startup

Posted by: pureessence on: June 23, 2011

My Eclipse 3.6 froze today at startup. I think what I did was that I clicked on the shortcut a bit too fast and two instances of Eclipse started running at the same time. I got an error message for one saying “workspace in use”. I killed the one that showed the error message but [...]

m2eclipse plugin jdk warning

Posted by: pureessence on: June 15, 2011

More info – old issue but I ran into it on every freaking machine at home. After I installed the m2eclipse plugin on Eclipse 3.6, I keep getting the following warning on the console: The solution that worked for me is changing the shortcut properties for eclipse e.g. I couldn’t get the eclipse.ini updates to [...]

Eclipse 3.6 Auto Static Import

Posted by: pureessence on: June 9, 2011

After I started using JUnit 4, I really want Eclipse to automatically import org.junit.Assert.* statically for me. So when I do ctrl+space on methods like assertTrue, it will do: for me. I’ve figured it out for a while but I’ve been noticing it conflicting with my save action -> organize imports setting. I finally got [...]

Grails: I will not use you

Posted by: pureessence on: June 8, 2011

After the cijug presentation on Grails, I’ve decided I will not use it. I know Grails is hot and cool but I don’t like it. It’s probably just a personal preference. Why don’t I want to use Grails It’s built on spring and hibernate, so why not just use them directly? It’s just adding another [...]

Eclipse: stop it from searching certain directories

Posted by: pureessence on: May 25, 2011

It’s always annoying when you do a search (ctrl+h) in Eclipse and it produces results from directories you do not care about. In my particular case, the project’s ant build expands the built war files into a directory named target. Since this directory duplicates the files in the regular WebContent directory, often times I end [...]

Eclipse 3.6 toggle comment findings

Posted by: pureessence on: May 20, 2011

Despite of the usual convention of using ctrl+/, I found ctrl+shift+c is actually the way to go if you want it to work on everything. I care mostly about being able to toggle comment in the following file types: source code – comment with // or /* and */ block markup e.g. xml/html – comment [...]

Spring row mapper

Posted by: pureessence on: May 18, 2011

A coworker and I were chatting regarding spring rowMappers and I did a little more research and found the following: Spring’s simpleJdbcTemplate deprecated methods with parameterizedRowMapper in spring 3. The class ParameterizedRowMapper is not deprecated. Spring’s jdbcTemplate however only has methods that take RowMapper<T> so it will continue to work with parameterizedRowMapper. But it seems [...]


My most adorable Pomeranians

Categories

Archives

SocialVibe


Follow

Get every new post delivered to your Inbox.