I dont know how to get a custom object back from a method call to a
stateless session bean, if on the "model" side I take the data ant put it into
a HashTable then send it and on the "Controller/View" side I take the data
out and put it into a custom object it works just fine but I would realy like
to just send my own object. So if any one could help that would be great.
Here is the code:
InitialContext ctx = new InitialContext();
GeckoModelRemote gecko = (GeckoModelRemote) ctx.lookup
(GeckoModelRemote.class.getName());
List servicesList = gecko.getServices();
TestInterfaceRemote test = gecko.getTest(); <-- Fails here
The error is:
java.lang.RuntimeException: Could not resolve beanClass method from proxy call
at
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:169)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883169#3883169
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883169
-------------------------------------------------------
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