Skip navigation
Naveen5a4
Currently Being Moderated

Is there any possibilty to integrate a EAR file with cq5 project??? the ear file is generated from a

May 28, 2012 4:19 AM

Is there any possibilty to integrate a EAR file with cq5 project??? the ear file is generated from a WSDL..

 
Replies
  • Currently Being Moderated
    May 29, 2012 6:06 PM   in reply to Naveen5a4

    Well I think that depends on what your definition of integrate is. You aren't going to be able deploy and EAR to the CQ OSGI container. An EAR implies a deployment mechanism that isn't supported to my knowledge in OSGI. So you have a couple of options:

    1. Treat them as seperate applications and integrate them over the wire (they could either be deployed on separate application servers or in the same application server).
    2. Consider re-engineering your EAR file after the WSDL generates it to see if you can extract the relavant functionality into a OSGI bundle. Depending on exactly what the ear file does this may nor may not be possible or it may or may not be worth the effort.

     

    In theory there are a number of other more advanced options that you could try, but I'd start with those two options for something that is generated by a WSDL.

     
    |
    Mark as:
  • Currently Being Moderated
    May 30, 2012 1:51 AM   in reply to Naveen5a4

    If you meant deploying CQ in a EAR file to be deployed into an Application Server, yes you can. See on the docs about how to install CQ into an application server.

     

    D.

     
    |
    Mark as:
  • Currently Being Moderated
    May 31, 2012 9:21 AM   in reply to Naveen5a4

    Is there a reason why you need an "ear" file ? So what is the task you want to fullfill.

    For me it sounds like you want to integrate a jax-ws service inside a cq5 project. To achive that you have to integrate a jax-rs client in cq5.

     

    One option to achive that is to integrate Apache CXF like documented here:

    http://www.pro-vision.de/adaptto/downloads/110915_adaptto_sling_cxf.pd f

    Samplecode can be found here:

    http://www.pro-vision.de/adaptto/downloads/110915_adaptto_sling_cxf_sa mpleproject.zip

     

    Best regards,

    Dominik

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points