How to be effective with JBoss Developer Studio

3,812 views
3,590 views

Published on

Abstract from JBoss World 2011:

How do you use JBoss Developer Studio effectively while developing applications based on JBoss technology? In this session, Max Rydahl Andersen will cover how you can use pure Eclipse to build multi-module projects, and also how you can make it fit into a Maven world.

Max will explain how you can deploy applications quickly and efficiently into local, remote hosts and even into the cloud.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,812
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • How to be effective with JBoss Developer Studio

    1. 1. How to be effective withJBoss Developer Studio Max Rydahl Andersen Senior Principal Dude, Red Hat 4th May, 2011
    2. 2. Me, me, me!• Max Rydahl Andersen• Lead of JBoss Tools & Developer Studio• Hibernate Core, Tools, Seam, Weld, CDI, Forge, AS 7, ...• Co-host on JBoss Community Asylum Podcast• @maxandersen on Twitter
    3. 3. The Stuff!• What is JBoss Developer Studio• How to get JBoss Developer Studio• More Plugins!• Multi-Module Projects• Enterprise Maven• Local, Remote & Cloud Deployment
    4. 4. What is it ?
    5. 5. Eclipse
    6. 6. EclipseApplication Server
    7. 7. JBoss Tools Eclipse Application Server
    8. 8. JBoss Tools3rd EclipseParty Plugins Application Server
    9. 9. Examples JBoss Tools3rd EclipseParty Plugins Application Server
    10. 10. Examples Q &A JBoss Tools3rd EclipseParty Plugins Application Server
    11. 11. Installer Examples Q &A JBoss Tools3rd EclipseParty Plugins Application Server
    12. 12. Application Server
    13. 13. Free!
    14. 14. Application Server 99$
    15. 15. EAP EAP Tom AS 4 AS 5 AS 6 ...4.x 5.x cat
    16. 16. How to get it ?
    17. 17. http://devstudio.jboss.com
    18. 18. http://devstudio.jboss.com • JBoss Developer Studio • “Just” the IDE/Tooling • Free - Just need to register! • JBoss Developer Studio Portfolio Edition • IDE/Tooling bundled with EAP • Access to Red Hat Linux Enterprise Edition & JBoss Middleware Platforms • 99$
    19. 19. “I wan’t more!”
    20. 20. “I wan’t more!” … svn, git, findbugs, maven, spring, testng,google gwt, eclEmma, ...
    21. 21. “It’s Eclipse - Just add the proper updatesite...!”
    22. 22. “It’s Eclipse - Just add the proper updatesite...!” but...
    23. 23. Mo’PluginsMo’Problems!
    24. 24. Certified Update Sites
    25. 25. Coming Soon...
    26. 26. Coming Soon...
    27. 27. Let’s Go Be Effective!
    28. 28. Mo’Application Servers Mo’Setup!
    29. 29. Mo’Application Servers No’Setup!
    30. 30. Runtime Detection
    31. 31. Runtime Detection
    32. 32. Runtime Detection
    33. 33. Runtime Detection
    34. 34. Runtime Detection
    35. 35. Effective Learning ?
    36. 36. Project Examples
    37. 37. Project Examples
    38. 38. Beyond Hello World ?
    39. 39. Multi-Module Projects
    40. 40. Beyond the IDE ?
    41. 41. Maven• Pervasive Build and Dependency Management Tool• Gives a common language to express project structure and which artifacts a project needs and which it products• Perfect for examples, sharing, teams, continuos integration, …• BUT...
    42. 42. Challenge #1
    43. 43. Challenge #1 Maven Project Model
    44. 44. Challenge #1 Eclipse MavenProject Model Project Model
    45. 45. Challenge #1 Eclipse MavenProject Model Project Model
    46. 46. Challenge #1 Eclipse MavenProject Model Project Model
    47. 47. m2e• Maven integration for Eclipse, formerly known as m2eclipse• Allows for plugins to react and interact with Maven Project Model• It’s (almost) Perfect!
    48. 48. Challenge #2
    49. 49. Challenge #2
    50. 50. Challenge #2org == com
    51. 51. Challenge #2org == com org ~= com
    52. 52. Challenge #2org == com org ~= com org != com
    53. 53. Challenge #2org == com org ~= com org != com ?!?
    54. 54. Challenge #2 Explainedpom.xml:<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
    55. 55. Challenge #2 Explained ~/.m2/repositorypom.xml:<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
    56. 56. Challenge #2 Explained ~/.m2/repositorypom.xml:<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
    57. 57. Challenge #2 Explained Maven Central ~/.m2/repositorypom.xml:<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
    58. 58. Challenge #2 Explained Maven Central ~/.m2/repositorypom.xml:<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
    59. 59. Challenge #2 Explained Maven Central ~/.m2/repository JBoss.org Repopom.xml:<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
    60. 60. Challenge #2 Explained Maven Central ~/.m2/repository JBoss.org Repopom.xml:<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
    61. 61. Challenge #2 Explained Maven Central ~/.m2/repository JBoss.org Repopom.xml: jmx-client.jar<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
    62. 62. Challenge #2 Explained Maven Central ~/.m2/repository JBoss.org Repopom.xml: jmx-client.jar<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId> Enterprise<version>5.1.0</version> Repo
    63. 63. Challenge #2 Explained Maven Central ~/.m2/repository JBoss.org Repopom.xml: jmx-client.jar<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId> Enterprise<version>5.1.0</version> Repo
    64. 64. Challenge #2 Explained Maven Central ~/.m2/repository JBoss.org Repopom.xml: jmx-client.jar<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId> Enterprise<version>5.1.0</version> Repo jmx-client.jar
    65. 65. Challenge #2 Explained Maven Central ~/.m2/repository JBoss.org jmx-client.jar Repopom.xml: jmx-client.jar<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId> Enterprise<version>5.1.0</version> Repo jmx-client.jar
    66. 66. Challenge #2 Explained Maven Central ~/.m2/repository JBoss.org jmx-client.jar Repopom.xml: jmx-client.jar<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId> Enterprise<version>5.1.0</version> Repo Which jmx-client.jar ? jmx-client.jar
    67. 67. Project Wolf!
    68. 68. Project Wolf!• Make JBoss Enterprise product artifacts from a Maven repository with unique G.A.V’s• EAP 5.1 repackaged as Maven available for interested customers today• Plan: EAP 6 will have Native Maven repository
    69. 69. BOM POM!Dependency Management: Dependencies: <dependencyManagement> <dependencies> <dependencies> <dependency> <dependency> <groupId>jboss.web</groupId> <groupId>com.jboss.eap</groupId> <artifactId>servlet-api</artifactId> <artifactId>eap-bom</artifactId> </dependency> <version>5.1.0</version> <dependency> <type>pom</type> <groupId>junit</groupId> <scope>import</scope> <artifactId>junit</artifactId> </dependency> <scope>test</scope> </dependencies> </dependency> </dependencyManagement> </dependencies>
    70. 70. Enterprise Maven Repository• Interested ? • max.andersen@redhat.com • burr.sutter@redhat.com
    71. 71. Maven + Developer Studio • 4.0/4.1: • Install m2eclipse + m2e/wtp • Use Eclipse Marketplace or Certified Site • 5.0 (Plan) • Pre-bundled/configured
    72. 72. TheDeployment Ninja
    73. 73. What is the challenge ?• Users have many types of projects with different needs.• Eclipse have tendency to only support one kind of deployment • Eclipse Web Tools style projects (jar, war, ear, etc.)• ..and sometimes you just want to get things done!
    74. 74. Developer Studio adds...• Project Archives• Deployment of single files or directories• ...but still works with Eclipse Web Tools Projects• ...and it is NOT dependent on JBoss Application Server, but works really well with it
    75. 75. Demo
    76. 76. Developer Studio adds...• Project Archives• Deployment of single files or directories• ...but still works with Eclipse Web Tools Projects• ...and it is NOT dependent on JBoss Application Server, but works really well with it
    77. 77. How To Be Effective withJBoss Developer Studio• One nice package - but can be extended if needed• Multi Module Support using WTP• Work’s with Maven • Be careful, look out for Wolf’s!• Learn the Deployment ninja tricks!
    78. 78. Questions ?
    79. 79. Questions ? Maven Best Practices Wednesday - 15:10-16:10 JBoss Developer BOF Wednesday - 17:30-19:00“Rapid Project Creation” - Seam and JBoss Developer Studio Thursday - 14:00-15:00@maxandersen or @jbosstools

    ×