It is very common that Eclipse-based applications need a web UI for at least part of their functionality. Ideally, you would want to write your code once and deploy on the web and in Eclipse. How is this possible?
As part of the e4 project, we have explored how web UI components can be written isuch that they can be embedded in Eclipse as first-class views or editors. This tutorial will go into detail on what's involved when you want to embed web UI components in Eclipse.