This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes Tranfering entities to a desktop client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Tranfering entities to a desktop client" Watch "Tranfering entities to a desktop client" New topic
Author

Tranfering entities to a desktop client

Luciano A. Pozzo
Ranch Hand

Joined: Jun 20, 2005
Posts: 112
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 ]
Luciano A. Pozzo
Ranch Hand

Joined: Jun 20, 2005
Posts: 112
problem solved:

http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116874#4116874
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tranfering entities to a desktop client