Forums Register Login

Tranfering entities to a desktop client

+Pie Number of slices to send: Send
Hi all,

I have a problem with desktop client. The sittuation is:

Each one of my entities(JPA) has an interface, that the clients knows. So, the problem happen when a desktop client try to find a entity. The fa�ade is correct, only return the interface of the entity, but, the client raise ClassNotFoundException for the entity implementation.

Example:

Fa�ade contains one method:


Entity



The client


How can I solve it? I should do something like the stub sollution of rmi architeture, for my entity?

Thanks

Ps. I cannot copy the entity implementation to my client.
[ June 04, 2008: Message edited by: Luciano A. Pozzo ]
+Pie Number of slices to send: Send
There's a city wid manhunt for this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1067 times.
Similar Threads
Limitation with interface for plugability
How to implement EntityBean as Value Object?
Primary Key auto generation
JAXB annotation problem/question
class instance variables modifying
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 23:53:56.