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

Dynamic Bean Component

 
zandalee acharya
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Report post to moderator
The goal is to define a �Dynamic� Bean component where setter/getter and properties are determined at runtime, including automatically validation of each property against a data element dictionary, domain dictionary,�

For instance with this approach how can you ensure that if you define an ADDRESS object, that the value provided to the country property is part of a valid domain, without to write any piece of java code.

Defining JavaBeans component is most of the time equivalent to writing a java class implementation that will be packaged as a Bean. How will you design the �Dynamic Beans� approach to allow through the definition of a metadata of the bean, programmer doesn�t have to implement any java class, and furthermore, that an object can have different properties depending of the application context without manipulating the above metadata model.

Please provide as answer; a technical design stipulating how you will structure the Dynamic Beans and different data dictionaries. Provide a list of java class that you might use for this implementation.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Originally posted by zandalee acharya:

Please provide as answer; a technical design stipulating how you will structure the Dynamic Beans and different data dictionaries. Provide a list of java class that you might use for this implementation.


zandalee,
Is this a homework assignment?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Undoubtedly.
 
    Bookmark Topic Watch Topic
  • New Topic