looing up local ejb home and remote interface a problem

Discussions

EJB programming & troubleshooting: looing up local ejb home and remote interface a problem

  1. i am doing bean to bean communication main bean has local home and local interface and the controller bean has remote interface and this calls the main bean which has local and local home interface beans are jarred and deployed i dont get any errors when i start the weblogic server but when i call the client control passes till controller bean and the look up in the controller bean throws class cast exception what is the solution i am following ejb2.0 spec please do give solution for this part??
  2. hai srinivas!

    which Application server u used?

    In case of Weblogic:
    use "EJBReference" option in weblogic "EJBdeployer".
    Specify the controler bean's JNDI name in main bean's "EJBRefrence" during deployment of main bean.

    regards
    Rajesh.v