Technology

Technology

Summer of Code: writing PHP plugins

Toomas finished the official part of the google summer of code program. It was an honor to be the mentor and I had/still have a lot of fun with him. Grab The PHP writing plugin for Eclipse from the update site and check it out if it works for you! Sorry, but java6 and eclipse [...]

Also posted in Business, Design, Eclipse, Tips | Comments Off

Comments closed, stay tuned for changes

Thanks to the ones bugging about posting new stuff. no thanks to my side for not doing this. summer has been busy yet slow-paced regarding online presence. ALL Comments are now disabled to prevent spamming. All moderation-queue comments were deleted (sry for the serious ones, over 3000 comments was too much to filter manually). Yes, [...]

Comments Off

Maven 2, Java 5, JUnit 4 and Eclipse with 3 steps!

STEP 1 – Create project mvn archetype:create -DgroupId=com.timegt.core -DartifactId=timegt-core STEP 2 – Fix pom.xml 1. replace name and url 2. replace 3.8.1 with 4.1 for junit-4.1 support 3. add this for JDK 5.0 support: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> </build> STEP 3 – Generate eclipse project settings and download/link [...]

Also posted in Eclipse | Leave a comment

Google, happy birthday!

Today Google has it’s 8th birthday! According to search engine logo. CONGRATS! These guys have definitely changed my life. Participation in Summer of Code is unforgettable because of the people I’ve met and the experience I’ve got. Just amazing. My adsense account is still in it’s early $thirties but who cares, I’m not doing this [...]

Also posted in Business | Leave a comment

No Big Silence – time to start up

Dear Reader, there is a reason. Good Reason. For the one month inactivity at my blog. Even then it was still a pleasure to serve everyone who came to this blog from google searching for eclipse word wrap, netbeans word wrap, junit transactions etc etc A bit less interesting pleasure has been to constantly remove [...]

Leave a comment

Just leave for 6 minutes and I’ll restart your Windows

I’ve been trying to transfer (temporarily) my life from linux/gentoo to Windows. This is hugely inspired by my new gadget, Nokia E61 and some other extreme-planning habits. Nokia/symbian still doesn’t have any reasonable way to sync calendar and notes with linux calendaring apps. So, welcome, dear windows xp service pack 2 For a start, I’m [...]

Leave a comment

Google Code Project Hosting – A replacement for Sourceforge?

engtech » Google Code Project Hosting – A replacement for Sourceforge?: “There is a new entry into the open source software code repository space: Google Code – Project Hosting. This will hopefully be a long awaited kick in the pants for Sourceforge.net which hosts many, many projects but it can be difficult to find the [...]

Leave a comment

Build a generic typesafe DAO with Hibernate and Spring AOP

Don’t repeat the DAO!: “With the adoption of Javaâ„¢ 5 generics, the idea of a generic typesafe Data Access Object (DAO) implementation has become feasible. In this article, system architect Per Mellqvist presents a generic DAO implementation class based on Hibernate. He then shows you how to use Spring AOP introductions to add a typesafe [...]

Also posted in Tips | Leave a comment

LiveValidator for ajaxified springframework

LiveValidator allows developers to turn their existing Validators into web2.0 ajax validators. Simply implement LiveValidator interface for any Validator implementation you want to ajaxify. That’s it! Now your web-application is automatically validating user input using ajax and displaying any error message in a traditional spring:bind tags.

Leave a comment

junit rollback after transaction commit

AbstractTransactionalDataSourceSpringContextTests (from springframework spring-mock.jar) is used to provide atomic junit-tests that won’t affect database state. This kind of isolation is achieved by running each test in a transaction that is rolled back after each test-run. The problem might start when you are using AbstractTransactionalDataSourceSpringContextTests with multiple sessions committing transactions (and commit cannot be rolled back, [...]

Also posted in Tips | 3 Comments