Rodrigo Rey wrote:
Ok, I think I understand the confusion. You are trying to access the EJB modules from the WEB modules. Goes against specs. setting up the XFireServlet in the web.xml, will allow your application to look for the META-INF/xfire/services.xml In that xml file you can specify a service class and your impl class. In that Impl class, you would communicate with your EJB's. you can't communicate directly to EJBs, via http. you have to go through the web tier.

------------------------------------------------------------------------
*From:* Maxime Orain [mailto:[EMAIL PROTECTED]
*Sent:* Friday, March 23, 2007 9:35 AM
*To:* [email protected]
*Subject:* RE: [xfire-user] EJB and XFire

In fact my problem is that I really don’t know where to put the container information.

Example:

I ve got a EJB which defines one method : sayHello()

Test.HelloBean

Test.HelloHome

Test.HelloRemote

My EJB is on a JBoss 4 and the JNDI name is HelloService.

For XFire configuration where I put the JNDI information?

- JNDI url

- JNDI name

- JNDI context

And how which config for serviceClass and ImplementationClass?

Like this?

<beans xmlns="http://xfire.codehaus.org/config/1.0";>

<service>

<name>Hello</name>

<namespace>http://mycompagny.com/Hello</namespace>

<serviceClass> Test.HelloRemote</serviceClass>

<implementationClass> Test.HelloBean</implementationClass>

</service>

</beans>

If you have an example of a simple EJB i would like to see it please.

Thanks for helping me.

Max.

------------------------------------------------------------------------

*From:* Rodrigo Rey [mailto:[EMAIL PROTECTED]
*Sent:* 23 March 2007 18:20
*To:* [email protected]
*Subject:* RE: [xfire-user] EJB and XFire

Hi Maxime,

I've gotten xfire to work with EJB's on websphere, weblogic and jboss. Using jdk 1.4 and Aegis binding, the default for xfire.

If you just need to get it up and going, the examples in the user guide (http://xfire.codehaus.org/User%27s+Guide) are pretty straight forward and should provide you with all that you need.

Do you have anything in particular you are having problems with?

Rodrigo.

------------------------------------------------------------------------

*From:* Maxime Orain [mailto:[EMAIL PROTECTED]
*Sent:* Friday, March 23, 2007 8:05 AM
*To:* [email protected]
*Subject:* RE: [xfire-user] EJB and XFire

Excuse me I made an error…

I want to expose EJB via XFire and not by Mule J

I only want to use the XFire API and not the Spring framework

------------------------------------------------------------------------

*From:* Andres Bernasconi [mailto:[EMAIL PROTECTED]
*Sent:* 23 March 2007 16:56
*To:* [email protected]
*Subject:* Re: [xfire-user] EJB and XFire

I did with BEA WebLogic (using their proprietary way of exposing EJBs as Web Services)

We had no problems at all.

On 3/23/07, *Maxime Orain* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

Hello to all.

I searched but I didn't find anything… I search to expose EJB in Web Services with only the Mule API…

I can t use Java 5 or Spring…

Is anybody did this? Can someone help me?

Thanks.

Max.


This email was sent to you by Reuters, the global news and information company. To find out more about Reuters visit www.about.reuters.com <http://www.about.reuters.com>

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Limited.

Reuters Limited is part of the Reuters Group of companies, of which Reuters Group PLC is the ultimate parent company. Reuters Group PLC - Registered office address: The Reuters Building, South Colonnade, Canary Wharf, London E14 5EP, United Kingdom
Registered No: 3296375
Registered in England and Wales


This email was sent to you by Reuters, the global news and information company.
To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Limited.

Reuters Limited is part of the Reuters Group of companies, of which Reuters Group PLC is the ultimate parent company. Reuters Group PLC - Registered office address: The Reuters Building, South Colonnade, Canary Wharf, London E14 5EP, United Kingdom
Registered No: 3296375
Registered in England and Wales


This email was sent to you by Reuters, the global news and information company.
To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Limited.

Reuters Limited is part of the Reuters Group of companies, of which Reuters Group PLC is the ultimate parent company. Reuters Group PLC - Registered office address: The Reuters Building, South Colonnade, Canary Wharf, London E14 5EP, United Kingdom
Registered No: 3296375
Registered in England and Wales

What if the container supports EJB 2.1 Web Services, couldn't one then just annotate the session beans in the EJB modules directly and allow xfire to do it's magic (perhaps its a feature that's missing but can be added). This would allow to avoid creating a separate Web Module.
Srgjan

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to