ws-server

ws-server OSGi blueprint bundle project.

License

License

GroupId

GroupId

de.mhus.osgi.tutorial
ArtifactId

ArtifactId

ws-server
Last Version

Last Version

1.0.5
Release Date

Release Date

Type

Type

bundle
Description

Description

ws-server
ws-server OSGi blueprint bundle project.

Download ws-server

Dependencies

compile (8)

Group / Artifact Type Version
de.mhus.osgi.tutorial : ws-model jar 1.0.5
org.apache.cxf : cxf-rt-frontend-jaxrs jar 2.7.9
org.apache.cxf : cxf-rt-frontend-jaxws jar 2.7.9
org.apache.cxf : cxf-rt-transports-http jar 2.7.9
org.apache.cxf : cxf-rt-transports-http-jetty jar 2.7.9
biz.aQute : bndlib jar 1.50.0
org.apache.felix : org.apache.felix.metatype jar 1.0.10
org.apache.felix : org.apache.felix.servicediagnostics.plugin bundle 0.1.3

Project Modules

There are no modules declared in this project.

mhus-osgi-tools

A collection of osgi and karaf tools. The tools are created make work with osgi more efficient. Most time prepare osgi with service consumers, so other bundles can provide functionality which is atomatically integrated into the osgi engine.

vaadinbridge

Provide in OSGi the servlet /VAADIN to map vaadin resources (like widgetsets and themes) out in the world. The bridge will watch bundles and automatically publish/destroy VAADIN resources.

jwsbridge

Provide an OSGi service handling jws services. Implement and install the JavaWebService interface and the web service will automatically become an entry point.

Build from source

git clone https://github.com/mhus/mhus-osgi-tools.git mhus-osgi-tools
cd mhus-osgi-tools
mvn install

Use with maven

Change version

Append a version property

<properties>
	<mhus-osgi-tools.version>1.0.2</mhus-osgi-tools.version>
</properties>

Follow the instructions in the sections jwsbridge and vaadinbridge.

Install Into Karaf

Use Feature

Maybe need cglib provider installed: install -s mvn:de.mhus.ports/mhus-cglib/1.3.1-SNAPSHOT

feature:repo-add activemq 5.15.8 feature:repo-add cxf 3.2.7 feature:repo-add mvn:de.mhus.osgi/mhu-karaf-feature/1.4.1-SNAPSHOT/xml/features

feature:install mhu-osgi-base or feature:install mhu-osgi-jms or feature:install mhu-osgi-full

Manually:

feature:repo-add activemq 5.12.1 feature:repo-add cxf 2.7.11

feature:install jdbc feature:install openjpa feature:install scr

feature:install activemq-broker

http://localhost:8185/activemqweb

install -s mvn:mysql/mysql-connector-java/5.1.18

install -s mvn:org.codehaus.jackson/jackson-core-asl/1.9.5 install -s mvn:org.codehaus.jackson/jackson-mapper-asl/1.9.5

install -s mvn:de.mhus.lib/mhu-lib-annotations/3.3.2-SNAPSHOT install -s mvn:de.mhus.lib/mhu-lib-core/3.3.2-SNAPSHOT install -s mvn:de.mhus.lib/mhu-lib-jms/3.3.2-SNAPSHOT install -s mvn:de.mhus.lib/mhu-lib-persistence/3.3.2-SNAPSHOT install -s mvn:de.mhus.lib/mhu-lib-karaf/3.3.2-SNAPSHOT

install -s mvn:de.mhus.osgi/mhu-osgi-jms/1.3.2-SNAPSHOT install -s mvn:de.mhus.osgi/mhu-osgi-commands/1.3.2-SNAPSHOT

install -s mvn:org.apache.httpcomponents/httpcore-osgi/4.2.1 install -s mvn:org.apache.httpcomponents/httpclient-osgi/4.2.1

install -s mvn:de.mhus.osgi/mhu-osgi-mailosgi/1.3.2-SNAPSHOT install -s mvn:de.mhus.osgi/mhu-osgi-mailkaraf/1.3.2-SNAPSHOT


bundle:persistentwatch add mhu-lib-annotations bundle:persistentwatch add mhu-lib-persistence bundle:persistentwatch add mhu-lib-karaf bundle:persistentwatch add mhu-lib-jms bundle:persistentwatch add mhu-lib-vaadin bundle:persistentwatch add mhu-lib-forms bundle:persistentwatch add mhu-lib-core bundle:persistentwatch add mhu-osgi-jms bundle:persistentwatch add mhu-osgi-mailosgi bundle:persistentwatch add mhu-osgi-mailkaraf bundle:persistentwatch add mhu-osgi-commands bundle:persistentwatch add mhu-osgi-sop-api bundle:persistentwatch add mhu-osgi-sop-impl

bundle:list|grep --color never mhu-osgi|cut -d '|' -f 4|run -c "for i in read *;bundle:persistentwatch add $i\ ;done"

Versions

Version
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1