You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2015/03/19 07:13:22 UTC
svn commit: r1667663 -
/cayenne/site/cms/trunk/content/2015/03/cayenne-40m2-released.mdtext
Author: aadamchik
Date: Thu Mar 19 06:13:21 2015
New Revision: 1667663
URL: http://svn.apache.org/r1667663
Log:
proof reading release announcement
Modified:
cayenne/site/cms/trunk/content/2015/03/cayenne-40m2-released.mdtext
Modified: cayenne/site/cms/trunk/content/2015/03/cayenne-40m2-released.mdtext
URL: http://svn.apache.org/viewvc/cayenne/site/cms/trunk/content/2015/03/cayenne-40m2-released.mdtext?rev=1667663&r1=1667662&r2=1667663&view=diff
==============================================================================
--- cayenne/site/cms/trunk/content/2015/03/cayenne-40m2-released.mdtext (original)
+++ cayenne/site/cms/trunk/content/2015/03/cayenne-40m2-released.mdtext Thu Mar 19 06:13:21 2015
@@ -7,7 +7,7 @@ This is a big and important new mileston
Cayenne can be downloaded from [here](/download.html).
-### Fluent Query API
+### Fluent Type-Safe Query API
Cayenne now provides a set of new fluent query classes: ObjectSelect, SQLSelect, SelectById. More will be coming in the future releases. Here is a simple example of a query selecting a single object by a given criteria:
@@ -22,14 +22,14 @@ Cayenne now provides a set of new fluent
'cdbimport' (a Maven/Ant task that generates DataMap from DB) was always there in Cayenne, just not very usable. In this release it was reworked to become a cornerstone of an automated workflow that allows you to keep mapping and Java classes always in sync with the underlying DB, and yet provide arbitrary customizations to the object layer.
-### OSGI
+### OSGI Support
All Cayenne runtime jars have proper OSGi manifests and can be used as OSGi bundles. Here is a [demo](https://github.com/andrus/cayenne-osgi-example) showing how to write an OSGi Cayenne app. The main trick is to add an OSGi module to Cayenne runtime that will take care of classloading, etc.:
Module osgiModule =
OsgiModuleBuilder.forProject(Activator.class).withDriver(Driver.class).module();
-### ServerRuntimeBuilder
+### ServerRuntimeBuilder and Mapping-Free Runtime
We found that customizing ServerRuntime is a frequent task in most applications. Things like setting a proper DataSource, loading multiple projects into a single runtime, overriding a service here and there are all very common customizations. While all of those can be done via ServerRuntime constructor and custom DI modules, we decided to add some syntactic sugar to streamline configuration. Enter ServerRuntimeBuilder: