File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
Limitation with interface for plugability
JAXB annotation problem/question
How to implement EntityBean as Value Object?
Primary Key auto generation
class instance variables modifying