I installed all the EJB3 stuff for JBoss and the first time I used annotations 
and entities to put java class data in the database it worked just fine. But as 
I added functionality to my stateless bean the new functionality doesn't seem 
to be working. Heres my example code


InitialContext ctx = new InitialContext();

GeckoModelRemote gecko = (GeckoModelRemote) 
ctx.lookup(GeckoModelRemote.class.getName());

boolean worked = gecko.createAccount(firstName, lastName, email, password, 
securityQuestion, answer);

It seems to me that my lookup is getting the class that I first used and not 
the new one that I added functionality to. I say that because even when I take 
out all the classes that are using EJB3 annotations
(removed completely from the JBoss all/deploy directory) I get this message 
when JBoss loads up

13:04:16,311 INFO [Ejb3Module] found EJB3 Entity bean: model.Account
13:04:16,331 INFO [Ejb3Module] found EJB3 stateless session bean: 
model.GeckoModelBean
13:04:16,394 INFO [Ejb3Module] found EJB3 Entity bean: model.Password


If this is not enough information let me know and I will put it in my next 
post. Any help would be greatly appreciated. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882774#3882774

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882774


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to