Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pluggable Components

 
Pradeep Kadambar
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am thinking about converting my existing code into pluggable component model. So whenever the user installs a new addon component the program should detect it and use it in the code.

Eclipse does this. Please suggest how can I approach this.
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please give more discription about your product and technologies.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Google for Dependency Injection.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll add Dependency *Inversion* to Ilja's suggestion. HERE is something I did for my team because it is important to "plug in" new products and user groups for our system without changing the core. See if you spot Dependency *Injection* in the testing section. I didn't call it out by name because I hadn't heard of it yet when I made this.

If this kind of research & conversation grabs your interest, scroll on down to the OO, UML, etc. forum. We love this stuff down there.
[ June 07, 2005: Message edited by: Stan James ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic