How to wire Spring bean into ViewModel?

asked 2013-08-19 13:57:05 +0800

GopherMan gravatar image GopherMan

I am trying to use ZK and Spring together...I have the basics working, so within my ViewModel classes I can call SpringUtil.getBean() for example. I want to enhance my code with setter methods so that my Spring beans (DAO for example) are automatically wired into my ViewMode.

I can't find any pointers online to show how to do this. I prefer to use a declarative approach of configuration of Spring beans through applicationContext.xml rather than annotation if possible.

Any help is appreciated!

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-23 13:09:27 +0800

miks gravatar image miks

You can find more information at following link


sorry, cant post links.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2013-08-19 13:57:05 +0800

Seen: 13 times

Last updated: Aug 23 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More