You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by bimjoeipa <jo...@ipaustralia.gov.au> on 2014/02/06 07:52:38 UTC

Using CXF with EJB Web Services Weblogic 11g

Hi,

I'm wondering what the easiest way is to use EJB Web Services (JSR-109) with
CXF inside Weblogic 11g?

I've been following:
http://cxf.apache.org/docs/application-server-specific-configuration-guide.html#ApplicationServerSpecificConfigurationGuide-WebLogic

And added:

<prefer-application-packages>
        <package-name>javax.jws.*</package-name>
    </prefer-application-packages>

Which subsequently turned off Weblogic's webservice stack, and then I was
wondering why CXF wasn't servicing the web services, when I realised that
CXF is not a complete replacement for a WS stack in any arbitrary
application server.

I found this Jira from ages ago:
https://issues.apache.org/jira/browse/CXF-1759  that talked about the
possibility of using JCA to use EJB web services.  How realistic is it? Does
anyone use it? Plus it looks like you have to add configuration to
ejb_servant.properties for every web service according to
http://cxf.apache.org/docs/using-cxf-jca-rar-in-application-server.html#UsingCXF-JCARARinApplicationServer-DeployRARtoWeblogic.

The main reason behind all this is that I need to use CXF's WS-Policy
inbound using weblogic.  From what I'm reading I can't simply use the
Weblogic WS stack and add CXF Interceptors as a JAX-WS Handler? There are
quite separate right?

Thanks,

Joel



--
View this message in context: http://cxf.547215.n5.nabble.com/Using-CXF-with-EJB-Web-Services-Weblogic-11g-tp5739546.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Using CXF with EJB Web Services Weblogic 11g

Posted by bimjoeipa <jo...@ipaustralia.gov.au>.
bimjoeipa wrote
> I found this Jira from ages ago:
> https://issues.apache.org/jira/browse/CXF-1759  that talked about the
> possibility of using JCA to use EJB web services.  How realistic is it?
> Does anyone use it? Plus it looks like you have to add configuration to
> ejb_servant.properties for every web service according to
> http://cxf.apache.org/docs/using-cxf-jca-rar-in-application-server.html#UsingCXF-JCARARinApplicationServer-DeployRARtoWeblogic.

My reading of the JCA CXF code is that it starts up a separate Jetty server
to handle the web service requests, which it then forwards onto the
stateless session beans.  Definitely not what I'm after,  look like the only
option is to use CXFServlet for servicing web service requests instead of
using EJBs.



--
View this message in context: http://cxf.547215.n5.nabble.com/Using-CXF-with-EJB-Web-Services-Weblogic-11g-tp5739546p5739650.html
Sent from the cxf-user mailing list archive at Nabble.com.