tangyong / gf-dcxf-integration

[BackGround] [Reference By https://issues.jboss.org/browse/JBOSGI-322] The Enterprise OSGi Spec describes OSGi Remote Services which is a way to Distribute OSGi Services. An implementation on top of Web Services and REST is available at the CXF Distributed OSGi project (http://cxf.apache.org/distributed-osgi.html). Integrating this in the JBoss OSGi distribution would provide it with support for this important OSGi spec. [Requirement] In a distributed soa/cloud enviroment, in order to decouple the whole system and use the subsystems dynamicly, user can use osgi. However, because subsystems/modules can be distributed across the whole system, as a framework of publishing/consuming services, glassfish should have an capability to support Distributed OSGi. [Integration Example] "Deploying CXF-DOSGi to JBoss AS7" https://community.jboss.org/thread/174136
0 stars 0 forks source link

Analysing DCXF Dependent Bundles #1

Open tangyong opened 12 years ago

tangyong commented 12 years ago

Because some of DCXF dependent bundles belong to other open souce implementation of specfications, we must analyse these bundles to confirm whether glassfish has the corresponding implementations or not and if having, we will replace them using glassfish implementations. DCXF Dependent Bundles needed to be analysed are following(removing dcxf-related bundles and org.osgi.compendium-4.2.0.jar and org.osgi.enterprise-4.2.0.jar):


geronimo-annotation_1.0_spec-1.1.1.jar dosgi_bundles/geronimo-activation_1.1_spec-1.1.jar geronimo-javamail_1.4_spec-1.2.jar geronimo-servlet_3.0_spec-1.0.jar geronimo-ws-metadata_2.0_spec-1.1.3.jar com.springsource.org.apache.commons.logging-1.1.1.jar com.springsource.org.jdom-1.1.0.jar spring-core-3.0.6.RELEASE.jar spring-beans-3.0.6.RELEASE.jar spring-context-3.0.6.RELEASE.jar com.springsource.org.aopalliance-1.0.0.jar com.springsource.slf4j.api-1.5.10.jar com.springsource.slf4j.jcl-1.5.10.jar spring-aop-3.0.6.RELEASE.jar spring-asm-3.0.6.RELEASE.jar spring-expression-3.0.6.RELEASE.jar spring-osgi-io-1.2.1.jar spring-osgi-core-1.2.1.jar spring-osgi-extender-1.2.1.jar jetty-all-server-7.4.2.v20110526.jar pax-web-spi-1.0.3.jar pax-web-runtime-1.0.3.jar pax-web-jetty-1.0.3.jar org.apache.servicemix.bundles.jaxb-impl-2.1.13_2.jar org.apache.servicemix.bundles.wsdl4j-1.6.2_5.jar org.apache.servicemix.bundles.xmlsec-1.4.5_1.jar xmlschema-core-2.0.1.jar org.apache.servicemix.bundles.asm-3.3_2.jar org.apache.servicemix.bundles.xmlresolver-1.2_4.jar neethi-3.0.1.jar stax2-api-3.1.1.jar woodstox-core-asl-4.1.1.jar org.apache.servicemix.bundles.commons-pool-1.5.4_1.jar org.apache.servicemix.specs.saaj-api-1.3-1.9.0.jar org.apache.servicemix.specs.stax-api-1.0-1.9.0.jar org.apache.servicemix.specs.jaxb-api-2.1-1.9.0.jar org.apache.servicemix.specs.jaxws-api-2.1-1.9.0.jar org.apache.servicemix.specs.jsr311-api-1.1.1-1.9.0.jar org.apache.servicemix.bundles.joda-time-1.5.2_4.jar org.apache.servicemix.bundles.opensaml-2.4.1_1.jar

tangyong commented 12 years ago

1 geronimo-annotation_1.0_spec-1.1.1.jar

modules\endorsed\javax.annotation.jar has implemented the JSR250, so the geronimo-annotation_1.0_spec-1.1.1.jar needed not to be placed into Glassfish.

tangyong commented 12 years ago

2 geronimo-activation_1.1_spec-1.1.jar

Java Activation Spec API 1.1 (JSR925)'s geronimo implementation.

From Bill's Reply:

javax.activation is included in JDK 1.6 and newer. There's no longer any need to include it in GlassFish.

So, decide to remove the bundle.

tangyong commented 12 years ago

3 geronimo-javamail_1.4_spec-1.2.jar

JavaMail(TM) API Design Specification(JSR 919)'s geronimo implementation.

Glassfish has corresponding implementation: javax.mail.jar, So, will replace the geronimo implementation.

tangyong commented 12 years ago

4 geronimo-servlet_3.0_spec-1.0.jar

Servlet 3.0 Specification(JSR 315) 's geronimo related bundle.

Glassfish has corresponding bundle: javax.servlet-api.jar.

Note: on the javax.servlet-api.jar's Manifest.MF file, it writes: "Java(TM) Servlet 3.0.99 API Design Specification", the problem whether 3.0.99 version is compatibale with 3.0 version or not will be confirmed on starting dcxf.

Now, decide to remove the geronimo bundle.

tangyong commented 12 years ago

5 geronimo-ws-metadata_2.0_spec-1.1.3.jar

Web Services Metadata (JSR 181)'s geronimo related bundle.

Glassfish has corresponding bundle: endorsed/webservices-api-osgi.jar.

So, decide to remove the geronimo bundle.

tangyong commented 12 years ago

6 com.springsource.org.apache.commons.logging-1.1.1.jar

need to place it into gf

tangyong commented 12 years ago

7 com.springsource.org.jdom-1.1.0.jar

JDOM DOM Processor

need to place it into gf

tangyong commented 12 years ago

8 Spring Related Bundles

com.springsource.org.jdom-1.1.0.jar spring-core-3.0.6.RELEASE.jar spring-beans-3.0.6.RELEASE.jar spring-context-3.0.6.RELEASE.jar com.springsource.org.aopalliance-1.0.0.jar com.springsource.slf4j.api-1.5.10.jar com.springsource.slf4j.jcl-1.5.10.jar spring-aop-3.0.6.RELEASE.jar spring-asm-3.0.6.RELEASE.jar spring-expression-3.0.6.RELEASE.jar spring-osgi-io-1.2.1.jar spring-osgi-core-1.2.1.jar spring-osgi-extender-1.2.1.jar

Now, above bundles will be placed into GF

tangyong commented 12 years ago

9 jetty-all-server-7.4.2.v20110526.jar

Not Determinated , and firstly remove it.

tangyong commented 12 years ago

10 pax related web bundles

pax-web-spi-1.0.3.jar pax-web-runtime-1.0.3.jar pax-web-jetty-1.0.3.jar

Glassfish OSGi/JavaEE modules maybe have replacements, so firstly remove them.

tangyong commented 12 years ago

11 org.apache.servicemix.bundles.jaxb-impl-2.1.13_2.jar

Java Architecture for XML Binding (JSR 222)'s servicemix related bundle.

Glassfish has corresponding bundle: endorsed/jaxb-api-osgi.jar, modules/jaxb-extra-osgi.jar, modules/jaxb-osgi.jar

So, decide to remove the bundle.

tangyong commented 12 years ago

12 org.apache.servicemix.bundles.wsdl4j-1.6.2_5.jar

Java APIs for WSDL(JSR 110)'s servicemix related bundle.

Glassfish seemed no corresponding bundle, however, I will ask gf team firstly.

So, decide to place it into gf firstly.

tangyong commented 12 years ago

13 org.apache.servicemix.bundles.xmlsec-1.4.5_1.jar

Java XML Digital Signature API Specification (JSR 105)'s servicemix related bundle.

Firstly, JSR 105 API has been included in JDK 1.6 and Metro Web Services Runtime OSGi Bundle(modules/webservices-osgi.jar) has included aJSR 105 implementation. So, should remove the servicemix bundle.

tangyong commented 12 years ago

14 xmlschema-core-2.0.1.jar

Commons XMLSchema is a light weight schema object model that can be used to manipulate or generate XML schema

Not Determinated.

So, place it into glassfish firstly. (need to confirm with gf team lately)

tangyong commented 12 years ago

15 org.apache.servicemix.bundles.asm-3.3_2.jar

place it into glassfish firstly.

tangyong commented 12 years ago

16 org.apache.servicemix.bundles.xmlresolver-1.2_4.jar

place it into glassfish firstly.

tangyong commented 12 years ago

17 neethi-3.0.1.jar

Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with latest WS Policy specification which was published in March 2006. This framework is specifically written to enable the Apache Web services stack to use WS Policy as a way of expressing it's requirements and capabilities.

place it into glassfish firstly. (need to confirm with gf team lately)

tangyong commented 12 years ago

18 stax2-api-3.1.1.jar

Glassfish has included stax2-api bundle(modules/stax2-api.jar), so need not place it into gf.

tangyong commented 12 years ago

19 woodstox-core-asl-4.1.1.jar

Glassfish has included woodstox-core-asl bundle(modules/woodstox-core-asl.jar), so need not place it into gf.

tangyong commented 12 years ago

20 org.apache.servicemix.bundles.commons-pool-1.5.4_1.jar

This bundle simply wraps commons-pool-1.5.4.jar.

place it into glassfish firstly.

tangyong commented 12 years ago

21 org.apache.servicemix.specs.saaj-api-1.3-1.9.0.jar org.apache.servicemix.specs.stax-api-1.0-1.9.0.jar org.apache.servicemix.specs.jaxb-api-2.1-1.9.0.jar org.apache.servicemix.specs.jaxws-api-2.1-1.9.0.jar org.apache.servicemix.specs.jsr311-api-1.1.1-1.9.0.jar

remove the above spec api firstly.

tangyong commented 12 years ago

22 org.apache.servicemix.bundles.joda-time-1.5.2_4.jar

This OSGi bundle wraps joda-time 1.5.2 jar file.

place it into glassfish firstly.

tangyong commented 12 years ago

23 org.apache.servicemix.bundles.opensaml-2.4.1_1.jar

This OSGi bundle wraps opensaml 2.4.1 jar file.

place it into glassfish firstly.