• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
How to be effective with JBoss Developer Studio
 

How to be effective with JBoss Developer Studio

on

  • 3,076 views

Abstract from JBoss World 2011:...

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.

Statistics

Views

Total Views
3,076
Views on SlideShare
3,076
Embed Views
0

Actions

Likes
2
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \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 How to be effective with JBoss Developer Studio Presentation Transcript

  • How to be effective withJBoss Developer Studio Max Rydahl Andersen Senior Principal Dude, Red Hat 4th May, 2011
  • 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
  • The Stuff!• What is JBoss Developer Studio• How to get JBoss Developer Studio• More Plugins!• Multi-Module Projects• Enterprise Maven• Local, Remote & Cloud Deployment
  • What is it ?
  • Eclipse
  • EclipseApplication Server
  • JBoss Tools Eclipse Application Server
  • JBoss Tools3rd EclipseParty Plugins Application Server
  • Examples JBoss Tools3rd EclipseParty Plugins Application Server
  • Examples Q &A JBoss Tools3rd EclipseParty Plugins Application Server
  • Installer Examples Q &A JBoss Tools3rd EclipseParty Plugins Application Server
  • Application Server
  • Free!
  • Application Server 99$
  • EAP EAP Tom AS 4 AS 5 AS 6 ...4.x 5.x cat
  • How to get it ?
  • http://devstudio.jboss.com
  • 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$
  • “I wan’t more!”
  • “I wan’t more!” … svn, git, findbugs, maven, spring, testng,google gwt, eclEmma, ...
  • “It’s Eclipse - Just add the proper updatesite...!”
  • “It’s Eclipse - Just add the proper updatesite...!” but...
  • Mo’PluginsMo’Problems!
  • Certified Update Sites
  • Coming Soon...
  • Coming Soon...
  • Let’s Go Be Effective!
  • Mo’Application Servers Mo’Setup!
  • Mo’Application Servers No’Setup!
  • Runtime Detection
  • Runtime Detection
  • Runtime Detection
  • Runtime Detection
  • Runtime Detection
  • Effective Learning ?
  • Project Examples
  • Project Examples
  • Beyond Hello World ?
  • Multi-Module Projects
  • Beyond the IDE ?
  • 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...
  • Challenge #1
  • Challenge #1 Maven Project Model
  • Challenge #1 Eclipse MavenProject Model Project Model
  • Challenge #1 Eclipse MavenProject Model Project Model
  • Challenge #1 Eclipse MavenProject Model Project Model
  • m2e• Maven integration for Eclipse, formerly known as m2eclipse• Allows for plugins to react and interact with Maven Project Model• It’s (almost) Perfect!
  • Challenge #2
  • Challenge #2
  • Challenge #2org == com
  • Challenge #2org == com org ~= com
  • Challenge #2org == com org ~= com org != com
  • Challenge #2org == com org ~= com org != com ?!?
  • Challenge #2 Explainedpom.xml:<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
  • Challenge #2 Explained ~/.m2/repositorypom.xml:<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
  • Challenge #2 Explained ~/.m2/repositorypom.xml:<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
  • Challenge #2 Explained Maven Central ~/.m2/repositorypom.xml:<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
  • Challenge #2 Explained Maven Central ~/.m2/repositorypom.xml:<groupId>org.jboss.jbossas.client</groupId><artifactId>jmx-client</artifactId><version>5.1.0</version>
  • 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>
  • 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>
  • 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>
  • 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
  • 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
  • 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
  • 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
  • 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
  • Project Wolf!
  • 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
  • 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>
  • Enterprise Maven Repository• Interested ? • max.andersen@redhat.com • burr.sutter@redhat.com
  • Maven + Developer Studio • 4.0/4.1: • Install m2eclipse + m2e/wtp • Use Eclipse Marketplace or Certified Site • 5.0 (Plan) • Pre-bundled/configured
  • TheDeployment Ninja
  • 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!
  • 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
  • Demo
  • 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
  • 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!
  • Questions ?
  • 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