Index Changes
This is version 4. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

IN PROGRESS

Spring And Spring DM Support In Fuji

Fuji provides a strong support for Interacting of JBI application with that of JAVA code outside of JBI, This documents provide the details how this can achieved easily with the existing simple Service API, and what are the Future plans

Using Fuji simple service API

This blog gives an idea how to provision a service within springDM and access the same from JBI, However we will delve into some of the details which one would require in order the setup the environment

Installing and starting the springDM bundles

This is key for the springDM applications to work, There two possible approach one can take in order to install the springDM Bundles on Fuji-Felix or Fuji-Glassfish, The set of Bundles which needs to be installed are

  • spring-core.jar (bundle symbolic name org.springframework.core)
  • spring-context.jar (bundle symbolic name org.springframework.context)
  • spring-beans.jar (bundle symbolic name org.springframework.beans)
  • spring-aop.jar (bundle symbolic name org.springframework.aop)
  • aopalliance
  • cglib-nodep (when proxying classes rather then interfaces, needed in most cases)
  • commons-logging API (SLF4J version highly recommended:
    • SLF4J API (com.springsource.sfl4j.api.jar)
    • SLF4J Implementation Bridge (such as Log4j - com.springsource.sfl4j.log4j.jar)
    • SLF4J commons logging adapter (com.springsource.sfl4j.org.apache.commons.logging.jar)
  • logging implementation suitable for commons-logging (such as log4j)

The order in which this osgi bundles needs to be installed is shown below


[  40] [Resolved   ] [    2] spring-osgi-core (1.2.0)
[  41] [Active     ] [    1] cglib-nodep.osgi (2.1.3.SNAPSHOT)
[  42] [Active     ] [    1] AOP Alliance API (1.0.0)
[  43] [Active     ] [    1] SLF4J API (1.5.0)
[  44] [Resolved   ] [    1] SLF4J Log4J Binding (1.5.0)
[  45] [Active     ] [    1] SLF4J Jakarta Commons Logging Over SLF4J Binding (1.5.0)
[  46] [Active     ] [    1] Spring AOP (2.5.6.A)
[  47] [Active     ] [    1] Spring Beans (2.5.6.A)
[  48] [Active     ] [    1] Spring Context (2.5.6.A)
[  49] [Active     ] [    1] Spring Core (2.5.6.A)
[  50] [Active     ] [    1] spring-osgi-extender (1.2.0)
[  51] [Active     ] [    1] spring-osgi-io (1.2.0)
[  52] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)

Future Enhancement

The plans include seamless integration for existing spring applications and native spring support, more info

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This particular version was published on 02-Oct-09 15:07 PM, -0700 by sujit