A Nimble approact to dependency management

1,606 views
1,501 views

Published on

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

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,606
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
35
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

A Nimble approact to dependency management

  1. 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. 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. 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. 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. 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. 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. 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. 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. 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

×