[fleXive] Developer Blog

July 21, 2010

[fleXive] 3.1.4 released, adds Web Profile support

Filed under: Announcements, Development News, Releases — Daniel Lichtenberger @ 12:17

A new update release containing important bugfixes has been released. Head over to our homepage for release notes and download links.

The major new feature of this release is support for the JavaEE 6 Web Profile, a slimmed-down version of JavaEE 6. It provides all the good stuff of JavaEE that [fleXive] already uses (managed beans, container managed transactions, connection pooling, JSF), but removes a lot of the baggage from the J2EE era. Actually the only feature we are using that is not part of the web profile is remote interfaces. To see this in action just download flexive-admin.war, get Glassfish 3 Web, and drop the WAR file into the glassfish/domains/domain1/autodeploy folder. It should just work, without further configuration. The default data source is defined with the new DataSourceDefinition annotation (but can of course be overridden with a custom datasource).

To use [fleXive] in a WAR project, either create the project using our Maven archetype or include the [fleXive] EJBs in your (Maven) application:

        <dependency>
            <groupId>com.flexive</groupId>
            <artifactId>flexive-ejb</artifactId>
            <type>ejb</type>
            <version>3.1.4</version>
            <exclusions>
                <!-- Exclude remote interfaces to enable web profile deployment -->
                <exclusion>
                    <groupId>com.flexive</groupId>
                    <artifactId>flexive-ejb-interfaces-all</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- Add only local EJB interfaces for flexive -->
        <dependency>
            <groupId>com.flexive</groupId>
            <artifactId>flexive-ejb-interfaces-local</artifactId>
            <version>3.1.4</version>
        </dependency>

        <dependency>
            <groupId>com.flexive</groupId>
            <artifactId>flexive-plugin-jsf2-core</artifactId>
            <version>3.1.4</version>
        </dependency>

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.