Re: [Nanning-developer] Activity?
Jon Tirsen <[email protected]> Tue, 06 Jan 2004 16:23:41 +0000
| Newsgroups | gmane.comp.java.nanning.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm thinking Prevayler and remote method-calls for serializing data transfer objects. But I don't think you would put aspects on a data transfer object though... So maybe I should optionally support cglib in Nanning, when you don't need serialization. I would need it to throw some sort of exception if you try though... Brian McCallister wrote: > Yeah, no kidding. > > What is the context where people need serialization? The only places I > see it being commonly used are A) long term passivation of stateful > session beans in EJB containers; B) Long term passivation of session > information; C) Prevayler > > I recognize that you (Jon) in particular probably care deeply about > being able to serialize things out via prevayler... but where are the > "its not serializable" problems hitting others? > > -Brian > > On Jan 6, 2004, at 5:25 AM, Jon Tirsen wrote: > >> Well... That's the problem... Cglib'ed proxies are serializable, but >> the when you deserialize them the data is gone. *very* annoying! and >> non-intuitive. >> >> Brian McCallister wrote: >> >>> Nope, still cannot do it -- classes in cglib we would need to have >>> be serializable are not. >>> >>> -Brian >>> >>> On Jan 5, 2004, at 1:32 PM, Brian McCallister wrote: >>> >>>> Yep, we have that problem and just don't support serializing >>>> intercepted objects. I looked into ways around it once and decided >>>> it was just more effort than it was worth as I don't have a need, >>>> and no one has actually asked for it other than "do you support >>>> it?" Oddly enough the thing preventing serialization at the time >>>> has since been removed. Need to look and see how hard it would be >>>> to add it again now. >>>> >>>> -Brian >>>> >>>> On Jan 5, 2004, at 12:52 PM, Jon Tirsen wrote: >>>> >>>>> Nanning used to support intercepting classes too for a while, but >>>>> unfortunately there are some pretty severe serialization problems >>>>> in CGLIB. (Namely all data disappears if you serialize a cglib'ed >>>>> object!) So I took out CGLIB again. >>>>> >>>>> I'm considering adding optional support for CGLIB for users that >>>>> doesn't need serialization. >>>>> >>>>> Brian McCallister wrote: >>>>> >>>>>> I hesitate to drop this library as it has some features Nanning >>>>>> doesn't -- mainly intercepting classes as well as interfaces; the >>>>>> order of magnitude performance increase is nice in theory (in >>>>>> practice this isn't the bottleneck so it doesn't really matter >>>>>> much), and a more flexible interceptor-invocation matching system >>>>>> (possibly, my nanning-fu is weak). >>>>>> >>>>>> It doesn't have the mixin support as it is interception-only, but >>>>>> I haven't needed that. Methinks I need to play with Nanning some >>>>>> more. >>>>>> >>>>>> -Brian >>>>>> >>>>>> PS: http://kasparov.skife.org/intercept.html since I have >>>>>> mentioned it a couple times, may as well provide a pointer to it. >>>>>> >>>>>> On Jan 5, 2004, at 10:15 AM, stephan schmidt wrote: >>>>>> >>>>>>> >>>>>>> On Jan 5, 2004, at 4:14 PM, Brian McCallister wrote: >>>>>>> >>>>>>>> Thank you for the heads up. I ask as I have been plugging >>>>>>>> together an interception (just interception) library with one >>>>>>>> of the cglib developers and find that to get the real benefits >>>>>>>> from interception I am needing to do a lot of IoC type stuff in >>>>>>>> combination with interception. The Pico+Nanning stuff. >>>>>>>> >>>>>>>> This really pushes for supporting strong IoC and interception >>>>>>>> integration and I recalled that Nanning and Pico work together >>>>>>>> nicely. I hate to reinvent wheels though as it seems you have >>>>>>>> already tread this ground and have a lot of useful tools built >>>>>>>> with it. >>>>>>>> >>>>>>> >>>>>>> Nanning and Pico do work together nicely. We dropped our own >>>>>>> interception lib for Nanning. >>>>>>> >>>>>>> bye >>>>>>> -stephan >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> This SF.net email is sponsored by: IBM Linux Tutorials. >>>>>>> Become an expert in LINUX or just sharpen your skills. Sign up >>>>>>> for IBM's >>>>>>> Free Linux Tutorials. Learn everything from the bash shell to >>>>>>> sys admin. >>>>>>> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >>>>>>> _______________________________________________ >>>>>>> Nanning-developer mailing list >>>>>>> [email protected] >>>>>>> https://lists.sourceforge.net/lists/listinfo/nanning-developer >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> This SF.net email is sponsored by: IBM Linux Tutorials. >>>>>> Become an expert in LINUX or just sharpen your skills. Sign up >>>>>> for IBM's >>>>>> Free Linux Tutorials. Learn everything from the bash shell to >>>>>> sys admin. >>>>>> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >>>>>> _______________________________________________ >>>>>> Nanning-developer mailing list >>>>>> [email protected] >>>>>> https://lists.sourceforge.net/lists/listinfo/nanning-developer >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.net email is sponsored by: IBM Linux Tutorials. >>>>> Become an expert in LINUX or just sharpen your skills. Sign up >>>>> for IBM's >>>>> Free Linux Tutorials. Learn everything from the bash shell to sys >>>>> admin. >>>>> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >>>>> _______________________________________________ >>>>> Nanning-developer mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/nanning-developer >>>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.net email is sponsored by: IBM Linux Tutorials. >>>> Become an expert in LINUX or just sharpen your skills. Sign up for >>>> IBM's >>>> Free Linux Tutorials. Learn everything from the bash shell to sys >>>> admin. >>>> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >>>> _______________________________________________ >>>> Nanning-developer mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/nanning-developer >>>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: IBM Linux Tutorials. >>> Become an expert in LINUX or just sharpen your skills. Sign up for >>> IBM's >>> Free Linux Tutorials. Learn everything from the bash shell to sys >>> admin. >>> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >>> _______________________________________________ >>> Nanning-developer mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/nanning-developer >>> >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: IBM Linux Tutorials. >> Become an expert in LINUX or just sharpen your skills. Sign up for >> IBM's >> Free Linux Tutorials. Learn everything from the bash shell to sys >> admin. >> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >> _______________________________________________ >> Nanning-developer mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/nanning-developer >> > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nanning-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nanning-developer > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click