I need to develop an OSGi application with clear back-end front-end separation hopefully done using JAX-WS. The google results points to Apache-CXF which supports JAX-WS. The back-end and the front-end of the application will be run in two JVMs with separate Equinox OSGi containers. Is there a standard way to integrate Apache-CXF with Equinox? Will this need a servlet container like Tomcat or Jetty embedded in Equinox as well? Or is there a more convenient proven to work method to do this?
how to expose and consume webservices from an Equinox OSGi application?
1.5k Views Asked by Jeewantha At
2
There are 2 best solutions below
Related Questions in WEB-SERVICES
- couldn't copy pdb file to another directory while consuming wcf web service
- .net rest service with JSON string and consumed with java client
- How to send Rest GET request that contains "#" value in url parameters?
- Looking the Method that MANUALLY INSTALL PHP on OSX Yosemite
- How to use @queryparam when using array in Java
- How to accept cookies when using a webservice - Android?
- zend soap server reading xml attributes
- Web Service Error path property must set before calling the send method
- Error with kSOAP2
- JAX-RS service response is returning double fields without decimal places
- How can I call a ASP.Net webservice using AJAX without calling controller
- Generate clients for multiple WSDL files and place it in different package through Spring Gradle
- File upload in AXIS2 webservice
- How to route by call method in proxy with WSO2?
- fetch data from web service to dataset in Delphi
Related Questions in OSGI
- Eclipse OSGI unsatisfied constraint
- How to run Master Server from Equinox OSGi console?
- How to start a clean publishing instance and sync everything including OSGi bundles?
- @Transactional with xml-defined bean not working. (OSGi)
- How can single instance of an OSGI factory configuration be read from Java in CQ
- OSGi Component's default configuration value contains escaped backslash
- Third party OSGi library dependency conflict
- Apache sling : org.apache.sling.api.resource.PersistenceException: Unable to create node at /var/discovery))
- OSGI compatible artifact for jaxb2-basics?
- Modules Integration and Security in spring
- How to set a system property for the log4j2 JUL adapter in an OSGi environment
- Avoid copying some packages to OSGi Bundle
- AEM as IDP( Identity Provider) for CRM using SAML
- OSGI+CDI: strange behaviour with system printers detecting
- Getting ClassNotFound for PaxExam Option class when running test
Related Questions in CXF
- Apache CXF LoggingFeature settings
- Mule: Migrating to the New HTTP Connector
- JAX-WS WebService via CXF provides inaccurate wsdl
- How to define common route body in camel configuration?
- Removing namespace from Soap Response Camel CXF
- The signature or decryption was invalid when verifying with cxf
- apache cxf - convert WSDL to Java
- Apache CXF + JavaFX No conduit initiator was found for the namespace
- Extended server_name (SNI Extension) not sent with jdk1.8.0 but send with jdk1.7.0
- Getting Error in SOAP POST request using Apache CXF but curl works
- CXF WS-Security - X509IssuerSerial validation fails
- CXF 3 Memory Leak
- Apache Camel and CXF JAX-RS Rest Service(s) End Point Routing and Proxy Server
- How to invalidate session by CXF Interceptor?
- Caused by: javax.ws.rs.NotFoundException
Related Questions in EQUINOX
- How to run Master Server from Equinox OSGi console?
- How to configure user bundles so that they can be autostarted with higher priority - hence earlier than others?
- How can I reference all components that implement a given interface?
- OSGI bundle: NoClassDefFoundError
- Kura: Export Plug-in throws Nullpointer Exception
- Build OSGI application with Maven
- Adding classpath entry to EquinoxClassLoader for an eclipse plugin
- Equinox Jetty: ClassNotFound when trying use JDBCSessionManager
- OSGI: How to update a 'consumer' bundle
- OSGI Service components With same interface
- Creating a moddable application with OSGi
- Getting EntityManagerFactory in an Equinox OSGI Framework using Hibernate Unmanaged JPA
- Does JAI work inside an OSGI on MAC OS >10.7 + Java 1.7?
- Karaf Jetty performance issue
- OSGI Equinox with Hibernate JPA Setting up
Related Questions in DOSGI
- Returning JSON from a RESTful service using CXF DOSGI
- Deploying webservices on multihomed machines
- How to use R-Osgi to get remote "exported-package"?
- Karaf Cellar throwing exception with blueprint route deployment
- How can I use the CXF HttpConduitFeature for DOSGi?
- Error resolving org.ops4j.pax.logging.pax-logging-service in Virgo
- Can I use Distributed OSGi and ConfigurationAdmin together?
- deploy Apache ServiceMix 4 application into JBoss Application Server 7
- bundles get installed on both Karaf instances
- dosgi: No resource methods have been found for resource class - javax.ws.rs annotation ignored?
- how to expose and consume webservices from an Equinox OSGi application?
- Exported service not injecting in my bundle in Spring Dynamic Modules
- DOSGI Support in Glassfish
- OSGi in Distributed Infrastructures
- Distributed OSGi example with Apache Karaf Cellar - Client bundle can't activate because can't find distributed service
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The simplest and best proven way to use CXF in OSGi is with Apache Karaf. It is an OSGi server based on Equinox or Felix and is optimized for integration with several Apache frameworks like CXF, Camel, ActiveMQ.
If you want to use plain Equinox then the DOSGi distro mentioned above is a good starting point. It contains all bundles needed to run Distributed OSGi based on CXF. This means it is also suitable for most CXF JA-XWS use cases.
In Karaf on the other hand you get a much better integration with all the CXF modules. It is also much better tested as it is used for Servicemix and several commercial solutions e.g. from Redhat and Talend where I work.
For your special case Distributed OSGi itself may also be a very good option. It means that you do not directly provide/consume CXF services. Instead you publish and consume OSGi services and CXF takes care of the remoting.
I have written a tutorial series that shows how to use CXF with Apache karaf: