1 / 94

Enterprise Development with IntelliJ IDEA

Enterprise Development with IntelliJ IDEA. Mike Aizatsky Project Manager JetBrains, Inc. What is this all about. EJB development support Web development support J2EE applications deployment. Present & Future. IntelliJ IDEA 5.0 & 5.1 Plugins for IDEA 5 Features in development (IDEA 6.0).

giona
Download Presentation

Enterprise Development with IntelliJ IDEA

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Enterprise Development with IntelliJ IDEA Mike Aizatsky Project ManagerJetBrains, Inc.

  2. What is this all about • EJB development support • Web development support • J2EE applications deployment

  3. Present & Future • IntelliJ IDEA 5.0 & 5.1 • Plugins for IDEA 5 • Features in development (IDEA 6.0)

  4. EJB Support • Dedicated module type • EJB view • Descriptor editing • Code assistance

  5. EJB Module Type • Basically the same Java module • ejb-jar.xml is additionally specified

  6. EJB View • Shows beans in the module • Individual bean structure • Starting place for EJB creation

  7. EJB View • Beans in the module • Classes, comprising a bean • Bean structure: fields, primary keys

  8. Rapid EJB Creation • All types of beans • Generates all needed interfaces • Adds descriptor entries

  9. Rapid EJB Creation • Supply just bean name & package • All other names are derived automatically • Specify what you need to generate

  10. Customize Names

  11. Easy Transfer Objects • Choose a bean to generate Transfer Object • Transfer Object Bean is generated • Setter/getter automatically added to bean interfaces and implementation

  12. Descriptors Editing: XML All the usual XML stuff • Completion • Validation Ejb-jar specific checks!

  13. Descriptors Editing: Forms • Form editors instead of xml file • Cover almost all aspects of ejb-jar.xml • Validation checks

  14. EJB-aware Code Assistance • On-the-fly validation • Intention actions • Navigation • Find usages • Refactorings

  15. On-the-fly Validation • Dozens of checks for specification violation • All checks are version-dependent

  16. Intention Actions • Easy-to-use intentions and quick fixes are provided

  17. Navigation Every navigation feature is aware of EJB structure and name conventions

  18. Find Usages Find Usages is EJB-aware

  19. Refactoring • All Java refactorings work nicely • EJB “inheritance” is supported by rename • Rename EJB with all EJB classes automatically renamed

  20. Other Frameworks Support Spring, Hibernate configuration files: • Classes, properties autocompletion • Find usages • Rename/move

  21. Web Development

  22. Web Development • Web application module type • Web.xml editing • JSP/HTML/CSS/JS smart editing

  23. Web Application Module Type • Basically the same Java module • web.xml location is specified • Web resource dir is added

  24. Web.xml editing • XML-based editing: • Completion • Error highlighting • Navigation • Form-based editing

  25. HTML

  26. HTML Many Java developers do HTML coding. They deserve the same pleasure!

  27. HTML: Code Completion Code Completion for: • Tags • Attributes • Attribute values • File references

  28. HTML: Find Usages Find usages of: • Tags • IDs • Images • Files

  29. HTML: Validation • Tag structure • Missing required attributes • Invalid attributes or illegal attribute values • Invalid local anchor • Wrong references to files in hyperlinks • Duplicate attributes

  30. HTML: Refactoring • Rename • File • Id • Anchor • Move File • Safe Delete file index.xhtml main.xhtml

  31. HTML: Tons Of Other Features • Quick tag/attributes documentation • Structure View • Open file in browser • Surround with tag • And many, many others

  32. CSS

  33. CSS CSS is a complex beast. We need a better tool for taming it.

  34. CSS: Completion Completion of: • Tag names • Properties • Values • Classes • IDs, keywords, etc.

  35. CSS: Find Usages Find usages of id/class

  36. CSS: Validation • CSS syntax checks • Selectors • Properties • Values

  37. CSS: Refactoring • Rename • File • Class • ID • Move/Copy file • Safe delete file • Extract style block from HTML into a CSS file

  38. CSS: Show Applied Styles Shows all applied CSS styles to a given tag from all CSS files/declarations

  39. CSS: Even More Features • Intention actions • Quick documentation access • Unused declarations highlighting • Code formatting • Structure view • Go to declaration • And many more…

  40. JavaScript

  41. JavaScript Our goal: make JavaScript development the same pleasure as Java development is

  42. JavaScript: Code Completion Code completion for: • Keywords • Variables • Parameters • Functions

  43. JavaScript: Error Highlighting On-the-fly syntax errors detection

  44. JavaScript: Find Usages Find Usages of: • Local variables • Parameters • Global variables • Global functions • No qualified references (yet)

  45. JavaScript: Structure View Shows high-level structure of JavaScript file

  46. JavaScript: Code Formatting Versatile code formatting, powered by the same Java code formatting engine

  47. JavaScript: Refactoring • Rename: • File • Function • Variable • Parameter • Move/copy file • Safe delete file • Extract inlined scripts in HTML

  48. JavaScript: More Code Insight • Surround with {}, if, for, etc. • Go to declaration (variables, globals, parameters)

  49. JavaScript: HTML All JavaScript features work in HTML files

  50. JSP • Supports all editing features of embedded languages: HTML, CSS, JavaScript, Java • JSP constructs smart editing • JSP view • Content refactoring

More Related