[jboss-user] [EJB 3.0] - Re: JBoss 5.0.0.CR1, @LocalBinding
jaikiran
do-not-reply at jboss.com
Tue Sep 9 07:07:06 EDT 2008
anonymous wrote : import org.jboss.ejb3.annotation.LocalBinding;
| import org.jboss.ejb3.annotation.RemoteBinding;
|
The reason i asked for the import statements is because there was a change in the package for the RemoteBinding and LocalBinding annotations in JBoss-5. So just wanted to make sure that you are using the correct ones. You are using the correct ones.
anonymous wrote : public class ConfigurationManagerBean
| implements ConfigurationManagerLocal, ConfigurationManagerRemote {
| private Properties configuration;
| private Properties defaultConfiguration;
| private transient InitialContext namingContext;
|
I don't see any annotations like @Stateless and @LocalBinding on this class. I assume that you left it out from this post because you already provided it once in your earlier post.
Can you post a few more lines from the server.log? I am interested in something like (UserManagerBean is a EJB on my setup) :
2008-09-09 14:32:21,322 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.myapp.ejb.impl.UserManagerBean ejbName: UserManagerBean
| 2008-09-09 14:32:21,369 DEBUG [org.jboss.ejb3.proxy.factory.ProxyFactoryHelper] (main) Obtaining JNDI name from policy org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy
| 2008-09-09 14:32:21,369 DEBUG [org.jboss.ejb3.proxy.factory.ProxyFactoryHelper] (main) Obtaining JNDI name from policy org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy
| 2008-09-09 14:32:21,416 DEBUG [org.jboss.ejb3.proxy.factory.BaseSessionProxyFactory] (main) Binding proxy for UserManagerBean in JNDI at RemoteUserManagerBean
| 2008-09-09 14:32:21,447 DEBUG [org.jboss.ejb3.proxy.factory.ProxyFactoryHelper] (main) Obtaining JNDI name from policy org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy
| 2008-09-09 14:32:21,447 DEBUG [org.jboss.ejb3.proxy.factory.ProxyFactoryHelper] (main) Obtaining JNDI name from policy org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy
| 2008-09-09 14:32:21,447 DEBUG [org.jboss.ejb3.proxy.factory.BaseSessionProxyFactory] (main) Binding proxy for UserManagerBean in JNDI at LocalUserManagerBean
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175265#4175265
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175265
More information about the jboss-user
mailing list