File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes session facade and cmp fields Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "session facade and cmp fields" Watch "session facade and cmp fields" New topic

session facade and cmp fields

Tom Griffith
Ranch Hand

Joined: Aug 06, 2004
Posts: 275
Hello. If anybody has a minute...

I had an entity bean working and I tried to wrap it in a session facade. I seem to have it compiling fine now except I get a deployment descriptor error in the console that tells me "...'FIELD_NAME' is an unknown cmp-field. cmp-fields must have matching getter methods."

All I did to the deployment descriptor was add the session bean within it's own tags...I didn't touch the entity tags and it was working fine before.

For the heck of it, I just threw the getters from the entity bean's remote interface into the session bean remote interface, and I get the same error. So that's not the source for this error, which makes sense. Any assistance is appreciated. Thank you very much for reading this or whatever.
[ March 03, 2005: Message edited by: Tom Griffith ]
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
I don't think anybody's going to be able to help unless we can see the relevant parts of your bean and deployment descriptors.

I agree. Here's the link:
subject: session facade and cmp fields
It's not a secret anymore!