abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Calavera" <david.calav...@gmail.com>
Subject Re: Abdera / Spring sample application
Date Fri, 07 Mar 2008 15:37:09 GMT
On Fri, Mar 7, 2008 at 3:13 PM, Remy Gendron <remy@arrova.ca> wrote:

> Hello David,
>
> I also much prefer the annotations over the XML configuration. Some will
> tell you that annotations are bad because they introduce dependencies
> between every one of your classes and the Spring framework, as you have to
> import those annotations into the classes.
>
> However, I find this argument weak as, if I write my app with Spring, I
> will
> not go overboard to prevent dependencies on Spring. I don't need the
> option
> of migrating my app to another light weight container.


Totally agree, it's supposed that you choose a framework because you think
that's the best option for your project, why do you want to change it in the
middle of a project development?

>
>
> Of course, I'm all in favour of good layering and decoupling where
> appropriate and where the cost of it can or could be leveraged down the
> road. This is exemplified by my usage of interfaces over my domain objects
> instead of using true DTOs. My dependencies unit test also makes sure
> these
> principles are enforced.
>
> I haven't done any Ruby (yet) but I like the direction Abdera is taking by
> favouring convention over configuration.
>

I like it too XD.


>
> Keep up the good work! Thanks again... I look a lot smarter at work
> because
> of you all!
>
> Remy
>
> -----Original Message-----
> From: David Calavera [mailto:david.calavera@gmail.com]
> Sent: March 06, 2008 17:07
> To: abdera-user@incubator.apache.org
> Subject: Re: Abdera / Spring sample application
>
> Great example!!
>
> I'm totally agree that it should be on the documentation. Spring
> annotation
> configuration is like a fresh breath, I've worked on an app with thousands
> of spring xml configuration lines and it's like the hell, unfortunately
> annotation configuration is just supported by spring 2.5.
>
> On Thu, Mar 6, 2008 at 10:27 PM, James M Snell <jasnell@gmail.com> wrote:
>
> >
> >
> > Remy Gendron wrote:
> > > Hello all,
> > >
> > > I have put together an Abdera server sample application that serves
> > movies,
> > > actors and roles (data taken from IMDB).
> > >
> > > The com.lacapitale.iex package is the glue code (or framework) part.
> The
> > > com.lacapitale.imdb is the example application.
> > >
> > > It demonstrates the following:
> > >
> >
> > Very cool.
> >
> > > [snip]
> > > This is a work in progress. No Javadoc yet. Any comments are welcome.
> > > I don't suggest providing a Spring integration with Abdera, the way to
> > do it
> > > depends to much on individual taste.
> >
> > I, unfortunately, do not know enough about Spring to decide one way or
> > the other.  However, perhaps there are ways of modifying the existing
> > spring code so that it is at least easier?
> >
> > > However, this could become part of the Wiki.
> > >
> >
> > Agreed. If you'd like to contribute it as an example, create a new jira
> > issue and I'll add the necessary information to the wiki.
> >
> > - James
> >
> > > You can get the project here: http://arrova.ca/files/imdb.rar
> > >
> > > Remy
> > >
> > > The dependencies are not included. Spring 2.5.1 was used. Here's my
> > > dependencies folder content:
> > >
> > > abdera-i18n-0.4.0-incubating-SNAPSHOT.jar
> > > abdera.client.0.4.0-incubating-SNAPSHOT.jar
> > > abdera.core.0.4.0-incubating-SNAPSHOT.jar
> > > abdera.parser.0.4.0-incubating-SNAPSHOT.jar
> > > abdera.protocol.0.4.0-incubating-SNAPSHOT.jar
> > > abdera.security.0.4.0-incubating-SNAPSHOT.jar
> > > abdera.server.0.4.0-incubating-SNAPSHOT.jar
> > > abdera.spring.0.4.0-incubating-SNAPSHOT.jar
> > > axiom-api-1.2.5.jar
> > > axiom-impl-1.2.5.jar
> > > bcprov-jdk15-137.jar
> > > commons-codec-1.3.jar
> > > commons-el.jar
> > > commons-httpclient-3.1.jar
> > > commons-logging-1.0.4.jar
> > > geronimo-activation_1.0.2_spec-1.1.jar
> > > geronimo-servlet_2.4_spec-1.0.jar
> > > hsqldb.jar
> > > htmlparser-1.0.5.jar
> > > jaxen-1.1.1.jar
> > > jdepend-2.9.jar
> > > jetty-6.1.3.jar
> > > jetty-util-6.1.3.jar
> > > json-1.0.jar
> > > junit-4.4.jar
> > > log4j-1.2.14.jar
> > > myfaces-api.jar
> > > myfaces-impl.jar
> > > ojdbc14.jar
> > > serializer.jar
> > > spring-test.jar
> > > spring.jar
> > > stax-api-1.0.1.jar
> > > tomahawk.jar
> > > wstx-asl-3.2.1.jar
> > > xmlsec-1.4.1.jar
> > > xpp3_min-1.1.4c.jar
> > > xstream-1.3.jar
> > >
> > >
> > >
> > >
> > > No virus found in this outgoing message.
> > > Checked by AVG Free Edition.
> > > Version: 7.5.516 / Virus Database: 269.21.6/1315 - Release Date:
> > 2008.03.06
> > > 09:07
> > >
> > >
> > >
> >
>
>
>
> --
> David Calavera
> http://www.thinkincode.net
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.21.6/1315 - Release Date:
> 2008.03.06
> 09:07
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.21.6/1315 - Release Date:
> 2008.03.06
> 09:07
>
>
>


-- 
David Calavera
http://www.thinkincode.net

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message