Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

when I develop a RCP application I always ask myself should I do it 'by hand' or should I use the XML configuration? Is it only a matter of taste, what benefits am I missing when I don't use the configuration approach. Is there anything to think of when converting an RCP app to e4 in the future?

Thanks for sharing your thoughts!


share|improve this question
great question, curious as to the answer myself. –  Alb Jan 30 '11 at 13:37

3 Answers 3

up vote 1 down vote accepted

Even though sometimes it's easier and/or faster to solve a problem programmatically, I always try to find a way to do something using the xml configuration approach.

As blueberryfields said, the less code you have to write and maintain, the better.

share|improve this answer
'Try to find a way...' is pretty much the reason why I asked this question in the first place. Sometimes it's very hard to do so and you are tempted to write it on your own. –  th_reiche Feb 2 '11 at 19:33

I would go for the configuration approach - the less code I have to write and maintain, the better.

share|improve this answer

As someone that dealt with the trainwreck known as Eclipse RCP for a while - go with the XML configuration. If not you're just going to have to go back and hand edit changes later.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.