-
Sep 27th, 2008, 01:30 AM
#1
Class Cast Exception on Client side
Hi all,
I am using RMIServiceExporter To export the Service. I have configured the bean according to the Steps given in Spring In Action latest book.
And on client side i am using RMIProxyBeanFactory .
But as i am running the RMI server its working fine . But when i am trying to get bean On client side and Type Casting it to RMIProxyBeanFactory its giving class cast exception. $Proxy1 can not be cast to RMIProxyBeanFactory. Please help me.
Even what should i do to look up the Spring RMI Server by using simple RMI way ?
Please assist as i am very new to Spring .
-
Sep 28th, 2008, 04:55 PM
#2
I suggest you readup on FactoryBeans.. You don't NEED to cast it to a RmiServiceProxyFactoryBean, you simply inject it as if it was your normal object.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules