J2EE wizards

The J2EE wizards are proposed additions to the Spring IDE projects to allow creation of a number of typical J2EE artifacts through wizards.

Proposed wizards are:

This list is probably not yet complete. If you want to add or update these items please feel free to do so.

Open Points

  • Above wizards should be packaged as an optional feature, so user may choose not to install them.
  • What should happen as a result of the wizards?
    • Should the bean be added to the corresponding Spring configuration file? The wizards has to preserve the format and comments of a existing config file. So parsing the XML file as a DOM tree and persisting the modified DOM tree is not an option. Maybe using FileDocumentProvider from Eclipse's text editor API may help.
      • Create a non-existing Spring config file with the bean code. Ok, this is the trivial case. The wizard has to collect some additional data (name of config file, config set the config belongs to, ...).
      • Add the bean code to an already existing Spring config file. This is a non-trival case. The wizard has to ask for a position to add the newly defined bean (start / end of beans list, already defined bean to add the new bean before or after, ...).
      • Add the bean within the currently opened text editor at the current cursor position.
    • Or should the BeansCoreModel be updated and persisted accordingly? Currently there is no way to modify the BeansCoreModel. The only option is to add a bean to add the XML code to a Spring config file which is automatically re-read by the BeansCoreModel afterwards. Maybe we should start to discuss if BeansCoreModel should support modifications via an API and provide a way to persist it's BeansConfig / BeansConfigSet elements.