7 Tips For Better JDeveloper Experience

46,677 views

Published on

A collection of tips for people who are using JDeveloper on a daily basis.

Published in: Business, Technology
5 Comments
35 Likes
Statistics
Notes
  • is there a shortcut for uncommenting multi-lines? Alt-Shift-Z seems to be the one for commeting mult-lines.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • thanks Smarty Juice for your command Ctrl+Alt+Minus
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Very useful - Go To File : Ctrl+Alt-(Minus)
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Possible addendum to slide 9: (gosh i wish this were a wiki so i could directly update it!)
    Ctrl + Shift + G = jump to specific line number.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • how can I download this?
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
46,677
On SlideShare
0
From Embeds
0
Number of Embeds
2,152
Actions
Shares
0
Downloads
0
Comments
5
Likes
35
Embeds 0
No embeds

No notes for slide
  • File List The File List makes it easier than ever to locate source files that are part of your project. You can search by file name, file extension, status, date modified and more.
  • 7 Tips For Better JDeveloper Experience

    1. 1. 7 Tips to Give you a Better JDeveloper Experience Shay Shmeltzer Group Manager – Oracle JDeveloper/ADF http://blogs.oracle.com/shay Warning – demos contain small fonts like this You might want to come closer
    2. 2. Agenda <ul><li>Coding Short-cuts </li></ul><ul><li>Easy Navigation </li></ul><ul><li>The Structure Pane </li></ul><ul><li>Debugging </li></ul><ul><li>Extending JDeveloper </li></ul><ul><li>Where to get information </li></ul>
    3. 3. Agenda <ul><li>Coding Short-cuts </li></ul><ul><li>Easy Navigation </li></ul><ul><li>The Structure Pane </li></ul><ul><li>Debugging </li></ul><ul><li>Extending JDeveloper </li></ul><ul><li>Where to get information </li></ul>
    4. 4. The Code Editor <ul><li>You will end up coding (even if you are using ADF) </li></ul><ul><li>It’s not notepad! </li></ul><ul><li>Do you really know it? </li></ul><ul><li>Are you up to date on new features? </li></ul><ul><li>Do you know how it can help you code? </li></ul><ul><li>Do you know how it can help you find thing? </li></ul>
    5. 5. Source Menu <ul><li>Accelerate coding </li></ul><ul><li>Keyboard shortcuts or menu or context menu </li></ul><ul><li>You can change keyboard accelerators </li></ul><ul><li>Configurable Code Templates </li></ul>
    6. 6. Shortcuts to Remember <ul><li>Ctrl+Enter = code template </li></ul><ul><li>Ctrl+Shift+Enter = complete statement </li></ul><ul><li>Ctrl+Alt+Space = smart complete </li></ul><ul><li>Ctrl+Alt+V = creates variables for you </li></ul>
    7. 7. Code Templates <ul><li>You can add new ones </li></ul><ul><li>You can parameterize them </li></ul><ul><li>Not for everything –Sometimes you should create a utility package </li></ul>
    8. 8. Agenda <ul><li>Coding Short-cuts </li></ul><ul><li>Easy Navigation </li></ul><ul><li>The Structure Pane </li></ul><ul><li>Debugging </li></ul><ul><li>Extending JDeveloper </li></ul><ul><li>Where to get information </li></ul>
    9. 9. Navigating Your Application’s Files <ul><li>Ctrl+ Mouse Click = Go to Declaration </li></ul><ul><li>Ctrl + - = Go to class </li></ul><ul><li>Ctrl + Alt + - = Go to file </li></ul><ul><li>Alt + Home = Locate file in app navigator </li></ul><ul><li>App Navigator – find as you type </li></ul>
    10. 10. File List – Search for Files by Pattern <ul><ul><li>Easy to locate source files </li></ul></ul><ul><ul><li>Search by name, extension, status and more </li></ul></ul>
    11. 11. Search in Log Window <ul><li>Ctrl+F and search term </li></ul><ul><li>Hidden currently, exposed in next release </li></ul>
    12. 12. Navigate Your Class <ul><li>Ctrl+Shift+` = Quick outline navigator </li></ul><ul><li>Structure pane </li></ul><ul><ul><li>Type as you go </li></ul></ul><ul><li>Alt + Arrow = Navigate to next/prev member </li></ul><ul><li>Automatic Highlight </li></ul>
    13. 13. Navigate Your Errors/Tasks <ul><li>Click to go to specific line </li></ul><ul><li>Control to see overview </li></ul><ul><li>Color coded </li></ul>
    14. 14. JSF Navigation <ul><li>Page component hierarchy </li></ul><ul><li>Ctrl+Click on managed beans </li></ul>
    15. 15. Context Navigation
    16. 16. Context Navigation Cont’
    17. 17. Agenda <ul><li>Coding Short-cuts </li></ul><ul><li>Easy Navigation </li></ul><ul><li>The Structure Pane </li></ul><ul><li>Debugging </li></ul><ul><li>Extending JDeveloper </li></ul><ul><li>Where to get information </li></ul>
    18. 18. Structure Pane – The Hidden Editor <ul><li>Very useful when working with your xml based pages </li></ul><ul><li>Move things around </li></ul><ul><li>Insert Items in the right location </li></ul><ul><li>Surround items </li></ul><ul><li>More… </li></ul>
    19. 19. Insert Something in the Right Place
    20. 20. Surround Objects
    21. 21. For ADF Business Components
    22. 22. For Java Files
    23. 23. Space Problems In the Visual Editor ? From This To This
    24. 24. With Two Steps Change Resolution Hide Facets Don’t forget to minimize the log window
    25. 25. Agenda <ul><li>Coding Short-cuts </li></ul><ul><li>Easy Navigation </li></ul><ul><li>The Structure Pane </li></ul><ul><li>Debugging </li></ul><ul><li>Extending JDeveloper </li></ul><ul><li>Where to get information </li></ul>
    26. 26. ADF Debugging <ul><li>New in JDeveloper 11g </li></ul><ul><li>Debug declarative and XML based artifacts </li></ul><ul><li>Specific debugger windows </li></ul><ul><li>Don’t forget about debug messages and possibility to get ADF source code </li></ul>
    27. 27. Breakpoint on Declarative Artifacts
    28. 28. Specific Windows
    29. 29. Specific Contextual Information
    30. 30. Document Your Work <ul><li>JDeveloper has modelers </li></ul><ul><li>They can do reverse engineer </li></ul><ul><li>Use them to document your application </li></ul><ul><li>Java Class, EJB, ADF BC, Database, ADF Taskflows, BPEL, UML </li></ul>
    31. 31. Agenda <ul><li>Coding Short-cuts </li></ul><ul><li>Easy Navigation </li></ul><ul><li>The Structure Pane </li></ul><ul><li>Debugging </li></ul><ul><li>Extending JDeveloper </li></ul><ul><li>Where to get information </li></ul>
    32. 32. 2 Ways to Extend JDeveloper <ul><li>Extension SDK </li></ul><ul><ul><li>Add menus, wizards, editors and more </li></ul></ul><ul><ul><li>Comes with samples </li></ul></ul><ul><ul><li>Look at other open source extensions </li></ul></ul><ul><ul><li>Easier in 11g – new wizards and declarative options </li></ul></ul><ul><li>External Tools </li></ul><ul><ul><li>Invoke command line interfaces </li></ul></ul><ul><ul><li>Pass parameters </li></ul></ul><ul><ul><li>Add menus to Jdeveloper </li></ul></ul><ul><ul><li>No coding needed </li></ul></ul>
    33. 33. No Coding Extension
    34. 34. Agenda <ul><li>Coding Short-cuts </li></ul><ul><li>Easy Navigation </li></ul><ul><li>The Structure Pane </li></ul><ul><li>Debugging </li></ul><ul><li>Extending JDeveloper </li></ul><ul><li>Where to get information </li></ul>
    35. 35. The Truth is Out There <ul><li>The net is full with ADF & JDeveloper knowledge </li></ul><ul><li>The tricky part is finding the info you need </li></ul><ul><li>Google is a good start </li></ul><ul><li>Here are several other sources of data… </li></ul>FBI agents Fox Mulder
    36. 36. Keep Up To Date <ul><li>JDeveloper RSS News Feed </li></ul><ul><ul><li>http://oracle.com/technology/products/jdev/jdeveloper_news.xml </li></ul></ul><ul><li>JDeveloper Blog RSS Feed </li></ul><ul><ul><li>http://www.connotea.org/rss/user/jdeveloper </li></ul></ul><ul><li>OTN Dev2Dev Newsletter </li></ul><ul><ul><li>http://oracle.com/technology/tech/java/newsletter/archive.html </li></ul></ul><ul><li>JDeveloper Twitter </li></ul><ul><ul><li>http://twitter.com/JdevADF </li></ul></ul>
    37. 37. Get Them In Your Home Page
    38. 38. Get Them Inside JDeveloper <ul><li>Google Search Extension </li></ul><ul><li>Blogs Search Extension </li></ul><ul><li>Forums Search Extension </li></ul><ul><li>RSS Ticker Extension </li></ul><ul><ul><li>Help->Check for Updates -> Open source and partners </li></ul></ul>
    39. 39. Search Blogs <ul><li>http://www.connotea.org/user/jdeveloper </li></ul>
    40. 40. OTN Discussion Forum <ul><li>This is the community </li></ul><ul><li>They can help you </li></ul><ul><li>You need to help them help you </li></ul><ul><ul><ul><li>Meaningful subject </li></ul></ul></ul><ul><ul><ul><li>Version and technologies used </li></ul></ul></ul><ul><ul><ul><li>What you did and why? </li></ul></ul></ul><ul><ul><li>Other Forums: WebLogic, TopLink/JPA, BPEL </li></ul></ul><ul><li>Good knowledge repository </li></ul><ul><li>Not replacing Oracle Support </li></ul>
    41. 41. ADF Enterprise Methodology Group <ul><li>Created by your peers for you </li></ul><ul><li>Higher level of discussion </li></ul><ul><li>Best practices </li></ul><ul><li>Google group </li></ul><ul><ul><li>http://groups.google.com/group/adf-methodology </li></ul></ul>
    42. 42. Summary <ul><li>There is always more that you can learn about JDeveloper </li></ul><ul><li>You probably know things others don’t </li></ul><ul><li>Share the knowledge </li></ul><ul><ul><li>Start a blog </li></ul></ul><ul><ul><li>Help on the forum </li></ul></ul><ul><ul><li>Update the wiki </li></ul></ul><ul><ul><li>Join a user group </li></ul></ul><ul><li>Be part of the community </li></ul><Insert Picture Here>
    43. 43. The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

    ×