• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Plug-in architecture

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am having one big j2ee web based Health care application containing around 100 features.
My job is to develop new plugin architecture where i can re-engineer existing feature as plugins not feature,so application owner can sell product based on feature not as a whole.

Any suggestion for developing this kind of architecture is appriciated.

Thanks
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Seems to me that the simplest "plug-in" architecture would be based on a single Interface that all features would implement.

Of course this would have to be designed so that it is VERY general. When I have tried to do this on a small scale, I end up using methods that get input in the form of collections and are configured with XML documents. You might think of it as a client-server architecture where each feature is a server.

Bill
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
[blatant advertising]Very soon a new issue of the JavaRanch Journal will come out which contains an article I've written about adding a plugin mechanism to Java applications. That should give you some ideas on how start with this.[/blatant advertising]
 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the platform which developed by myself,the plugin mechanism is designed as below:
Defined the plugin interface,and in configuration XML file,you can add the plugin to the platform by giving the plugin's class name and information else.

I hope this is useful for you.
reply
    Bookmark Topic Watch Topic
  • New Topic