Injecting DAOs in OpenNMS
In my Summer of code project I have to use already established DAOs (well some times adding a few tid bids) and using them to replace JDBC code. Testing DAOs with Hibernate tools made it alot easy to play with both HQL and criteria, but I was stuck when it came to injection. It seems that OpenNMS uses lots of technologies like JMX which I have never even touched before
attached is a log of a conversation which I had with a devel on #opennms. Based on this conversation I some how was able to bug the devel into writing all of this into a wiki page.
There was one small confusion though, I was working with Poller which was infact Pollerd, there being a naming inconsistency. Following this wiki page I should be now able to easily inject Dao's to my required daeomons and other classes.
Posted in Technology | no comments | atom
Trackbacks
Use the following link to trackback from your own site:
http://hatimonline.com/blog/trackbacks?article_id=injecting-daos-in-opennms&day=09&month=08&year=2008