Hi all,
I have a doubt about Transfer Object:
Is it possible to have a static method (or field)
inside a Transfer Object returned from
a Session Bean to a Client ?
Many thanks in advance,
Moreno
-
Static methods in Transfer Object (3 messages)
- Posted by: Moreno Mauri
- Posted on: March 23 2004 09:48 EST
Threaded Messages (3)
- Static methods in Transfer Object by Gal Binyamini on March 23 2004 10:15 EST
- Static methods in Transfer Object by Tomas Inger on March 24 2004 06:45 EST
- Static methods in Transfer Object by Moreno Mauri on March 24 2004 07:41 EST
-
Static methods in Transfer Object[ Go to top ]
- Posted by: Gal Binyamini
- Posted on: March 23 2004 10:15 EST
- in response to Moreno Mauri
Yes.
A static field will not be serialized when the transfer object is returned, so don't expect that after returning the transfer object the static fields will also be updated.
Gal -
Static methods in Transfer Object[ Go to top ]
- Posted by: Tomas Inger
- Posted on: March 24 2004 06:45 EST
- in response to Moreno Mauri
Hi,
It seems to be possible - but I don't see the point with a static field in a class defining the Transfer Object.
Regards,
Tomas -
Static methods in Transfer Object[ Go to top ]
- Posted by: Moreno Mauri
- Posted on: March 24 2004 07:41 EST
- in response to Tomas Inger
I had a class that I needed to change in a Transfer Object.
Tha class had defined the static method and so I wasn't sure that
I had to modify this method.
Hi,
Moreno