Announcement Announcement Module
Collapse
No announcement yet.
Dynamicly creating beans Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • fl6yer
    started a topic Dynamicly creating beans

    Dynamicly creating beans

    What I don't understand is that you always define beans in the applicationContext. But what I want is to create beans dynamic.
    For Example If a client login I want to create a userbean with a lot of information
    about that user.
    The bean is identified by an ID. How can I do this. Maybe I want to use this bean later, and want to to getBean( ID).

    Hope some one has an answer
    Thanks
    Jelle

  • dejanp
    replied
    What you want has, more or less, nothing to do with Spring. Why would you want to put such beans into the Spring context?

    Leave a comment:

Working...
X