• 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
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Reflecting on dynamic beans?

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

I'm writing an application where the end user will create a "application/configuration" on top of my app. Basically it is an MVC model where I am providing the model and controller as a vanilla 'product' whilst the view (html) would be the configurable bit.

My problem is that the form/session beans should be configurable as part of the view layer and the model requires a configuration file. I'm planning to have the init() method of a model servlet pull in the configuration file from the .war file but I don't know how to design a controller that can recieve slightly different beans (ie those configured for the view). Also the models configuration file will contain some clues as to the beans structure (if this helps).

Is there a pattern for this or am I taking the completely wrong approach? If this is a product should I worry about MVC? Also, I'm planning on tying this all together with struts - is this wise?

Thanks in advance,
Matt
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic