Your SlideShare is downloading. ×
  • Like
A  Nimble  approact to dependency management
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

A Nimble approact to dependency management

  • 1,246 views
Published

An overview of the Nimble dependecy resolver and provisioner from an OSGi point of view

An overview of the Nimble dependecy resolver and provisioner from an OSGi point of view

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,246
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
33
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. A Nimble approach to dependency management robert.dunne@paremus.com http://nimble.codecauldron.org/download A Nimble approach to dependency management www.paremus.com June 2009 Copyright © 2009 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved. Tuesday, 23 June 2009
  • 2. Managing Dependency Compexity • Modularity is good ... • ... But often undermined by complexity ‣ wire-up ‣ configuration • How can we manage this? ‣ automate where possible ‣ preserve and reuse design decisions ‣ we’ve been here before A Nimble approach to dependency management www.paremus.com June 2009 Copyright © 2009 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved. Tuesday, 23 June 2009
  • 3. Nimble • Full lifecycle dependency resolver ‣ resolve, install, uninstall and clean-up - rich diagnostics ‣ multiple deployable units - easily extended - Bundles, WARs, POJOs, Config files ‣ OSGi specific features - fragment attachment policy - optional import policy - import narrowing - resolves dependencies on extender bundles (DS, SpringDM, iPOJO) A Nimble approach to dependency management www.paremus.com June 2009 Copyright © 2009 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved. Tuesday, 23 June 2009
  • 4. Parts ‣ Nimble manages a Part Graph - parts have capabilities and requirements - resolved bundles - requirements -> exports, capabilities -> imports - POJOs - requirements -> constructor args, capabilities -> interfaces - Add & Remove Root Parts - Control Resolution with policy A Nimble approach to dependency management www.paremus.com June 2009 Copyright © 2009 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved. Tuesday, 23 June 2009
  • 5. Builders • Parts have a builder requirement ‣ no need for pre-installed builders ‣ builder turns the part into a runtime entity using: - artifacts for the part - capabilities wired to parts other requirements • Builders for ‣ resolved, active and fragment bundles ‣ WARs, Config files ‣ easily extensible A Nimble approach to dependency management www.paremus.com June 2009 Copyright © 2009 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved. Tuesday, 23 June 2009
  • 6. Rules and Extensions • Rules are Templates for Parts ‣ Rule + configured Extensions -> Part ‣ target - rules to which extensions can apply ‣ policy - choice of extensions to apply A Nimble approach to dependency management www.paremus.com June 2009 Copyright © 2009 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved. Tuesday, 23 June 2009
  • 7. Repositories and Policies • Repository ‣ Index of available rules and extensions ‣ OBR or richer Nimble metadata • Policies ‣ configure selected extensions ‣ constrain requirement -> capability matching ‣ configure option resolution A Nimble approach to dependency management www.paremus.com June 2009 Copyright © 2009 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved. Tuesday, 23 June 2009
  • 8. Modelling Fragments Fragment Rules Fragment Parts A Nimble approach to dependency management www.paremus.com June 2009 Copyright © 2009 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved. Tuesday, 23 June 2009
  • 9. Thanks for coming http://nimble.codecauldron.org/download http://www.paremus.com robert.dunne@paremus.com A Nimble approach to dependency management www.paremus.com June 2009 Copyright © 2009 Paremus Ltd. May not be reproduced by any means without express permission. All rights reserved. Tuesday, 23 June 2009