Hello,

the remoting Problem, which i don't understand is:

On the Server side:

Service class
Code:
public class BaseServiceImpl implements BaseService{
	@Autowired
	private BaseDao baseDao;

	@Override
	public <T extends DBObject> List<T> findAll(DBObject eClass,Class<T> entityClass) {
		List<T> list = baseDao.findAll(eClass.eClass(),entityClass);
		System.out.println(list.getClass());
		return new ArrayList<T>(list);
	}
}
DAO

Code:
public class BaseDaoEclispeLink implements BaseDao{

	@PersistenceContext
	private EntityManager entityManager;
	
	
	public <T extends DBObject> List<T> findAll(EClass entityClass, Class<T> returnClass){
                // create query...

		List<T> list = query.getResultList();
		return list;
	}
On the Client side the call is:

Code:
				List<MyClass> list = service.findAll(myClass, MyClass.class);
And the remoting Exception. Why do the ArrayList mapped to org.eclipse.emf.teneo.eclipselink.elist.IndirectEL ist? On the client side I want a java.util.ArrayList no org.eclipse.emf.teneo.eclipselink.elist.IndirectEL ist?

Code:
org.springframework.remoting.RemoteAccessException: Could not deserialize result from HTTP invoker remote service [http://localhost:8080/web/remoting/BaseService]; nested exception is java.lang.ClassNotFoundException: org.eclipse.emf.teneo.eclipselink.elist.IndirectEList not found from bundle [emf-rcp]
	at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:208)
	at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:145)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy5.findAll(Unknown Source)
	at handler.View$4.widgetSelected(View.java:151)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at emfrcp.Application.start(Application.java:20)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
and the xml
Code:
    <property name="serviceUrl" value="http://localhost:8080/web/remoting/BaseService" />
	<property name="serviceInterface" value="emf.service.BaseService" />
  </bean>
Thanks =)