[jboss-user] [Installation, Configuration Deployment] - Re: jndi, rebind, java.io.NotSerializableException

2009-11-19 Thread delbd
Not possible. I already found this class, but it has two main problem. First, it introduces a dependency to jboss in my code, while i would like to stick with pure J2EE available specs. Second, this mean changing eveywhere my code calls like context.lookup(name) to something like

[jboss-user] [Installation, Configuration Deployment] - Re: jndi, rebind, java.io.NotSerializableException

2009-11-19 Thread jaikiran
delbd wrote : | Second, this mean changing eveywhere my code calls like context.lookup(name) to something like NonSerializableFactory.lookup(name). No. You will still do InitialContext.lookup(name), internally it's handled by ObjectFactory. It's only during the binding that you will use the

[jboss-user] [Installation, Configuration Deployment] - Re: jndi, rebind, java.io.NotSerializableException

2009-11-19 Thread delbd
Ok, i copy/pasted the class in my webapp. This works now without dependencies to JBoss, thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266512#4266512 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266512

[jboss-user] [Installation, Configuration Deployment] - Re: jndi, rebind, java.io.NotSerializableException

2009-11-18 Thread jaikiran
You could use the APIs on org.jboss.util.naming.NonSerializableFactory http://anonsvn.jboss.org/repos/common/common-core/trunk/src/main/java/org/jboss/util/naming/NonSerializableFactory.java View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266455#4266455 Reply