aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Classes used in EJB - how to use them in backing bean? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Classes used in EJB - how to use them in backing bean?" Watch "Classes used in EJB - how to use them in backing bean?" New topic
Author

Classes used in EJB - how to use them in backing bean?

Hein Lunken
Greenhorn

Joined: May 31, 2011
Posts: 1
Hi!

I'm new to this forum and to JAVA EE in general.

My problem is, that I'm using non-POJO Objects in EJBs, which are transfered through a EJB Client to my backing bean.
For example:

EJB Code:



EJB Client:



backing bean:




So, the customer-class is my own generated class.
But the client und backing bean "don't know" the customer class, because it's used in the EJB, if I copy the customer.class-Filee to the backingbean-project or ejbclient-project it results in "not the same class" error.
So how do I make these class known to all my projects? Is there an easy way? With POJOs only it works like a charm.
Am I only allowed to use POJOs in EJBs?

Thanks for your help!

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Classes used in EJB - how to use them in backing bean?