aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] [Updated] (ARIES-1269) Add blueprint maven plugin
Date Tue, 04 Nov 2014 14:26:34 GMT


Christian Schneider updated ARIES-1269:
    Fix Version/s: blueprint-maven-plugin-1.0.0 

> Add blueprint maven plugin
> --------------------------
>                 Key: ARIES-1269
>                 URL:
>             Project: Aries
>          Issue Type: New Feature
>          Components: Blueprint
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: blueprint-maven-plugin-1.0.0 
> I have recently created a maven plugin that generates blueprint.xml from CDI, JEE and
Spring annotations.
> What makes this different from the blueprint annotations support we already got in aries?
> ------------------------------------------------------------------------------------------------------------------------
> - The blueprint annotations follow the xml style of binding to an exact bean id.
> The annotations I used by default bind simply by type which is much simpler to manage
and more in line with Spring @Autowired and CDI @Inject.
> Still they also allow to bind by name using @Named
> - The aries blueprint annotations are processed at runtime but create xml under the covers.
My plugin on the other hand does all the work at build time.
> So at runtime you can install into any existing container running blueprint - no additional
deps needed.
> - My plugin uses standard CDI/JEE annotations and where there is no standard (Services)
pax cdi annoations. So people using this style can transition from and to real CDI quite easily.
People with JEE background also feel at home with this style.
> - My plugin also supports some spring annotations like @Autowired, @Component, @Value.
This allows a very fast migration from spring to blueprint. In fact I used it in a quite big
customer project for that case
> Sample application
> -------------------------
> I created an example application that shows how the following features:
> - internal wiring
> - container managed JPA with transactions
> - using and offering OSGi services

This message was sent by Atlassian JIRA

View raw message