aspose file tools*
The moose likes JBoss/WildFly and the fly likes Accessing an Entity Bean with a JSP using JBoss CMP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Accessing an Entity Bean with a JSP using JBoss CMP" Watch "Accessing an Entity Bean with a JSP using JBoss CMP" New topic
Author

Accessing an Entity Bean with a JSP using JBoss CMP

seyi Bucknor
Greenhorn

Joined: Jan 29, 2004
Posts: 1
Hello All,
I would be grateful if someone could assist. I created some entity and session beans that are deployed in Jboss 3.2.1. I have implemented a method in the session bean "getAllJobsAvalible()" that is supposed to call a findAll()in the Entity Bean's LocalHome (generated using xdoclet). After deploying I tried to access this method from a JSP and got the following error message in the browser:-
HTTP ERROR: 500 Error in getAllAvalibleJobs Method is not a known CMP field accessor, CMR field accessor, or ejbSelect method: methodName=setEntityContext;
Could anyone please let me have an idea of might be causing this. Thanks in Advance. Seyi.
kenneth choi
Greenhorn

Joined: May 05, 2006
Posts: 1
seyi bucknor..

this is ken choi--- freshman year at GHS>>> i gotta catch up with you... send me your info: kennysports@yahoo.com

ken
 
wood burning stoves
 
subject: Accessing an Entity Bean with a JSP using JBoss CMP