Hein Lunken

Greenhorn
+ Follow
since May 31, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Hein Lunken

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!