Real men use nightly builds - how to update your release-candidate or milestone Eclipse?

 

Are you having problems with updating your milestone or release-candidate eclipse? Are you always downloading full new package and unziping? Continue reading to find out how this can be solved simply by introducing less-known update site for integration build updates.

(more…)

Share:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • Reddit
Comments (0) Tuesday, May 30, 10:13 pm

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 interface to the class for query execution.”

Share:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • Reddit
Comments (0) Monday, May 29, 11:59 pm

Improving process by avoiding decision-making

 

What is a straightforward set of actions that lead to superior code or any other result? Keep number of decisions low.

I didn’t think this way until now but it really makes sense. So the goal is not to become superior decision-maker but to move to the next level: zero-decision policy. It’s like a concept from TQM (Total Quality Management) - Zero-Defect goal. Taken to extreme.

(more…)

Share:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • Reddit
Comments (0) Monday, May 29, 10:33 pm

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.

(more…)

Share:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • Reddit
Comments (0) Sunday, May 28, 3:01 pm

Eclipse word-wrap functionality

For now, following decision-points have been discovered for soft wrap:

  • Enable wrapping: is it File or System-wide Setting?
    Good would be to have file-specific setting and add global option for newly opened files.
    Should the state of wrap-mode restored after reopening file with editor? If yes then how to reset this option globally without making user-interface crappy and unintuitive.Quick-start: I would try to make it system-wide and later refactor it into an indivudual file editor configuration settings. Makes sense?
  • Wrap indentation: two choices: simple wrap that starts at every row beginning; smart wrap for java code that takes into account eclipse code formatting rules about proper indentation.Quick-start: Makes sense to start with simple wrap and later introduce extension point to enable wrapping rules to be taken from eclipse formatting plugin.

Explanation: Hard wrap is storing line-breaks in file. Soft wrap is just an editor capability to wrap long lines.

What are your ideas about word-wrap? How do you expect it to behave in eclipse?

UPDATE!! Please check this entry for initial alpha-release! (damaged line numbers etc when turning on but everything is restored after turning wrap off again).

Share:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • Reddit
Comments (5) Sunday, May 28, 6:45 am