Thanks people for your timely help. Sheldon for your suggestion on differnt approach I have described the secenario below any suggestion would be appreciated.
I am using a Controller to dynamicaly invoke services(Using Reflections) based on the service name and reading the service details(like
ejb class name, method name, jndi name) from a xml file, something like
Struts. Now regarding the service invoktion from Controller it goes like this.
First time the method is called for ejbhome create, it works. Second time it is called for the remote business method it workd well. But when I want to handle overloaded methods I included the methods[i].getParameterTypes(); and the isInstance logic where it fails to compare the parameter types of the method.
Hope i was able to describe it clearly.
[ September 28, 2004: Message edited by: Mohamed Yahya ]
[ September 28, 2004: Message edited by: Mohamed Yahya ]