From our point of view, there are three fundamental characteristics of design you need to remember every day to build flexible architectures: understandable, loosely coupled and free of redundance. There are many well-known design principles that helps you to build such systems. Keep them in mind, build loosely coupled components, think about good APIs between them - and you are on the right track to build flexible applications and flexible architectures.
2. using JUnit Runner in eclipse: a. start Selenium Server: java -jar selenium-server.jar -port 4447 b. run Selenium Unit Test in eclipse using JUnit Runner
required selenium distribution: selenium-remote-control-1.0-beta-2-dist.zip and can be downloaded from http://seleniumhq.org/download/