ejb local interfaces
1 posts in topic
Flat View  Flat View

Posted By:   Kiranmayi_mandava
Posted On:   Wednesday, March 6, 2002 12:06 AM

i have a bean which implements both local and remote interfaces.if i lookup the bean with jndi name and typcast into remote home that's working fine.when i type cast into local home it is giving error that class cast exception.
can any one guide me?

Re: ejb local interfaces

Posted By:   Jon_Thorarinsson  
Posted On:   Wednesday, March 6, 2002 02:00 AM

You cannot do a typecast from a remote home interface to a local home interface. If you want the local home interface you should use jndi to locate it and not the remote interface.
About | Sitemap | Contact