Presentation is loading. Please wait.

Presentation is loading. Please wait.

Www.jetbrains.com Enterprise Development with IntelliJ IDEA Mike Aizatsky Project Manager JetBrains, Inc.

Similar presentations


Presentation on theme: "Www.jetbrains.com Enterprise Development with IntelliJ IDEA Mike Aizatsky Project Manager JetBrains, Inc."— Presentation transcript:

1 www.jetbrains.com Enterprise Development with IntelliJ IDEA Mike Aizatsky Project Manager JetBrains, Inc.

2 2 www.jetbrains.com What is this all about EJB development support Web development support J2EE applications deployment

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

4 4 www.jetbrains.com EJB Support Dedicated module type EJB view Descriptor editing Code assistance

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

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

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

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

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

10 10 www.jetbrains.com Customize Names

11 11 www.jetbrains.com 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 12 www.jetbrains.com Descriptors Editing: XML All the usual XML stuff Completion Validation Ejb-jar specific checks!

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

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

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

16 16 www.jetbrains.com Intention Actions Easy-to-use intentions and quick fixes are provided

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

18 18 www.jetbrains.com Find Usages Find Usages is EJB-aware

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

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

21 21 www.jetbrains.com Web Development

22 22 www.jetbrains.com Web Development Web application module type Web.xml editing JSP/HTML/CSS/JS smart editing

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

24 24 www.jetbrains.com Web.xml editing XML-based editing: –Completion –Error highlighting –Navigation Form-based editing

25 25 www.jetbrains.com HTML

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

27 27 www.jetbrains.com HTML: Code Completion Code Completion for: Tags Attributes Attribute values File references

28 28 www.jetbrains.com HTML: Find Usages Find usages of: Tags IDs Images Files

29 29 www.jetbrains.com 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 30 www.jetbrains.com HTML: Refactoring Rename –File –Id –Anchor Move File Safe Delete file index.xhtmlmain.xhtml

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

32 32 www.jetbrains.com CSS

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

34 34 www.jetbrains.com CSS: Completion Completion of: Tag names Properties Values Classes IDs, keywords, etc.

35 35 www.jetbrains.com CSS: Find Usages Find usages of id/class

36 36 www.jetbrains.com CSS: Validation CSS syntax checks Selectors Properties Values

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

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

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

40 40 www.jetbrains.com JavaScript

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

42 42 www.jetbrains.com JavaScript: Code Completion Code completion for: Keywords Variables Parameters Functions

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

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

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

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

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

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

49 49 www.jetbrains.com JavaScript: HTML All JavaScript features work in HTML files

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

51 51 www.jetbrains.com JSP: 2.0 Support Expression language Tag files and tag directories JSP documents (JSPX)

52 52 www.jetbrains.com JSP: Java Code Support Error highlighting All types of code completion Live Templates Usage search Refactorings Import assistant Other editing features

53 53 www.jetbrains.com JSP: Actions And Directives Code completion for actions and directives Code completion for attributes: constants, classes, files, properties Error checking Java code interaction

54 54 www.jetbrains.com JSP: Tag Libraries Support Completion Error highlighting Scripting variables: –Definition –Completion –Rename(!) Full TEI support

55 55 www.jetbrains.com JSP: Structure View 3 different view into the same page: JSP view – shows JSP tags HTML view – shows JSP structure Java view – shows Java declarations/structure

56 56 www.jetbrains.com JSP: Extract/Inline Refactoring Extract JSP fragment into separate JSP file Inline all occurrences of JSP fragments back

57 57 www.jetbrains.com JSP: Expression Language Completion Error highlighting Rename

58 58 www.jetbrains.com Compilation Generate.jar,.war and.ear files Dependencies support: inclusion to archive, linking via manifest Compile web application to exploded dir Compile on focus lost

59 59 www.jetbrains.com Deployment Out-of-the-box support for: –Tomcat 4, 5 –Weblogic 6, 7 Deployment to local and remote servers Automatic local server start Automatic redeployment on compile Deployment view

60 60 www.jetbrains.com Debugging Remote debug for remote applications JSP debug JSR-45 support

61 61 www.jetbrains.com Third-party Plugins

62 62 www.jetbrains.com Third-party Plugins > 200 plugins Freeware and commercial From “ZipTo(G)mail Backup” to UML diagramming

63 63 www.jetbrains.com Third-party Plugins: Frameworks Hibero – hibernate support Idea Spring - visualize configured beans Struts, Struts Navigator – struts framework support WebServicesPlugin - web services support using Axis engine

64 64 www.jetbrains.com Third-party Plugins: Servers Geronimo JBoss Orion Resin

65 65 www.jetbrains.com Third-party Plugins: Database DB Visual Architect – ORM round-trip code engineering SQL Query – a tool for executing SQL statements

66 66 www.jetbrains.com Third-party Plugins: Coding Inspection-JS - JavaScript static analysis XPathView - syntax highlighting, analysis, completion, navigation and refactoring of XPath expressions

67 67 www.jetbrains.com Hibero - Hibernate Plug-in Brings IntelliJ IDEA industry-leading coding and refactoring capabilities to Hibernate mapping files $49 ($35 during the introductory offer) http://www.betosoftware.com/hibero/

68 68 www.jetbrains.com Hibero - Hibernate Plug-in Auto-completion: Smart context aware completion from Java, Hibernate, Database Syntax and Error Highlighting Go To Declaration

69 69 www.jetbrains.com Hibero - Hibernate Plug-in Find Usages Rename, Move, Safe Delete refactorings Static Analysis. Over 20 code inspections and quick fixes.

70 70 www.jetbrains.com Inspect-JS Bringing inspections to JavaScript: 73 JavaScript inspections and 20 quickfixes $49 http://www.sixthandredriver.com/

71 71 www.jetbrains.com Inspect-JS Confusing control flow, including unreachable code Unsafe error handling DOM issues Performance issues Naming conventions and code style guidelines Common JavaScript bug patterns

72 72 www.jetbrains.com IDEA 6.0 Taking a look into the future

73 73 www.jetbrains.com IDEA 6.0 EJB 3.0 JSF Web Designer Struts support Tons of other enhancements

74 74 www.jetbrains.com EJB 3.0

75 75 www.jetbrains.com EJB 3.0: Annotations Annotation-based model Co-existence of both models Show declaration overrides Full error-checking of annotations Support of annotation references: find usages, rename, etc.

76 76 www.jetbrains.com EJB 3.0: Persistence Modules Persistence modules in any IDEA module Model diagram EJB QL support: error checks, completion, references

77 77 www.jetbrains.com EJB 3.0: Migration From 2.x Session beans: –Migration of server code –Assistance in client code migration –Automatic migration of common client patterns Entity beans: –Generation of new, clean Persistence module upon: old entity beans, Hibernate model or database schema

78 78 www.jetbrains.com EJB: More Improvements Highlighting of basically all EJB errors – if we give a “green” light – validator passes it. EJB errors analysis integration with compilation

79 79 www.jetbrains.com JSF Recognition of JSF usage in module JSF-enable module Faces-config smart editing Forms for configuration editing Full EL support Diagram engine for navigation

80 80 www.jetbrains.com JSF: EAP Screenshots

81 81 www.jetbrains.com JSF: EAP Screenshots

82 82 www.jetbrains.com JSF: EAP Screenshots

83 83 www.jetbrains.com Web Designer WYSIWYG Many features for better HTML layout planned Extensible, with components support (JSR-273 & JSR-276 support as soon as they arrive) JSP & JSF Support

84 84 www.jetbrains.com Web Designer

85 85 www.jetbrains.com JSP Improvements JSP 2.1 support: –Unified Expression Language Support –Design-time EL resolvers –Property and method references

86 86 www.jetbrains.com JSP Improvements Analyze included files in the context System selects one arbitrary Define context in “Hector” settings header.jsp file1.jsp file2.jsp file3.jsp file4.jsp

87 87 www.jetbrains.com HTML Improvements W3C validation right from IDEA Tons of improvements, based on our designers feedback

88 88 www.jetbrains.com CSS Improvements Style overriding inspection Dynamic CSS classes resolving (symbol- based) Extract/inline style refactoring

89 89 www.jetbrains.com JavaScript Improvements Name-based resolving, completion Code documentation W3C DOM support Type annotations Common JavaScript libraries/idioms support (Prototype, Dojo, DWR, etc.)

90 90 www.jetbrains.com Servers Support Update for Weblogic support: 9.0 WebSphere

91 91 www.jetbrains.com Open API Designer Open API XML-based DOM models Vendor-specific extensions Code completion Languages embedding into Java literals

92 www.jetbrains.com Q&A

93 93 www.jetbrains.com If You Only Remember One Thing… You can develop J2EE application with Pleasure!

94 94 www.jetbrains.com Feedback Is Welcome You can: Contact me right after the presentation Drop a line to support at our web site Create a feature/bug report (http://www.jetbrains.net/jira)http://www.jetbrains.net/jira Participate in EAP (http://www.intellij.net/eap/)http://www.intellij.net/eap/


Download ppt "Www.jetbrains.com Enterprise Development with IntelliJ IDEA Mike Aizatsky Project Manager JetBrains, Inc."

Similar presentations


Ads by Google