I have to emulate @EJB and just know an interface. How can I obtain a session bean? I can assume that the session bean comes out of an EAR so that the JNDI name is myEAR/myBeanClass/local or .../remote.
Shall I compute the EAR name via the classloader and then navigate through the JNDI tree looking for classes that implement the given interface? Perhaps there is an easier way. Any hint is appreciated!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265481#4265481
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265481
Hi there, this must be a really basic question - but still one which I could not find anything about,
I have installed JBoss WS 3.2.1 on JBoss 5.1.0.GA and everything works fine, I can see:
11:56:37,697 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
| 11:56:41,805 INFO [AbstractServerConfig] JBoss Web Services - CXF Server
| 11:56:41,805 INFO [AbstractServerConfig] 3.2.1.GA
However if I run the server using
run.bat -c minimal
The WS stack is not initialised. Which files/folders should I copy from the deploy directory to get this to work ?
(I want it only to run the basic services and the web service stack)
Many Thanks
JP
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265464#4265464
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265464