I am Melania. My google summer of code target is to finish converting the
OpenNMS GUI pages to Hibernate. For the UI layer refactoring process, the
SpringMVC web framework was chosen, which due to its underlying MVC design
pattern offers the possibility to build flexible and loosely coupled
applications. My mentor and I have managed to create a design for the
controllers which are meant to process the requests and display a response.
The controller classes are using annotations and autowired dependency
injection which leaves out the burden of the xml configuration. They are
also easily to be unit tested directly. All the logic regarding the requests
is contained by the controllers since now a Hibernate session is
automatically opened for all web requests. There will be no need for a
separate service layer that handles the database queries. I have built a
wiki page which will be more explanatory regarding the above topics.

http://opennms.org/wiki/Annotation_Driven_Controllers
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to