[JBoss-user] [EJB 3.0] - Re: How to strip AOP Proxy off entity instance
this is a hibernate thing...it creates proxies for lazy initialization. Check hibernate documentation. I don't know if there is a switch or not. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943066#3943066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943066 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: How to strip AOP Proxy off entity instance
I don't want the proxy, I want the entity bean WITHOUT the proxy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942973#3942973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942973 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: How to strip AOP Proxy off entity instance
Work for what? This should work, but it would return you the exact same object you are serializing. In other words, you won't get the proxy, just a clone of entity. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942969#3942969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942969 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: How to strip AOP Proxy off entity instance
Would something like this work? (new org.jboss.serial.io.MarshalledObject(entity)).get() | | or | | (new org.jboss.serial.io.MarshalledObjectForLocalCalls(entity)).get() View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942944#3942944 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942944 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: How to strip AOP Proxy off entity instance
I meant the magic that Hibernate does. Sorry for not being accurate. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941000#3941000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941000 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: How to strip AOP Proxy off entity instance
Oh yes... please ignore my message them :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940999#3940999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940999 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: How to strip AOP Proxy off entity instance
Are you talking about proxies YOU have created using JBoss AOP, or the stuff that Hibernate does? Whatever Hibernate does does not come from JBoss AOP, it uses its own weaving mechanism to support the lazy loading stuff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940997#3940997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940997 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: How to strip AOP Proxy off entity instance
Proxies are created at org.jboss.aop.proxy.ClassProxyFactory Take a look on how proxies are created at createProxyCtClass, maybe that will give you some hint in what you need. Proxiles will implement org.jboss.aop.proxy.ClassProxy, and extent the proxied class. Maybe that will give you some hint in what you need. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940994#3940994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940994 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user