• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

Reflecting on dynamic beans?

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • 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
 
Getting married means "We're in love, so let's tell the police!" - and invite this tiny ad to the wedding:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic