• Home
  • RSS Feed
  • Log in

Author Archive

Color up your mind-map
Posted by Okke Harsta at around evening time: March 31st, 2007

And now for something completely different: how to mind-map in color with a little help from ruby?

I like to mind-map and the tool I use is FreeMind. You can add icons to your nodes, import pictures etc.etc. You can also add some color to your mind-map; select a node and change the color. For some -strange- reason I wanted to have all my nodes in different colors and after one minute of selecting nodes, changing colors I already abandoned that idea => too tedious. Ruby to the rescue: Freemind stores your mind-maps in XML format and this little ruby script turns your boring mind-map into something colorful:


require 'rexml/document'
include REXML

def traverse_element(element)
    element.elements.each('node') do |e|
        e.attributes['COLOR']= ("#%06x" % rand(0xffffff))
        traverse_element(e)
    end
end

doc = Document.new(File.new("original_boring_mindmap.mm"))
traverse_element(doc.root)
out = File.new("new_colorful_mindmap.mm","w")
out.write(doc)

Nerdy? You bet ya.....

  • Share/Bookmark

Filed under General | 1 Comment »

How to implement your own Security provider with the Acegi framework.
Posted by Okke Harsta in the early morning: March 4th, 2007

In a previous blog I described the minimal basic configuration of the Acegi framework. In this blog I'll show you how easy it is to implement your own security provider. There can be many reasons why you would want to implement such a customized security provider. In my case I had to secure an application using user information that was being maintained by an external php-based application. The user information could only be retrieved using a web service. In this blog I will demonstrate several ways to implement your own security provider.

(more...)

  • Share/Bookmark

Filed under Security | 2 Comments »

How to get started with the Acegi framework
Posted by Okke Harsta in the early morning: March 4th, 2007

How to get started with the Acegi framework and implement your own Security provider?

In the old days folks used the J2EE securing capabilities of the app server. This is of course still an option, but there are superior alternatives like the Acegi framework. Acegi is far from new and with the latest releases it has become a very stable and easy-to-use framework, especially when combined with Spring. I had to implement a custom security provider for a customer and was very surprised how easy this was accomplished. This blog describes the steps I took to get started with Acegi.

(more...)

  • Share/Bookmark

Filed under Security | 3 Comments »

AspectJ and Maven2
Posted by Okke Harsta mid-afternoon: November 4th, 2006

How to use AspectJ to check your code in combination with maven2?

A couple a weeks ago me and some colleagues took a two day course in AOP. The course was given by the excellent teacher Adrian Colyer. In this short blog I want to show you a very nice (not well known) feature of AspectJ and how you can integrate AspectJ in your build using the maven2 plugin.

(more...)

  • Share/Bookmark

Filed under Java | 1 Comment »

Using the Maven2 assembly plug-in to package and deliver your applications
Posted by Okke Harsta at around evening time: July 30th, 2006

You have finished your first iteration in your project and in order to get feedback from the business you wish to have your application deployed on the test environment. In many projects the test environment is maintained by the developers. That is fine, but the acceptance and production environment are not. Why not start packaging and delivering your project artifacts like you would with a production release? This way you have a chance to fine-tune this process. When the time comes that you will have to deliver to an acceptance or production release you will have automated this process, aligned it with the expectations of the department responsible for deployment and, hopefully, made it less fallible. Where to start?

(more...)

  • Share/Bookmark

Filed under Java | 2 Comments »

Configure your external dependencies with Spring & Jndi
Posted by Okke Harsta just before lunchtime: July 16th, 2006

How to deal with platform environment (Test, Acceptance, Production etc.) specific variables in Java applications?

Applications often need resources like databases, third-company web services, ldap servers and other external systems. It is common practice to externalize the configuration of such resources. In the case of a database dependency the use of a DataSource (hiding the complexity of configuring and connecting to the database) is a good example of this. The details of the configuration are in most cases platform environment specific. So how do we properly externalize the details of the configuration?

(more...)

  • Share/Bookmark

Filed under Java | 8 Comments »

Deployment automation for Java application running on Websphere, WebLogic and JBoss

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India

Categories

  • Java (282)
  • Agile (109)
  • General (50)
  • Testing (42)
  • Performance (42)
  • Hibernate (36)
  • Scrum (33)
  • Podcast (31)
  • Architecture (31)
  • Spring (28)
  • SOA (24)
  • Maven (22)
  • Project Management (22)
  • Middleware (23)
    • Deployment (14)
  • Flex (17)
  • JPA (17)
  • Eclipse (15)
  • Xebia Labs (15)
  • Quality Assurance (14)

Tag Cloud

    Seam Groovy qcon Agile Semantic Web Agile Awareness Workshop JavaOne Testing XML Grails esb fitnesse Lean Functional Programming Performance Closures Ajax Scrum Introduction to Agile Hibernate Java Xebia IntelliJ Poppendieck Architecture product owner SOA Maven Spring Scala