A robust starter web application to ease Java webapp development.

Home | Tutorials | Demos | Issues

 « Return to Thread: dynamic fields implementation

dynamic fields implementation

by Rajeev Goel :: Rate this Message:

Reply to Author | View in Thread

hi All,

I would like to implement dynamic field functionality for my hibernate + spring based application.

- user should be able to add additional fields (not defined during initial system design)
- fields can be added without restarting server
- preferably fields could be of specific data type (String, boolean, integer, etc). Else they could all be string and front-end layer can format it.

Additional information:
- using Hibernate 3.2 with annotations (JPA).
- dynamicComponent configuration is available only with hbm.xml (old way). We would preferably like to continue with JPA.
- our domain is quite rich, approach shouldn't be too narrow.

If you know of any concrete approaches for the same, please let me know.

thanks in advance,
have a great day !

Rajeev

 « Return to Thread: dynamic fields implementation