I need to expose a single method from one of our EJBs. I have already read
thru the article at http://www.tsolak.com/?p=15 and exchanged a comment with
the author, but we don't use Spring in our application.
It seems like the easiest way to expose my method would be to follow the
example from
http://www.javaworld.com/javaworld/jw-05-2006/jw-0501-xfire.html?page=2 and use
the EJBInvoker that is in the documentation - but it brings up some questions:
1) Do I use the <method> parm in services.xml if I only want to expose a subset
of methods from my implementation class? If I don't provide a method parm,
does xfire expose all public methods?
2) Based on some of the reading I have done so far, it appears that the process
(maybe the old process) generates the wsdl and mapping files and packages them
for deployment, but in some of the examples for xfire, I don't see the WSDL?
3) Does XFire automatically generate (on-the-fly) the WSDL and mappings
configuration files - rather than using some type of ant task to pre-generate
the wsdl for deployment?
4) Can use this approach with the current version of XFire if we run under the
java 1.4.x version?
Thanks in advance!
_________________________________________________________________
See what you’re getting into…before you go there.
http://newlivehotmail.com