Hi Baki, 


you need to expose your ejbs by adding 



<ejbViewType>remote</ejbViewType>



to the properties of your  <artifactId>andromda-spring-cartridge</artifactId> 
in mda/project.xml



If you want to run/debug your client from eclipse you need to also add



<clientServiceLocatorClassloaderSwitching>on</clientServiceLocatorClassloaderSwitching>



For Jboss you need some jndi.properties in the classpath of your client too. 
Mine looks like:



java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory

java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

java.naming.provider.url=localhost



Now you can use the ServiceLocator to - well - locate your services and talk to 
them :). 



Cheers 

Harald
--
Harald Weyhing
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=487#487
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to