This week's giveaway is in the Testing forum. We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line! See this thread for details.
I can this doubt about firewall and IIOP: What the feature of firewall can intervene with IIOP operation: - port filtering - load balancing - address filtering - network address translation
My diagram was not good Idea. : The diagram represents: Class B is the interface. Class A implements the interface. than, Class A - - - - - - |> Class B. I say : The class B is a realization of Class A OR The class A is a realization of Class B
The Relationships is of Realization (with arrow closed). My doubt is. I say: The class B is a realization of Class A OR The class A is a realization of Class B
[edited by Ilja Preuss to add code tags to the diagram] [ August 21, 2003: Message edited by: Ilja Preuss ]
Hi, I need the help. How I do dynamic casting using reflection ? I must to pass only the class name. My code is it: ... Class classe = null; // father of TransactionProcessor Module md = null; Method method = null; try{ classe = Class.forName(classname); // getInstnce is the SingleTon class and return TransactionProcessor type method = classe.getMethod("getInstance", null); // md = ( TransactionProcessor ) method.invoke(null,null); I CANT DO IT because it is a code generic. md = ( ??? ) method.invoke(null,null); md.run(); }catch(){}; I know that I can get the type of return using: method.getReturnType().getName(); ,but I can do the dynamica casting ? Thanks
I need the help. How I do dynamic casting using reflection ? I must to pass only the class name.
My code is it:
... Class classe = null; // father of TransactionProcessor Module md = null; Method method = null; try{ classe = Class.forName(classname); // getInstnce is the SingleTon class and return TransactionProcessor type method = classe.getMethod("getInstance", null); //md = ( TransactionProcessor ) method.invoke(null,null); //I CANT DO IT because it is a code generic. md = ( ??? ) method.invoke(null,null); md.run(); }catch(){}; I know that I can get the type of return using: method.getReturnType().getName(); but I can do the dynamica casting ? Thanks
Hi I have a doubt about technology necessary to comunicattion with system legacy. What is the best form that conect VT100 terminal and MQSeries ? I dont known if use EJB, JMS, Screen Scrapers, and others. Anybody can I help me ?