CDI implementation of Lambico

2 views
Skip to first unread message

CICAP

unread,
Jun 3, 2010, 4:25:35 AM6/3/10
to lambico-dev
Hi,
I spoke with Lucio Benfante on it.comp.java , and he seems to be
interested in an alternative implementation of Lambico.
My idea is to implement Lambico as a CDI extension. I've given a first
glance to the source code and I should probably create a new lambico-
cdi module.

It's very important for this module that lambico-core doesn't depend
on Spring framework, but I found a @Component stereotype on @Dao
annotation. Is it really necessary? If you can't remove this
stereotype, could you replace with a standard one? Maybe there is
something on JSR 330 (the one providing @Inject that is used in Spring
3).

Lucio Benfante

unread,
Jun 11, 2010, 3:12:30 AM6/11/10
to lambi...@googlegroups.com
Il 03/06/2010 10:25, CICAP ha scritto:
> It's very important for this module that lambico-core doesn't depend
> on Spring framework, but I found a @Component stereotype on @Dao
> annotation. Is it really necessary? If you can't remove this
> stereotype, could you replace with a standard one? Maybe there is
> something on JSR 330 (the one providing @Inject that is used in Spring
> 3).
>

Hi cicap,
coud you point me out where did you exactly find the @Component
annotation, please?

I'm only seeing it on some (spring dependent) test classes.

Lucio

--
Lucio Benfante
JUG Padova http://www.parancoe.org ...have a look at it!
www.jugpadova.it http://www.jugevents.org

cicap

unread,
Jul 29, 2010, 8:48:23 AM7/29/10
to lambico-dev


On 11 Giu, 09:12, Lucio Benfante <lucio.benfa...@gmail.com> wrote:
> Il 03/06/2010 10:25, CICAP ha scritto:
>
> > It's very important for this module that lambico-core doesn't depend
> > on Spring framework, but I found a @Component stereotype on @Dao
> > annotation. Is it really necessary? If you can't remove this
> > stereotype, could you replace with a standard one? Maybe there is
> > something on JSR 330 (the one providing @Inject that is used in Spring
> > 3).
>
> Hi cicap,
> coud you point me out where did you exactly find the @Component
> annotation, please?
>
> I'm only seeing it on some (spring dependent) test classes.

Sorry, I've seen your reply almost two months after.
I see a @Component annotation on org.lambico.dao.spring.BusinessDao
(lambico-core module).
Also we should create a lambico-common module to share some
implementation code between lambico-spring and lambico-cdi module,
just to improve maintainability of the project and to make new
features immediately available for cdi module.
I know I should give you more details, but I don't know if someone is
still reading this group (I don't see any new commit for this
project).
Reply all
Reply to author
Forward
0 new messages