Spring and Hibernate Coding Assistance

IntelliJ IDEA 7 M1 introduces the full-blown support for Spring and Hibernate through the dedicated facets. Traditionally, Spring and Hibernate are integrated with a wide range of IntelliJ IDEA productivity-boosting features.

With IntelliJ IDEA you can create Spring applications from scratch with just few keystrokes.

Here I outline some examples that demonstrate how IntelliJ IDEA can help you.

  • Context files are created from templates
    Descriptor Template
  • ALT+INS inside of a context file lets instantly add beans and patterns
    Generate Patterns
  • Very wide range of beans is supported. Each of them is created through a dedicated live template — all you have to do is to type values for required properties.
    Bean Types
    (More live templates to come in later builds)
  • If required libraries are missing from your system, they can be automatically downloaded and configured
    Automatic library configuration
  • You don’t need to dig through class files to manually generate properties, just select them from the list
    Generate Properties
  • Quick-fixes are available for rapid error resolution
    Constructor quick fix
  • HIbernate diagram not only displays relationships, but lets you create classes and entities, automatically generating required code.
    Hibernate Diagram
  • As always, CTRL+SPACE code completion helps you with bean names, property values, settings and tons of other stuff. It can recognize your entire project structure and help even with beans you created by annotating Java code.
    Hibernate Completion
  • IntelliJ IDEA refactorings are also Spring and Hibernate-aware, so you can modify and upgrade your projects at the full pace.

To get your hands on and try Spring with IntelliJ IDEA, download the latest EAP build of IntelliJ IDEA 7 M1.

Technorati tags: IntelliJ IDEA, IntelliJ, Spring, Hibernate
image description