cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan José Gil <mat...@gmail.com>
Subject Re: Add ActiveRecord support to Cayenne
Date Thu, 27 Dec 2012 02:48:47 GMT
Pardon my ignorance, I really don't understand what do you mean with

>>Beside that I rather do simple stuffs like the webobjects guys do. You do
not hear them complain about such
>>things like services, and dependency injection and what not

I don't know anything about WO :(

I would really appreciate to have some clue about that :)

Regards,
Juanjo

2012/12/26 emeka okafor <emeka_1978@yahoo.com>

> It depends on what you call service. Is a service a message call that is
> remote in the sense that it is outside of the same JVM or is a service any
> random function that do not belong to the domain object? If I am working in
> a j2ee/spring environment i.e I want to use ejbs or have a container
> managed my objects, then you are right and I am going to have a problem
> integrating cayenne objects into that environment and will do all kind of
> gymnastic to accomodate for that, by creating fake pojos with wrapper and
> annotations so that the container can inject those services. In this case,
> my cayenne objects become naked(cayenne is not to blame for that).
> Personally I would rather program in groovy with metaprogramming than do
> all that stuff if I had to. Beside that I rather do simple stuffs like the
> webobjects guys do. You do not hear them complain about such things like
> services, and dependency injection and what not. I mean, last time I
> checked, Apple Itunes
>  was running on a technologie similar to cayenne.
>

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