Just a quick glance, but this stands out...
anonymous wrote : Count obj = (Count)ctx.lookup("CountingBean");
...and your JNDI tree shows you:
anonymous wrote : +- CountingBean (class: org.jnp.interfaces.NamingContext)
| | +- remote (class: java.lang.Object)
| | +- remoteStatefulProxyFactory (proxy: $Proxy72 implements interface
org.jboss.ejb3.ProxyFactory)
Your proxy should be stored under "CountingBean/remote". So try:
Count obj = (Count)ctx.lookup("CountingBean/remote");
Don't know if you've seen the EJB3 Trailblazer yet, but if not, it's really a
great starting point with working examples for simple EJB3s:
http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/slsb/index.html
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968187#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...