[fleXive] Developer Blog

July 30, 2010

Podcast on JSF Central

Filed under: Using fleXive — Tags: , , , , — Daniel Lichtenberger @ 08:47

JSF Central just published a podcast about [fleXive] recorded at last year’s JSFdays. It’s basically an introduction to [fleXive], and Kito was of course a very competent and knowledgeable interviewer, so the interview covers quite a few interesting points I wouldn’t have thought of before.

Continue to the podcast…

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>

May 20, 2010

JSF2 support in [fleXive]

Filed under: Development News — Tags: , , , — Daniel Lichtenberger @ 13:50

I added a page regarding JSF2 support in [fleXive] to our wiki:

  • [fleXive] 3.1.0+ should run on any JSF implementation
  • Work on trunk has started for native JSF2 support (i.e. supporting the new view description language and features like f:ajax).

There is also a (very small) test project for the JSF2 components, check it out with:
svn co http://svn.flexive.org/repository/flexive/trunk/src/examples/jsf2-test

April 16, 2010

[fleXive] 3.1 released, EAR archetype updated

Filed under: Announcements, Releases — Tags: , , , , , , — Daniel Lichtenberger @ 13:46

Just a quick note that the next major release of [fleXive] is available. Read the accouncement on our homepage (finally also powered by fleXive).

In the course of the release the EAR archetype has also received a minor update, bumping the [fleXive] version to 3.1.0 (no other changes). Use this command to create a new project:

mvn archetype:generate -DarchetypeGroupId=com.flexive -DarchetypeArtifactId=flexive-archetype-ear -DarchetypeVersion=0.7.1 -DarchetypeRepository=http://repo.flexive.org/maven2/

More information on working with Maven projects can be found in the reference documentation.

March 16, 2010

Maven archetype updated, Beta 3 released

Filed under: Development News, Releases, Using fleXive — Tags: , , , , , , — Daniel Lichtenberger @ 16:13

The Maven EAR archetype has been updated after the release of [fleXive] 3.1 Beta 3. It is of course based on beta 3, and includes a few minor changes and bugfixes that justified a new version.

The flexive backend is now always reached under the /flexive context (both from the embedded Jetty instance and from EAR deployments), the application itself always under /war. To get started:

  1. mvn archetype:generate -DarchetypeGroupId=com.flexive -DarchetypeArtifactId=flexive-archetype-ear -DarchetypeVersion=0.7 -DarchetypeRepository=http://repo.flexive.org/maven2/
  2. Enter the project name and group, e.g. test/test
  3. cd test
  4. mvn install
  5. cd war
  6. mvn jetty:run
  7. Open http://localhost:8080/flexive/ in your browser and complete the installation by logging in with supervisor/supervisor.

For more information on the Maven support, please refer to the reference documentation.

February 8, 2010

[fleXive] 3.1 Beta 2 available

Filed under: Announcements, Releases — Tags: , , , , , , , — Daniel Lichtenberger @ 16:40

The second beta version for the upcoming release of [fleXive] 3.1 is available. It includes many bugfixes since the first beta release, PostgreSQL support and (experimental) division export and import.

Continue reading on flexive.org for further information and download links.

October 23, 2009

CMIS and WebDAV connector source released

Filed under: Development News — Daniel Lichtenberger @ 11:02

Yesterday I added the sources of our CMIS and WebDAV adapters to our main repository on svn.flexive.org. They are still under development, so no binary releases yet, but especially the WebDAV adapter is already quite useable. If you want to build them now, please follow these steps…

Get and build Chemistry

Chemistry is an incubating project at Apache and provides a generic implementation of a server-side CMIS connector. The idea is that the content repository only has to implement a modest set of backend methods, and Chemistry will provide the rest (like AtomPub and WebService bindings). Currently there are no releases of Chemistry yet, so we need to build it on our own (all instructions are for Unix, please adopt slightly when using Windows):

Update 2010-01-08: Flexive tracks the Chemistry trunk version again, so please checkout http://svn.apache.org/repos/asf/incubator/chemistry/trunk instead.

mkdir build
cd build
svn checkout http://svn.apache.org/repos/asf/incubator/chemistry/branches/0.62 chemistry-reactor
cd chemistry-reactor
mvn install
cd chemistry
mvn install

Get the CMIS/WebDAV modules

The CMIS and WebDAV modules of [fleXive] are also built with Maven 2. To build them, we don’t need the entire [fleXive] source tree, as the [fleXive] artifacts will be resolved from our Maven repository.

cd ../..
svn checkout http://svn.flexive.org/repository/flexive/trunk/modules/chemistry flexive-chemistry
cd flexive-chemistry
mvn install

The “mvn install” step will also run some tests with an embedded [fleXive] container, if you want to skip them pass “-DskipTests” on the command line.

Installation

The interesting artifacts produced by the build are two web applications:

  • flexive-webdav-webapp/target/flexive-webdav.war contains the WebDAV adapter
  • flexive-atompub-webapp/target/flexive-atompub.war is the CMIS AtomPub connector

To use them, add the WAR files to your flexive.ear (when using Maven, add a dependency to the WAR artifact, when using the flexive distribution, add them to the flexive-dist/applications directory, when building [fleXive] from source put them in the drop/ directory). Note that both adapters are under active development, and are not yet in a stable state. The CMIS adapter used to work against the CMIS Spaces and CMIS Explorer clients, but the clients have moved to newer versions of the standard since then. The WebDAV adapter is based on Milton and works quite well, although it’s also not recommended for production use. I tested it with KDE’s Dolphin, Gnome Nautilus (only works when it is bound to the root web context), cadaver (Linux command line client), and Windows XP. It also passes quite a few tests of the litmus WebDAV test suite, which of course is entirely to be attributed to the excellent Milton WebDAV library.

August 25, 2009

[fleXive] 3.1 Beta 1 available

Filed under: Announcements, Releases — Daniel Lichtenberger @ 14:28

The first beta release of [fleXive] 3.1 is available. This release includes a ton of new features and improvements, as well as a Java-based installer that takes you to the [fleXive] login prompt in less than a minute.

Try out the installer or continue to read the rest of the announcement on www.flexive.org

August 14, 2009

Maven EAR applications: new H2 version required

Filed under: Development News — Tags: , , , , , , , — Daniel Lichtenberger @ 15:18

The 0.6 version of our EAR archetype includes a hardcoded version number for the H2 database engine artifact. Recent changes in the [fleXive] trunk (i.e. 3.1-SNAPSHOT) require a newer version of H2, otherwise the initialization of the database will fail with a “Syntax error in SQL statement”.

The fix for existing projects is to fix the version number in your main module’s pom.xml: increase the h2.version property from 1.1.106 to 1.1.117.

To avoid this issue in the future, I moved the H2 dependency to the flexive-h2 artifact. The current snapshot version of the archetype (1.0-SNAPSHOT) therefore no longer includes a dependency on com.h2database.h2, and potential changes in the required H2 version number (always a possibility since H2 development is very active) won’t affect existing projects.

June 25, 2009

[fleXive] 3.0.3 released

Filed under: Releases — Tags: , , , , , — Daniel Lichtenberger @ 15:32

[fleXive] 3.0.3, a bugfix release for [fleXive] 3.0, has been released. It contains important bugfixes and maintains binary compatibility with [fleXive] 3.0. The release can be downloaded at SourceForge, either in a platform-independent format or a Windows-only installer based on JBoss and MySQL. Version 3.0.3 has also been published to our Maven repository (further information can be found in the reference documentation).

The changelog follows after the break.
(more…)

Older Posts »

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

Follow

Get every new post delivered to your Inbox.