File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tranfering entities to a desktop client

 
Luciano A. Pozzo
Ranch Hand
Posts: 112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 112
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic