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.
Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

Fernanda Silva

Greenhorn
+ Follow
since Aug 15, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Fernanda Silva

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 can say that remote-methd invocator is a service the EJB ? Is It true ?
Three Phase-Commit is a non-blocking protocol.
EJB support Three Phase Commit Protocol ?
JDBC suppor Three Phase Commit Protocol ?
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
18 years ago
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
18 years ago
Three Phase-Commit is a non-blocking protocol.
EJB supporting Three Phase Commit Protocol ?
JDBC supporting Three Phase Commit Protocol ?
I think that this diagram is better (see http://www.zanthan.com/itymbi/archives/000596.html
The doubt is: The method nextId() is of object Comment or IDGen.
I think that this diagram is better (see http://www.zanthan.com/itymbi/archives/000596.html):

The doubt is: The method nextId() is of object Comment or IDGen.
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 ?
HI, I have a Doubt about Sequence Diagram.
Imagine this 2 objetcts, that pertence Sequence Diagram below.

ObjA ObjB
event ----------------> * --------methodX()---------> *
* *
* *
* *
* *
* *

The methodX() is a message.

The question is: The methodX() is a method of ObjA or ObjB ?

Class ObjA{
...
ObjB objB = new ObjB();
objB.methodX();
...
}


or

Class ObjB{
...
ObjA objA = new ObjA();
objA.methodX();
...
}
HI, I have a Doubt about Sequence Diagram.
Imagine this 2 objetcts, that pertence Sequence Diagram below.

ObjA ObjB
event ----------------> * --------methodX()---------> *
* *
* *
* *
* *
* *

The methodX() is a message.

The question is: The methodX() is a method of ObjA or ObjB ?

Class ObjA{
...
ObjB objB = new ObjB();
objB.methodX();
...
}


or

Class ObjB{
...
ObjA objA = new ObjA();
objA.methodX();
...
}
What design patters prove tranparency access to remote object? I am doubt between facade, proxy or Business Delegate.
Anybody can help me.