First you'll need to add the "ejbViewType" property in your spring namespace 
with a value of "remote" (so that EJB remote support will be generated).  
Second: take a look at this thread again: .  You'll need to basically have your 
ServiceLocator on your client side use the beanRefFactory.xml with the contents 
I have pasted in that thread (this one needs to be used instead of the default 
beanRefFactory.xml  for the client which you'll find in your 
core/target/src..however your serverside one should remain the one that's 
generated):



<?xml version="1.0" encoding="UTF-8"?>



<!DOCTYPE beans

&nbsp; &nbsp; PUBLIC "-//SPRING//DTD BEAN//EN"

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;"http&#58;//www.springframework.org/dtd/spring-beans.dtd">



<beans>



&nbsp; &nbsp; <bean id="beanRefFactoryEjb"

&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;class="org.springframework.context.support.ClassPathXmlApplicationContext">

&nbsp; &nbsp; &nbsp; &nbsp; <constructor-arg>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<list>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<value>applicationContext-remoteEjb.xml</value>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</list>

&nbsp; &nbsp; &nbsp; &nbsp; </constructor-arg>

&nbsp; &nbsp; </bean>

&nbsp; &nbsp;

</beans>
--
Chad Brandon - [EMAIL PROTECTED]

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to