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
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
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
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