You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Andrus Adamchik <an...@objectstyle.org> on 2014/09/30 12:31:17 UTC

[ANN] Cayenne 3.1 final release

Hi everyone!

I am glad to report on 3.1 release going final today. It is available for an immediate download from our site [1] and Maven central [2]. This was awesome work by our international team of developers and users. There's a more formal press release available from the ASF [3], but here we all know what Cayenne is and why we like it :) So I will just say a few words about 3.1... 

It is a result of ~2.5 years of active development and ~1.5 years of "ripening" as beta and RC. Some Jira stats to show the effort: 125 new features, 84 bugfixes.

The main highlight is Cayenne dependency injection (DI). It might be the smallest full-featured DI container in the industry and it completely changes how you bootstrap and configure Cayenne.  Having to rewrite parts of Cayenne stack to fit the DI model resulted in the overall improvement of the design quality. Everything (or almost everything) is now pluggable. 

A big new feature is modularity of Cayenne object-relational mapping. Different aspects of the system can be modeled in separate mapping projects, and combined in runtime as needed. So Cayenne projects can now be packaged as individual "libraries".

Persistent events model was extended from simple per-object events to more high-level "workflows". Those can be configured  with app-specific annotations on persistent classes. Cayenne ships with "cayenne-lifecycle" module that provides a few common examples of such workflows activated on data changes: data modifications audit, precision cache invalidation, etc.

We've rewritten the documentation from scratch, much improving both content and the presentation of the docs. For the first time the full documentation set is available in PDF.

We've made a number of important performance optimizations, improving overall concurrency.  And fixed lots of bugs throughout the framework the Jira stats above attest.

Enjoy the new Cayenne and spread the word of 3.1 via Facebook, Twitter, blogs etc. !

Andrus


[1] http://cayenne.apache.org/download.html
[2] http://search.maven.org/#artifactdetails|org.apache.cayenne|cayenne-server|3.1|jar
[3] https://blogs.apache.org/foundation/entry/the_apache_software_foundation_announces63 

---------------
Andrus Adamchik
Apache Cayenne ORM: http://cayenne.apache.org/
Twitter: http://twitter.com/ApacheCayenne








Re: [ANN] Cayenne 3.1 final release

Posted by Malcolm Edgar <ma...@gmail.com>.
Well done everyone. Thanks for your awesome work.

Cayenne is the best Java ORM in town, it rocks.

regards Malcolm Edgar

On Tue, Sep 30, 2014 at 11:55 PM, Emanuele Maiarelli <
maiarelli.emanuele@gmail.com> wrote:

> Congratulations to cayenne commiters!
>
> DI is very handy when you have to alter ServerRuntime behaviour, we have an
> application already using 3.1 with DI to implement
> multitenancy (chaging postgres schema depending on authenticated user).
>
> We are also using cayenne DI to manage other dependency injections into
> application, replacing guice, since cayenne DI is quite similar
> to guice.
>
> Congratulations  and thanks again!
>
>
> 2014-09-30 15:42 GMT+02:00 Andrus Adamchik <an...@objectstyle.org>:
>
> >
> > On Sep 30, 2014, at 3:41 PM, giulio.cesare@gmail.com wrote:
> >
> > > Congratulations to all developers involved!
> >
> > Thanks :)
> >
> > > I am not a big fan of DI myself, but I will look into this new release
> > and
> > > check how to update my project to use it.
> >
> > Not sure why you dislike DI, but the good news is that it is encapsulated
> > inside ServerRuntime object, and doesn't affect the rest of your
> > application. It is just an engine that wires everything inside, and in
> most
> > cases you don't need to know or worry about it. E.g. all the properties
> are
> > built on top of DI, but do not expose any DI APIs to the user:
> >
> >
> >
> http://cayenne.apache.org/docs/3.1/cayenne-guide/configuration-properties.html
> >
> > And here is an example of how you can override an internal service using
> > Java 8 lambda. I think it is pretty neat:
> >
> > http://markmail.org/message/7gmk53ng76vnp2cb
> >
> > Cheers,
> > Andrus
> >
> >
> >
>

Re: [ANN] Cayenne 3.1 final release

Posted by Emanuele Maiarelli <ma...@gmail.com>.
Congratulations to cayenne commiters!

DI is very handy when you have to alter ServerRuntime behaviour, we have an
application already using 3.1 with DI to implement
multitenancy (chaging postgres schema depending on authenticated user).

We are also using cayenne DI to manage other dependency injections into
application, replacing guice, since cayenne DI is quite similar
to guice.

Congratulations  and thanks again!


2014-09-30 15:42 GMT+02:00 Andrus Adamchik <an...@objectstyle.org>:

>
> On Sep 30, 2014, at 3:41 PM, giulio.cesare@gmail.com wrote:
>
> > Congratulations to all developers involved!
>
> Thanks :)
>
> > I am not a big fan of DI myself, but I will look into this new release
> and
> > check how to update my project to use it.
>
> Not sure why you dislike DI, but the good news is that it is encapsulated
> inside ServerRuntime object, and doesn't affect the rest of your
> application. It is just an engine that wires everything inside, and in most
> cases you don't need to know or worry about it. E.g. all the properties are
> built on top of DI, but do not expose any DI APIs to the user:
>
>
> http://cayenne.apache.org/docs/3.1/cayenne-guide/configuration-properties.html
>
> And here is an example of how you can override an internal service using
> Java 8 lambda. I think it is pretty neat:
>
> http://markmail.org/message/7gmk53ng76vnp2cb
>
> Cheers,
> Andrus
>
>
>

Re: [ANN] Cayenne 3.1 final release

Posted by Andrus Adamchik <an...@objectstyle.org>.
On Sep 30, 2014, at 3:41 PM, giulio.cesare@gmail.com wrote:

> Congratulations to all developers involved!

Thanks :)

> I am not a big fan of DI myself, but I will look into this new release and
> check how to update my project to use it.

Not sure why you dislike DI, but the good news is that it is encapsulated inside ServerRuntime object, and doesn't affect the rest of your application. It is just an engine that wires everything inside, and in most cases you don't need to know or worry about it. E.g. all the properties are built on top of DI, but do not expose any DI APIs to the user:

http://cayenne.apache.org/docs/3.1/cayenne-guide/configuration-properties.html

And here is an example of how you can override an internal service using Java 8 lambda. I think it is pretty neat:

http://markmail.org/message/7gmk53ng76vnp2cb

Cheers,
Andrus



Re: [ANN] Cayenne 3.1 final release

Posted by "giulio.cesare@gmail.com" <gi...@gmail.com>.
Congratulations to all developers involved!

I am not a big fan of DI myself, but I will look into this new release and
check how to update my project to use it.

Cheers,

Giulio Cesare


On Tue, Sep 30, 2014 at 12:31 PM, Andrus Adamchik <an...@objectstyle.org>
wrote:

> Hi everyone!
>
> I am glad to report on 3.1 release going final today. It is available for
> an immediate download from our site [1] and Maven central [2]. This was
> awesome work by our international team of developers and users. There's a
> more formal press release available from the ASF [3], but here we all know
> what Cayenne is and why we like it :) So I will just say a few words about
> 3.1...
>
> It is a result of ~2.5 years of active development and ~1.5 years of
> "ripening" as beta and RC. Some Jira stats to show the effort: 125 new
> features, 84 bugfixes.
>
> The main highlight is Cayenne dependency injection (DI). It might be the
> smallest full-featured DI container in the industry and it completely
> changes how you bootstrap and configure Cayenne.  Having to rewrite parts
> of Cayenne stack to fit the DI model resulted in the overall improvement of
> the design quality. Everything (or almost everything) is now pluggable.
>
> A big new feature is modularity of Cayenne object-relational mapping.
> Different aspects of the system can be modeled in separate mapping
> projects, and combined in runtime as needed. So Cayenne projects can now be
> packaged as individual "libraries".
>
> Persistent events model was extended from simple per-object events to more
> high-level "workflows". Those can be configured  with app-specific
> annotations on persistent classes. Cayenne ships with "cayenne-lifecycle"
> module that provides a few common examples of such workflows activated on
> data changes: data modifications audit, precision cache invalidation, etc.
>
> We've rewritten the documentation from scratch, much improving both
> content and the presentation of the docs. For the first time the full
> documentation set is available in PDF.
>
> We've made a number of important performance optimizations, improving
> overall concurrency.  And fixed lots of bugs throughout the framework the
> Jira stats above attest.
>
> Enjoy the new Cayenne and spread the word of 3.1 via Facebook, Twitter,
> blogs etc. !
>
> Andrus
>
>
> [1] http://cayenne.apache.org/download.html
> [2]
> http://search.maven.org/#artifactdetails|org.apache.cayenne|cayenne-server|3.1|jar
> [3]
> https://blogs.apache.org/foundation/entry/the_apache_software_foundation_announces63
>
> ---------------
> Andrus Adamchik
> Apache Cayenne ORM: http://cayenne.apache.org/
> Twitter: http://twitter.com/ApacheCayenne
>
>
>
>
>
>
>
>

Re: [ANN] Cayenne 3.1 final release

Posted by "giulio.cesare@gmail.com" <gi...@gmail.com>.
Congratulations to all developers involved!

I am not a big fan of DI myself, but I will look into this new release and
check how to update my project to use it.

Cheers,

Giulio Cesare


On Tue, Sep 30, 2014 at 12:31 PM, Andrus Adamchik <an...@objectstyle.org>
wrote:

> Hi everyone!
>
> I am glad to report on 3.1 release going final today. It is available for
> an immediate download from our site [1] and Maven central [2]. This was
> awesome work by our international team of developers and users. There's a
> more formal press release available from the ASF [3], but here we all know
> what Cayenne is and why we like it :) So I will just say a few words about
> 3.1...
>
> It is a result of ~2.5 years of active development and ~1.5 years of
> "ripening" as beta and RC. Some Jira stats to show the effort: 125 new
> features, 84 bugfixes.
>
> The main highlight is Cayenne dependency injection (DI). It might be the
> smallest full-featured DI container in the industry and it completely
> changes how you bootstrap and configure Cayenne.  Having to rewrite parts
> of Cayenne stack to fit the DI model resulted in the overall improvement of
> the design quality. Everything (or almost everything) is now pluggable.
>
> A big new feature is modularity of Cayenne object-relational mapping.
> Different aspects of the system can be modeled in separate mapping
> projects, and combined in runtime as needed. So Cayenne projects can now be
> packaged as individual "libraries".
>
> Persistent events model was extended from simple per-object events to more
> high-level "workflows". Those can be configured  with app-specific
> annotations on persistent classes. Cayenne ships with "cayenne-lifecycle"
> module that provides a few common examples of such workflows activated on
> data changes: data modifications audit, precision cache invalidation, etc.
>
> We've rewritten the documentation from scratch, much improving both
> content and the presentation of the docs. For the first time the full
> documentation set is available in PDF.
>
> We've made a number of important performance optimizations, improving
> overall concurrency.  And fixed lots of bugs throughout the framework the
> Jira stats above attest.
>
> Enjoy the new Cayenne and spread the word of 3.1 via Facebook, Twitter,
> blogs etc. !
>
> Andrus
>
>
> [1] http://cayenne.apache.org/download.html
> [2]
> http://search.maven.org/#artifactdetails|org.apache.cayenne|cayenne-server|3.1|jar
> [3]
> https://blogs.apache.org/foundation/entry/the_apache_software_foundation_announces63
>
> ---------------
> Andrus Adamchik
> Apache Cayenne ORM: http://cayenne.apache.org/
> Twitter: http://twitter.com/ApacheCayenne
>
>
>
>
>
>
>
>