New and Noteworthy
Current Promotions
Features
- Spring MVC 3.0 Scaffolding
- GWT 2.1 + Spring Scaffolding
- Adobe Flex 4.0 Scaffolding
- Spring Web Flow Scaffolding
- iPhone Web Scaffolding
- Spring Security Scaffolding
- Spring Project Bootstrapping
- Spring Development Editors
- Spring Annotator
- Customizable Code Generation
- Google App Engine Support
All Videos
Educational Materials
FAQs
Support
Customizable Code Generation
Overview
What is it?
Customizable Code Generation provides a mechanism for users to customize any of the artifacts that get generated as part of scaffolding or artifact generation. Developers and architects can now incorporate their own development standards into the generation templates so that scaffolded GWT, Flex, iPhone, Spring MVC or Spring Web Flow applications adhere to custom requirements or corporate standards. All artifacts can be customized prior to the scaffolding process in MyEclipse for Spring, reducing the tedium of individual file editing.
Key aspects of Customizable Code Generation include:
- Users can customize all aspects of scaffolding and code generation to their own specifications and requirements
- The customizations can be applied on a per project basis or workspace wide
- Simply re-scaffold to see customization changes immediately, making testing your customizations a snap
- The customization project can be exported into a jar file, if desired
How does it work?
Simply create a customization project which contains all of the JET templates (for code generation) as well as all of the static web content that may be copied to a project during scaffolding. Add your customizations to the customization project and apply the customization project to either a specific project or workspace wide.

Please note that this is an Early Access feature. For more information and known issues, please visit the MyEclipse for Spring Forums.
Why use it?
Developers and architects can now incorporate their own development standards into the generation templates so that applications scaffolded with MyEclipse for Spring adhere to custom requirements or corporate standards.
Prior to this release, a user had to go into the generated artifacts and make manual updates and individual file edits to apply customizations to generated code. The Customizable Code Generation feature means that those tweaks can now be made before the scaffolding occurs. The customization project or jar file can be developed and then shared with all developers so that scaffolding produces a complete application to your own specifications without the need for post-scaffolding customization.
See it in action
Videos
Customizable Code Generation in MyEclipse for Spring
See how to use the Customizable Code Generation feature to modify the templates and static web content used in the Spring code generation. Using this feature, developers and architects can incorporate their own development standards into the generation templates so that applications scaffolded with MyEclipse for Spring adhere to custom requirements or corporate standards.
Documents
| Type | Document Description |
|---|---|
![]() | Customize Code Generation Tutorial A tutorial showing how to customize the scaffolding capabilities of MyEclipse for Spring. |
![]() | Packaging Customizations Tutorial A tutorial showing how to package customized scaffolding capabilities and share them. |
![]() | Tailoring Code Generation: An Example using Application Logging An article that demonstrates a simple use case of the Customizable Code Generation feature. The example illustrates how to enhance the templates that generate the annotation-based Spring Controllers and Services to include application logging. |







