logo       

RE: [opennms-devel] Re: [opennms-discuss] Dev-jam?: msg#00008

network.opennms.bugs

Subject: RE: [opennms-devel] Re: [opennms-discuss] Dev-jam?

Well a couple of things...
Spring, its good and the ACEGI stuff is built in. Even if you only used
Spring (via ACEGI) for HTTP Authentication and for DB access (either
hibernate or JDBC) you'd be better off than what's currently used in
OpenNMS. (Which isn't bad but it's a lot easier to just use someone else's
code.)

I would replace traditional DAO pattern with Springs JDBC support, it's a
lot easier than...

Try {
DB crap
} catch {
Log crap
} finally {
Try {
Result.close
} catch (SQLException ex) {
Log cant close
}
Try {
Statement.close
} catch (SQLException ex) {
Log cant close
}
Try {
Connection.close
} catch (SQLException ex) {
Log cant close
}
}

Spring MVC is good and is getting better. I just sat in a short presentation
of SpringWebflow written by Keith Donald. (One of the core spring commiters)
It, along with Spring 1.3 should be shipping shortly. Just be careful how
much you attempt to bite-off in one shot. Thankfully you can role out spring
one sub-system at a time. I'll help as much as time allows.

Cheers,
Eric Molitor


-----Original Message-----
From: opennms-devel-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:opennms-devel-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of David
Hustace
Sent: Wednesday, November 02, 2005 10:57 PM
To: opennms-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [opennms-devel] Re: [opennms-discuss] Dev-jam?


On Oct 30, 2005, at 3:53 PM, Eric Molitor wrote:

> Also if you are looking at Hibernate why are you looking at DAO's?
> (Maybe
> I'm thinking of the traditional DAO pattern and this is something
> else.)

We have been looking at the classical DAO patterns as a possible
alternative or additive to Hibernate; for not all of OpenNMS' data is
in the relational database (XML, RRD). So transactional adds, moves,
changes, deletes, etc. impact RRD and the XML data stores and we're
looking for ways to manage all of that, within transactions, if
necessary. We aren't experts in this field but we are coming up to
speed fast as possible... as fast as we can with a very small team
that is also making design decisions for an improved WebUI, security
in the data model, testing frameworks... you know the story.

Any assistance would be greatly appreciated.

-David


David Hustace
The OpenNMS Group, Inc.
Main : +1 919 545 2553 Fax: +1 503-961-7746
Direct: +1 919 827 1201 Skype: dhustace
Key Fingerprint: 8EC1 F319 2C1D 3197 AAB9 580F FACD 1D19 175E D903




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise