Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tranfering entities to a desktop client

 
Luciano A. Pozzo
Ranch Hand
Posts: 112
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic