You can subscribe to this list here.
| 2003 |
Jan
|
Feb
(55) |
Mar
(100) |
Apr
(203) |
May
(330) |
Jun
(190) |
Jul
(302) |
Aug
(323) |
Sep
(197) |
Oct
(245) |
Nov
(490) |
Dec
(330) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(194) |
Feb
(400) |
Mar
(416) |
Apr
(415) |
May
(359) |
Jun
(381) |
Jul
(491) |
Aug
(311) |
Sep
(291) |
Oct
(273) |
Nov
(355) |
Dec
(266) |
| 2005 |
Jan
(306) |
Feb
(303) |
Mar
(520) |
Apr
(346) |
May
(255) |
Jun
(221) |
Jul
(171) |
Aug
(247) |
Sep
(147) |
Oct
(125) |
Nov
(165) |
Dec
(65) |
| 2006 |
Jan
(90) |
Feb
(53) |
Mar
(121) |
Apr
(103) |
May
(113) |
Jun
(103) |
Jul
(104) |
Aug
(67) |
Sep
(78) |
Oct
(82) |
Nov
(78) |
Dec
(70) |
| 2007 |
Jan
(77) |
Feb
(76) |
Mar
(63) |
Apr
(30) |
May
(47) |
Jun
(41) |
Jul
(44) |
Aug
(44) |
Sep
(49) |
Oct
(33) |
Nov
(25) |
Dec
(21) |
| 2008 |
Jan
(45) |
Feb
(13) |
Mar
(15) |
Apr
(12) |
May
(9) |
Jun
(33) |
Jul
(30) |
Aug
(7) |
Sep
(20) |
Oct
(17) |
Nov
(20) |
Dec
(10) |
| 2009 |
Jan
(8) |
Feb
(5) |
Mar
(12) |
Apr
(17) |
May
(19) |
Jun
(97) |
Jul
(77) |
Aug
(33) |
Sep
(24) |
Oct
(41) |
Nov
(16) |
Dec
(32) |
| 2010 |
Jan
(24) |
Feb
(14) |
Mar
(50) |
Apr
(71) |
May
(70) |
Jun
(64) |
Jul
(45) |
Aug
(62) |
Sep
(32) |
Oct
(4) |
Nov
(12) |
Dec
(2) |
| 2011 |
Jan
(1) |
Feb
(3) |
Mar
(4) |
Apr
(3) |
May
(6) |
Jun
(1) |
Jul
(4) |
Aug
(3) |
Sep
(4) |
Oct
(6) |
Nov
(3) |
Dec
(3) |
| 2012 |
Jan
(4) |
Feb
(8) |
Mar
(6) |
Apr
(10) |
May
(2) |
Jun
(3) |
Jul
(11) |
Aug
(10) |
Sep
(4) |
Oct
|
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(1) |
Mar
(9) |
Apr
(1) |
May
(8) |
Jun
(2) |
Jul
(5) |
Aug
(2) |
Sep
|
Oct
(3) |
Nov
(10) |
Dec
(8) |
| 2014 |
Jan
(3) |
Feb
(12) |
Mar
(9) |
Apr
(12) |
May
(2) |
Jun
|
Jul
(3) |
Aug
(1) |
Sep
(1) |
Oct
(4) |
Nov
|
Dec
(2) |
| 2015 |
Jan
(1) |
Feb
(3) |
Mar
(4) |
Apr
(9) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(7) |
Oct
(9) |
Nov
(7) |
Dec
(9) |
| 2016 |
Jan
(7) |
Feb
(5) |
Mar
(5) |
Apr
(5) |
May
(8) |
Jun
(4) |
Jul
(5) |
Aug
(4) |
Sep
(6) |
Oct
(7) |
Nov
(2) |
Dec
(3) |
| 2017 |
Jan
(7) |
Feb
(8) |
Mar
(7) |
Apr
(3) |
May
(4) |
Jun
(3) |
Jul
(5) |
Aug
(8) |
Sep
(4) |
Oct
(2) |
Nov
(3) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2021 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(2) |
Aug
(5) |
Sep
(2) |
Oct
|
Nov
|
Dec
(1) |
| 2026 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Colin S. <col...@ex...> - 2005-06-09 21:27:09
|
I really think it makes complete sense for this to be part of the main project, as a separate module alongside the webflow and any other modules that are brought out. The common-build stuff I got going in the spring-modules module in CVS can easily handle dependencies between everything, and allow people to concentrate on the code and not the build or dependency handling. It's now been proven in real use too. Regards, Colin John Lewis wrote: > Donald, > > Thansk for the quick feedback -- I agree with all of it. I think the > Portlet MVC framework should be a core product as well, particularly > because other areas (such as Spring Web Flow) are already starting to > depend on it. Also, since it so closely mirrors the servlet Web MVC > framework, it would be good to keep them together so that their > functionality can be kept in sync. There is a fair amount of > rendundant code between the Portlet and Servlet frameworks, and > keeping them together will make it possible to refactor a lot of this > code. > > Let me know what I can do to help. > > John Lewis > > > Keith Donald wrote: > >> Yes, the sandbox is not the place for code such as Spring Porlet or >> Spring >> Web Flow. The sandbox should really be only for scratch code that is >> truly experimental. >> >> This weekend Spring Web Flow will move to its own module within the >> springframework project repository, along with a major upgrade to its >> build system. I propose something similiar happen to Spring Portlet. >> >> Specifically I could see Spring Portlet as either: >> >> - A core module hosted at the main springframework site, maintained by >> core spring developers, with its own release schedule. >> >> OR >> >> - A Spring module hosted at the java.net site. >> >> In either case all modules should leverage our new common project build >> system using ivy for automated dependency management. Colin has put >> a lot >> of effort into a very strong build system essential to managing >> dependencies between our various products--and Spring Web Flow and >> Spring >> Portlet are both core products. >> >> So the question is which home is better for Spring Portlet: here at >> sourceforge, or over at Spring Modules, right? We favor hosting Web >> Flow >> here at SF along side springframework as it's a *core product* >> maintained >> by core spring developers. Spring Portlet seems similiar to me. And in >> general, Spring modules seems a better fit for smaller, focused >> extension >> products, e.g commons validator with a wider committer community -- >> so my >> gut tells me Spring Portlet should also be hosted here as well. >> >> Thoughts? >> >> Keith >> >> p.s. great to see the Portlet MVC work moving forward! >> >> >> >>> Hi John, >>> >>> thank you very much for this! >>> >>> I am using the framework in production and it works great. Hope there >>> will be an official home for the portlet MVC soon. >>> >>> I beg the spring team to decide soon about the future of the >>> framework. Either in the core or as a subproject. But the current >>> situation is not very good. In my opinion the portlet MVC is an >>> outstanding framework to build portlets. >>> >>> Martin >>> >>> >>> 2005/6/9, John Lewis <jl...@ar...>: >>> >>>> I just posted a major update to the Spring Portlet MVC Framework. >>>> It is >>>> available here: >>>> >>>> http://opensource.atlassian.com/confluence/spring/display/JSR168/Home >>>> >>>> This update includes a number of major changes: >>>> * It is now integrated with (and requires) Spring 1.2. All classes >>>> have >>>> been updated with changes from their equivalent classes from the >>>> Servlet >>>> area. >>>> * A number of classes have been renamed and/or moved into different >>>> packages in order to better align it with the Servlet MVC framework. >>>> * The concept of Handlers is now included, instead of directly mapping >>>> to Controllers. This will allow other Portlet MVC frameworks to be >>>> used >>>> with a Spring web application. >>>> * Expanded controller hierarchy that more closely follows the Servlet >>>> MVC framework. >>>> * A number of HandlerMappings are now provided, including one for >>>> PortletMode, one for a request parameter, and one for PortletMode >>>> combined with a request parameter. >>>> * OpenSessionInViewInterceptor for both Hibernate 2 and Hibernate 3 >>>> are >>>> now included and fully functional. >>>> * Lots of other minor updates and bug fixes. >>>> >>>> Please send me any feedback. >>>> >>>> Juergen, what are your current thoughts on getting this integrated >>>> into >>>> the sandbox and into Spring 1.3? >>>> >>>> John Lewis >>>> jl...@ar... >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you >>>> shotput >>>> a projector? How fast can you ride your desk chair down the office >>>> luge >>>> track? >>>> If you want to score the big prize, get to know the little guy. >>>> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 >>>> _______________________________________________ >>>> Springframework-developer mailing list >>>> Spr...@li... >>>> https://lists.sourceforge.net/lists/listinfo/springframework-developer >>>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you >>> shotput >>> a projector? How fast can you ride your desk chair down the office luge >>> track? >>> If you want to score the big prize, get to know the little guy. >>> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r >>> _______________________________________________ >>> Springframework-developer mailing list >>> Spr...@li... >>> https://lists.sourceforge.net/lists/listinfo/springframework-developer >>> >> >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office > luge track? > If you want to score the big prize, get to know the little guy. Play > to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: John L. <jl...@ar...> - 2005-06-09 20:44:02
|
I think this problem is fixed in the latest update to the Spring Portlet MVC framework, but I don't have an environment where I can test this. You can get the new download at: [url]http://opensource.atlassian.com/confluence/spring/display/JSR168/Home[/url] Let me know if it works. John Lewis Boyce, Keith Garry wrote: >That's the error.. See forum >http://forum.springframework.org/viewtopic.php?p=23016#23016 > >Seems the only place to fix this is DispatcherPortlet private method >since that's the only place that has access to both view and >RenderResponseImpl. What are your thoughts on possible fix? > >Garry > >-----Original Message----- >From: spr...@li... >[mailto:spr...@li...] On Behalf >Of John Lewis >Sent: Thursday, May 26, 2005 2:22 AM >To: spr...@li... >Subject: [Springframework-developer] Re: I am getting following error in >Sun One Portal. Is this a SunOne Portal issue or should framework set >content type automatically? > >Is that the complete error message, or is there more information? Any >additional error data would be helpful. Thanks! > >Boyce, Keith Garry wrote: > > >>I am getting following error in Sun One Portal. Is this a Sun One >> >> > > > >>Portal issue or should framework set content type automatically? >> >> >> > > > > > > >>ERROR: >> >> >> > > > >>ViewRendererServle: 96 - Could not complete request >> >> >> > > > >>java.lang.IllegalStateException: RenderResponseImpl.getWriter: >>contentType either contains a wildcard or is not set >> >> >> > > > >>Thanks, >>Garry >> >> >> > > > >>This message is a PRIVATE communication. >>If you are not the intended recipient, please do not read, copy, or >> >> > > > >>use it, and do not disclose it to others. Please notify the sender of >> >> > > > >>the delivery error by replying to this message, and then delete it >> >> > > > >>from your system. Thank you. >> >> >> > > > > > > >>------------------------------------------------------- >>SF.Net email is sponsored by: GoToMeeting - the easiest way to >> >> > > > >>collaborate online with coworkers and clients while avoiding the high >> >> > > > >>cost of travel and communications. There is no equipment to buy and >> >> > > > >>you can meet as often as you want. Try it >> >> > > > >>free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click >> >> > > > >------------------------------------------------------- >SF.Net email is sponsored by: GoToMeeting - the easiest way to >collaborate online with coworkers and clients while avoiding the high >cost of travel and communications. There is no equipment to buy and you >can meet as often as you want. Try it >free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > >This message is a PRIVATE communication. >If you are not the intended recipient, please do not read, copy, >or use it, and do not disclose it to others. Please notify the >sender of the delivery error by replying to this message, and then >delete it from your system. Thank you. > > >------------------------------------------------------- >SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate >online with coworkers and clients while avoiding the high cost of travel and >communications. There is no equipment to buy and you can meet as often as >you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click > > |
|
From: Erwin V. <erw...@er...> - 2005-06-09 20:41:09
|
> Thansk for the quick feedback -- I agree with all of it. I think the > Portlet MVC framework should be a core product as well, particularly > because other areas (such as Spring Web Flow) are already starting to > depend on it. Also, since it so closely mirrors the servlet Web MVC > framework, it would be good to keep them together so that their > functionality can be kept in sync. There is a fair amount of rendundant > code between the Portlet and Servlet frameworks, and keeping them together > will make it possible to refactor a lot of this code. Great to see this kind of activity with the PortletMVC code. Seems like Spring 1.3 preparation are starting up! Erwin |
|
From: Erwin V. <erw...@er...> - 2005-06-09 20:37:43
|
> So the question is which home is better for Spring Portlet: here at > sourceforge, or over at Spring Modules, right? We favor hosting Web Flow > here at SF along side springframework as it's a *core product* maintained > by core spring developers. Spring Portlet seems similiar to me. And in > general, Spring modules seems a better fit for smaller, focused extension > products, e.g commons validator with a wider committer community -- so my > gut tells me Spring Portlet should also be hosted here as well. I agree. It would be a bit strange to have a 'core product' like SWF depend on an add-on module like Spring PortletMVC, if that's how we would organize it. Ofcourse we could also decide to move the Portlet MVC support in SWF over to the Portlet module, instead of keeping it with SWF. Erwin |
|
From: John L. <jl...@ar...> - 2005-06-09 20:28:54
|
Donald, Thansk for the quick feedback -- I agree with all of it. I think the Portlet MVC framework should be a core product as well, particularly because other areas (such as Spring Web Flow) are already starting to depend on it. Also, since it so closely mirrors the servlet Web MVC framework, it would be good to keep them together so that their functionality can be kept in sync. There is a fair amount of rendundant code between the Portlet and Servlet frameworks, and keeping them together will make it possible to refactor a lot of this code. Let me know what I can do to help. John Lewis Keith Donald wrote: > Yes, the sandbox is not the place for code such as Spring Porlet or Spring > Web Flow. The sandbox should really be only for scratch code that is > truly experimental. > > This weekend Spring Web Flow will move to its own module within the > springframework project repository, along with a major upgrade to its > build system. I propose something similiar happen to Spring Portlet. > > Specifically I could see Spring Portlet as either: > > - A core module hosted at the main springframework site, maintained by > core spring developers, with its own release schedule. > > OR > > - A Spring module hosted at the java.net site. > > In either case all modules should leverage our new common project build > system using ivy for automated dependency management. Colin has put a lot > of effort into a very strong build system essential to managing > dependencies between our various products--and Spring Web Flow and Spring > Portlet are both core products. > > So the question is which home is better for Spring Portlet: here at > sourceforge, or over at Spring Modules, right? We favor hosting Web Flow > here at SF along side springframework as it's a *core product* maintained > by core spring developers. Spring Portlet seems similiar to me. And in > general, Spring modules seems a better fit for smaller, focused extension > products, e.g commons validator with a wider committer community -- so my > gut tells me Spring Portlet should also be hosted here as well. > > Thoughts? > > Keith > > p.s. great to see the Portlet MVC work moving forward! > > > >>Hi John, >> >>thank you very much for this! >> >>I am using the framework in production and it works great. Hope there >>will be an official home for the portlet MVC soon. >> >>I beg the spring team to decide soon about the future of the >>framework. Either in the core or as a subproject. But the current >>situation is not very good. In my opinion the portlet MVC is an >>outstanding framework to build portlets. >> >>Martin >> >> >>2005/6/9, John Lewis <jl...@ar...>: >> >>>I just posted a major update to the Spring Portlet MVC Framework. It is >>>available here: >>> >>>http://opensource.atlassian.com/confluence/spring/display/JSR168/Home >>> >>>This update includes a number of major changes: >>>* It is now integrated with (and requires) Spring 1.2. All classes have >>>been updated with changes from their equivalent classes from the Servlet >>>area. >>>* A number of classes have been renamed and/or moved into different >>>packages in order to better align it with the Servlet MVC framework. >>>* The concept of Handlers is now included, instead of directly mapping >>>to Controllers. This will allow other Portlet MVC frameworks to be used >>>with a Spring web application. >>>* Expanded controller hierarchy that more closely follows the Servlet >>>MVC framework. >>>* A number of HandlerMappings are now provided, including one for >>>PortletMode, one for a request parameter, and one for PortletMode >>>combined with a request parameter. >>>* OpenSessionInViewInterceptor for both Hibernate 2 and Hibernate 3 are >>>now included and fully functional. >>>* Lots of other minor updates and bug fixes. >>> >>>Please send me any feedback. >>> >>>Juergen, what are your current thoughts on getting this integrated into >>>the sandbox and into Spring 1.3? >>> >>>John Lewis >>>jl...@ar... >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: NEC IT Guy Games. How far can you >>>shotput >>>a projector? How fast can you ride your desk chair down the office luge >>>track? >>>If you want to score the big prize, get to know the little guy. >>>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 >>>_______________________________________________ >>>Springframework-developer mailing list >>>Spr...@li... >>>https://lists.sourceforge.net/lists/listinfo/springframework-developer >>> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: NEC IT Guy Games. How far can you >>shotput >>a projector? How fast can you ride your desk chair down the office luge >>track? >>If you want to score the big prize, get to know the little guy. >>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r >>_______________________________________________ >>Springframework-developer mailing list >>Spr...@li... >>https://lists.sourceforge.net/lists/listinfo/springframework-developer >> > > > |
|
From: Keith D. <ke...@in...> - 2005-06-09 20:10:11
|
Yes, the sandbox is not the place for code such as Spring Porlet or Spring Web Flow. The sandbox should really be only for scratch code that is truly experimental. This weekend Spring Web Flow will move to its own module within the springframework project repository, along with a major upgrade to its build system. I propose something similiar happen to Spring Portlet. Specifically I could see Spring Portlet as either: - A core module hosted at the main springframework site, maintained by core spring developers, with its own release schedule. OR - A Spring module hosted at the java.net site. In either case all modules should leverage our new common project build system using ivy for automated dependency management. Colin has put a lot of effort into a very strong build system essential to managing dependencies between our various products--and Spring Web Flow and Spring Portlet are both core products. So the question is which home is better for Spring Portlet: here at sourceforge, or over at Spring Modules, right? We favor hosting Web Flow here at SF along side springframework as it's a *core product* maintained by core spring developers. Spring Portlet seems similiar to me. And in general, Spring modules seems a better fit for smaller, focused extension products, e.g commons validator with a wider committer community -- so my gut tells me Spring Portlet should also be hosted here as well. Thoughts? Keith p.s. great to see the Portlet MVC work moving forward! > Hi John, > > thank you very much for this! > > I am using the framework in production and it works great. Hope there > will be an official home for the portlet MVC soon. > > I beg the spring team to decide soon about the future of the > framework. Either in the core or as a subproject. But the current > situation is not very good. In my opinion the portlet MVC is an > outstanding framework to build portlets. > > Martin > > > 2005/6/9, John Lewis <jl...@ar...>: >> I just posted a major update to the Spring Portlet MVC Framework. It is >> available here: >> >> http://opensource.atlassian.com/confluence/spring/display/JSR168/Home >> >> This update includes a number of major changes: >> * It is now integrated with (and requires) Spring 1.2. All classes have >> been updated with changes from their equivalent classes from the Servlet >> area. >> * A number of classes have been renamed and/or moved into different >> packages in order to better align it with the Servlet MVC framework. >> * The concept of Handlers is now included, instead of directly mapping >> to Controllers. This will allow other Portlet MVC frameworks to be used >> with a Spring web application. >> * Expanded controller hierarchy that more closely follows the Servlet >> MVC framework. >> * A number of HandlerMappings are now provided, including one for >> PortletMode, one for a request parameter, and one for PortletMode >> combined with a request parameter. >> * OpenSessionInViewInterceptor for both Hibernate 2 and Hibernate 3 are >> now included and fully functional. >> * Lots of other minor updates and bug fixes. >> >> Please send me any feedback. >> >> Juergen, what are your current thoughts on getting this integrated into >> the sandbox and into Spring 1.3? >> >> John Lewis >> jl...@ar... >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you >> shotput >> a projector? How fast can you ride your desk chair down the office luge >> track? >> If you want to score the big prize, get to know the little guy. >> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > -- Keith Donald Principal Consultant, Interface21 http://www.springframework.com - Spring Services From the Source |
|
From: Martin D. <mdu...@gm...> - 2005-06-09 19:46:47
|
Hi John, thank you very much for this! I am using the framework in production and it works great. Hope there will be an official home for the portlet MVC soon. I beg the spring team to decide soon about the future of the framework. Either in the core or as a subproject. But the current situation is not very good. In my opinion the portlet MVC is an outstanding framework to build portlets. Martin 2005/6/9, John Lewis <jl...@ar...>: > I just posted a major update to the Spring Portlet MVC Framework. It is > available here: >=20 > http://opensource.atlassian.com/confluence/spring/display/JSR168/Home >=20 > This update includes a number of major changes: > * It is now integrated with (and requires) Spring 1.2. All classes have > been updated with changes from their equivalent classes from the Servlet > area. > * A number of classes have been renamed and/or moved into different > packages in order to better align it with the Servlet MVC framework. > * The concept of Handlers is now included, instead of directly mapping > to Controllers. This will allow other Portlet MVC frameworks to be used > with a Spring web application. > * Expanded controller hierarchy that more closely follows the Servlet > MVC framework. > * A number of HandlerMappings are now provided, including one for > PortletMode, one for a request parameter, and one for PortletMode > combined with a request parameter. > * OpenSessionInViewInterceptor for both Hibernate 2 and Hibernate 3 are > now included and fully functional. > * Lots of other minor updates and bug fixes. >=20 > Please send me any feedback. >=20 > Juergen, what are your current thoughts on getting this integrated into > the sandbox and into Spring 1.3? >=20 > John Lewis > jl...@ar... >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you sho= tput > a projector? How fast can you ride your desk chair down the office luge t= rack? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: John L. <jl...@ar...> - 2005-06-09 18:06:15
|
I just posted a major update to the Spring Portlet MVC Framework. It is available here: http://opensource.atlassian.com/confluence/spring/display/JSR168/Home This update includes a number of major changes: * It is now integrated with (and requires) Spring 1.2. All classes have been updated with changes from their equivalent classes from the Servlet area. * A number of classes have been renamed and/or moved into different packages in order to better align it with the Servlet MVC framework. * The concept of Handlers is now included, instead of directly mapping to Controllers. This will allow other Portlet MVC frameworks to be used with a Spring web application. * Expanded controller hierarchy that more closely follows the Servlet MVC framework. * A number of HandlerMappings are now provided, including one for PortletMode, one for a request parameter, and one for PortletMode combined with a request parameter. * OpenSessionInViewInterceptor for both Hibernate 2 and Hibernate 3 are now included and fully functional. * Lots of other minor updates and bug fixes. Please send me any feedback. Juergen, what are your current thoughts on getting this integrated into the sandbox and into Spring 1.3? John Lewis jl...@ar... |
|
From: <jas...@ma...> - 2005-06-09 15:28:03
|
Quite a few folks have wanted some way to extend/enhance Spring's XML configuration file mechanism to provide more concise XML with richer XML validation (through schemas and XSD extension etc). Here's some background ideas... http://article.gmane.org/gmane.comp.java.springframework.devel/8301/ match=neater+xml++xsd Yet another project I work on, ServiceMix, needed this - and I didn't have the heart to go down the XSLT route I've done before (e.g. on ActiveMQ) - so I thought I'd experiment actually working on Spring to provide an 'XML extension point' for XML configuration files. Example ======= First here's the example of what the XML looks like in ServiceMix before, using standard Spring - then afterwards with the 'XML extensions' so you can see the kind of thing I mean. regular Spring config. http://cvs.servicemix.codehaus.org/servicemix/base/src/test/resources/ org/servicemix/jbi/config/example-spring.xml?rev=HEAD&view=auto extended Spring http://cvs.servicemix.codehaus.org/servicemix/base/src/test/resources/ org/servicemix/jbi/config/example.xml?rev=HEAD&view=auto Now ServiceMix users can use a *much* more concise XML, if they want - we can easily add an XSD that can validate the ServiceMix model much better - but we can still mix and match all the great Spring XML stuff in there too. Its just a couple of trivial, simple macros (<components>, <component> and <qname>) to simplify the XML. From ServiceMix's perspective, we've implemented these new tags in the XML using a couple of pretty-trivial classes. The neat thing about this is that folks can now start to mix and match custom XML languages with the Spring XML. e.g. folks building Geronimo's web, JCA and EJB containers can use Spring XML to deal with J2EE deployment descriptors, but allow those files to include Spring XML too! Implementation ============ Now we could use inheritance to add custom XML processing (we did this in ActiveMQ) - each library developer would then provide their own definition reader / bean factory implementation; the problem with that is there are so many kinds of bean factory & application context and many ways to make them - having a custom bean factory didn't seem a clean solution. Plus I'd like us to mix and match different extensions together into the same Spring XML document. So I decided to try add a 'META-INF/services/' style of auto-discovery. The basic idea is that the standard spring configuration mechanism, will parse the regular Spring XML elements, but any new ones it doesn't recognise, it will see if there is an ElementProcessor class registered for the given element name (using namespaces too if need be). An ElementProcessor is a trivial little plugin interface allowing folks to turn any-old-XML into regular Spring <bean> <property> elements. Using XML extensions ================ So if you parse the this example 'extended' spring XML, with the latest CVS HEAD and the ServiceMix jar on your classpath... http://cvs.servicemix.codehaus.org/servicemix/base/src/test/resources/ org/servicemix/jbi/config/example.xml?rev=HEAD&view=auto it will automatically parse these new XML extensions! (To use the ServiceMix example above, since it uses arbitrary XML namespaces, you have to turn of XML validation to avoid using the DTD (*)) The neat thing is, different folks can now provide different extensions on the classpath. So we could have groovy, activemq, servicemix, geronimo-jca and geronimo-ejb, all making their own extensions, having their own XSDs and all used freely inside a single XML document. Impact ===== As it turns out, the impact on the code was surprisingly small and the entire thing only took about a day to implement - most of which was on the ServiceMix side of things (which is much less than the XSLT took to get right on ActiveMQ! :). The impact on the Spring codebase is a couple of fairly straightforward small methods added to the current parser, 1 new extension interface (ElementProcessor) and an optional helper class, ElementProcessorSupport that wraps up a bunch of useful helper methods for transforming DOM nodes and adding Spring XML elements. Due to the minimal impact of these changes & ease of backing them out again, I've gone ahead and checked them straight in. Please take a look and see what you think. I'm using ServiceMix (http:// servicemix.org/) as the test case right now; if there's general agreement among the team with this approach, I'll add some spring specific test cases into CVS to test it out inside the spring unit test suite. Remaining Issues ============= This whole spike was surprisingly simple to do and had minimal impact on Spring. (*) The only gotcha was, Spring uses XML validation by default - which forces a DOCTYPE to be specified - and DOCTYPEs don't like arbitrary namespaces to be used. So I've added an xmlValidating property on AbstractXmlApplicationContext and a new constructor on BeanFactory so you can turn off validation if you want to. (There could be other places in the code that might need to allow validation to be turned off, but that should do for a start). I guess if we had a Spring XSD, then we could enforce validation all the time and folks who wish to extend the XML must specify one more more XSD references in the XML? Thoughts? James ------- http://radio.weblogs.com/0112098/ |
|
From: Thomas R. <tho...@tr...> - 2005-06-09 03:16:55
|
Not sure if you've seen this as well - someone blogging about the =20 Core Spring training in Amsterdam: http://technology.amis.nl/blog/index.php?p=3D608 On Jun 8, 2005, at 11:04 PM, Keith Donald wrote: > =85it=92s not exactly spanking new news=85 but just in case=85 sf = stats are =20 > back=85 > > > > http://sourceforge.net/project/stats/detail.php?=20 > group_id=3D73357&ugn=3Dspringframework&type=3Dprdownload&mode=3D12months= &sl1_c=20 > urrent=3D148517&package_id=3D73406&sl2_current=3D0&release_id=3D0 > > > > |
|
From: Keith D. <ke...@in...> - 2005-06-09 03:05:02
|
.it's not exactly spanking new news. but just in case. sf stats are back. http://sourceforge.net/project/stats/detail.php?group_id=73357 <http://sourceforge.net/project/stats/detail.php?group_id=73357&ugn=springfr amework&type=prdownload&mode=12months&sl1_current=148517&package_id=73406&sl 2_current=0&release_id=0> &ugn=springframework&type=prdownload&mode=12months&sl1_current=148517&packag e_id=73406&sl2_current=0&release_id=0 |
|
From: Alef A. <al...@in...> - 2005-06-08 16:43:48
|
We're having some problems with our infrastructure at the office so we won't be able to do the nightly builds for a while. It'll probably be until after the weekend before we can run a nightly build again. Apologies! Rgds, Alef |
|
From: Darren D. <da...@sh...> - 2005-06-07 21:37:38
|
1118180253
FAILED
[junit] Testcase: testAutowireWithDefault took 0.205 sec
[junit] Testcase: testAutowireByConstructor took 0.092 sec
[junit] Testcase: testAutowireByConstructorWithSimpleValues took 0.267 sec
[junit] Testcase: testConstructorArgResolution took 0.364 sec
[junit] Testcase: testConstructorArgWithSingleMatch took 0.305 sec
[junit] Testcase: testThrowsExceptionOnTooManyArguments took 0.89 sec
[junit] Testcase: testThrowsExceptionOnAmbiguousResolution took 0.056 sec
[junit] Testcase: testFactoryBeanDefinedAsPrototype took 0.035 sec
[junit] Testcase: testDependsOn took 0.273 sec
[junit] Testcase: testDependsOnInInnerBean took 0.108 sec
[junit] Testcase: testDependenciesThroughConstructorArguments took 0.039 sec
[junit] Testcase: testDependenciesThroughConstructorArgumentAutowiring took 0.07 sec
[junit] Testcase: testDependenciesThroughConstructorArgumentsInInnerBean took 0.038 sec
[junit] Testcase: testDependenciesThroughProperties took 0.105 sec
[junit] Testcase: testDependenciesThroughPropertiesWithInTheMiddle took 0.21 sec
[junit] Testcase: testDependenciesThroughPropertyAutowiringByName took 0.259 sec
[junit] Testcase: testDependenciesThroughPropertyAutowiringByType took 0.059 sec
[junit] Testcase: testDependenciesThroughPropertiesInInnerBean took 0.037 sec
[junit] Testcase: testClassNotFoundWithDefault took 0.041 sec
[junit] Testcase: testClassNotFoundWithNoBeanClassLoader took 0.112 sec
[junit] Testcase: testResourceAndInputStream took 0.362 sec
[junit] Testcase: testClassPathResourceWithImport took 0.311 sec
[junit] Testcase: testUrlResourceWithImport took 0.086 sec
[junit] Testcase: testFileSystemResourceWithImport took 0.242 sec
[junit] Testcase: testLookupOverrideMethodsWithSetterInjection took 3.016 sec
[junit] FAILED
[junit] null
[junit] junit.framework.AssertionFailedError
[junit] at org.springframework.beans.factory.xml.XmlBeanFactoryTests.testLookupOverrideMethodsWithSetterInjection(XmlBeanFactoryTests.java:879)
This is an automated mail from one of the SF Compile Farm machines.
The machine name noted in the subject encountered a failure building
or running the Spring test suite. The last few lines of the output
were included for info.
NB: No further mail will be sent from this machine until a
manual reset occurs on the cf-shell machine, although builds will
continue as scheduled.
See http://springframework.sourceforge.net/test/ for further
information.
|
|
From: <al...@in...> - 2005-06-06 22:32:13
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20050607001709Lbuild.278 |
|
From: Claus I. <cib...@ya...> - 2005-06-06 06:39:10
|
Juozas Baliuka posted this patch to hibernate 3. http://opensource.atlassian.com/projects/hibernate/browse/HHH-525 I don't know if that could have any relation to Spring's use of CGLib? /Claus |
|
From: <al...@in...> - 2005-06-05 22:30:57
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20050606001638Lbuild.277 |
|
From: Darren D. <da...@sh...> - 2005-06-04 23:25:26
|
1117927522
FAILED
[junit] Testcase: testAutowireWithDefault took 0.046 sec
[junit] Testcase: testAutowireByConstructor took 0.067 sec
[junit] Testcase: testAutowireByConstructorWithSimpleValues took 0.065 sec
[junit] Testcase: testConstructorArgResolution took 0.123 sec
[junit] Testcase: testConstructorArgWithSingleMatch took 0.072 sec
[junit] Testcase: testThrowsExceptionOnTooManyArguments took 0.054 sec
[junit] Testcase: testThrowsExceptionOnAmbiguousResolution took 0.265 sec
[junit] Testcase: testFactoryBeanDefinedAsPrototype took 0.033 sec
[junit] Testcase: testDependsOn took 0.434 sec
[junit] Testcase: testDependsOnInInnerBean took 0.097 sec
[junit] Testcase: testDependenciesThroughConstructorArguments took 0.058 sec
[junit] Testcase: testDependenciesThroughConstructorArgumentAutowiring took 0.24 sec
[junit] Testcase: testDependenciesThroughConstructorArgumentsInInnerBean took 0.451 sec
[junit] Testcase: testDependenciesThroughProperties took 0.242 sec
[junit] Testcase: testDependenciesThroughPropertiesWithInTheMiddle took 0.524 sec
[junit] Testcase: testDependenciesThroughPropertyAutowiringByName took 0.035 sec
[junit] Testcase: testDependenciesThroughPropertyAutowiringByType took 0.039 sec
[junit] Testcase: testDependenciesThroughPropertiesInInnerBean took 0.036 sec
[junit] Testcase: testClassNotFoundWithDefault took 0.248 sec
[junit] Testcase: testClassNotFoundWithNoBeanClassLoader took 0.03 sec
[junit] Testcase: testResourceAndInputStream took 0.351 sec
[junit] Testcase: testClassPathResourceWithImport took 0.068 sec
[junit] Testcase: testUrlResourceWithImport took 0.067 sec
[junit] Testcase: testFileSystemResourceWithImport took 0.278 sec
[junit] Testcase: testLookupOverrideMethodsWithSetterInjection took 2.265 sec
[junit] FAILED
[junit] null
[junit] junit.framework.AssertionFailedError
[junit] at org.springframework.beans.factory.xml.XmlBeanFactoryTests.testLookupOverrideMethodsWithSetterInjection(XmlBeanFactoryTests.java:879)
This is an automated mail from one of the SF Compile Farm machines.
The machine name noted in the subject encountered a failure building
or running the Spring test suite. The last few lines of the output
were included for info.
NB: No further mail will be sent from this machine until a
manual reset occurs on the cf-shell machine, although builds will
continue as scheduled.
See http://springframework.sourceforge.net/test/ for further
information.
|
|
From: snpe <sn...@sn...> - 2005-06-04 22:43:52
|
Hello,
This is fragment from rcp project's richclient-application-context.xml :
<bean id="binderSelectionStrategy"
class="org.springframework.richclient.samples.petclinic.ui.binder.PetClinicBinderSelectionStrategy">
<property name="bindersForPropertyTypes">
<map>
<entry>
<key>
<value type="java.lang.Class">java.util.Date</value>
</key>
<bean
class="org.springframework.richclient.samples.petclinic.ui.binder.CustomDatePickerBinder"/>
</entry>
<entry>
<key>
<value type="java.lang.Class">
org.springframework.samples.petclinic.PetType</value>
</key>
<bean
class="org.springframework.richclient.samples.petclinic.ui.binder.PetTypeBinder">
<property name="clinic">
<ref bean="clinic"/>
</property>
</bean>
</entry>
</map>
</property>
</bean>
bindersForPropertyTypes is map and it work fine - spring instantiate bean, but eclipse webtools validation return error :
Attribute "type" must be declared for element type "value".
The content of element type "entry" must match "(bean|ref|idref|list|set|map|props|value|null)".
Attribute "key" is required and must be specified for element type "entry".
Is it dtd problem ?
regards
Peco
|
|
From: Darren D. <da...@sh...> - 2005-06-04 12:33:36
|
1117888381 FAILED This is an automated mail from one of the SF Compile Farm machines. The machine name noted in the subject encountered a failure building or running the Spring test suite. The last few lines of the output were included for info. NB: No further mail will be sent from this machine until a manual reset occurs on the cf-shell machine, although builds will continue as scheduled. See http://springframework.sourceforge.net/test/ for further information. |
|
From: <al...@in...> - 2005-06-03 22:30:18
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20050604001653Lbuild.276 |
|
From: Juergen H. <ju...@in...> - 2005-06-03 07:52:25
|
I see... it's obviously some unintended recursion.
I guess the fastest way to figuring this out is to set a breakpoint on your
getBean call and see what happens when you step in. The recursion should be
come obvious pretty quickly.
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf
Of Keith Donald
Sent: Friday, June 03, 2005 9:38 AM
To: spr...@li...
Subject: RE: [Springframework-developer] child context lookups
Juergen,
Hope this helps clarify:
- the delegating bean is hosted in the parent context. For this app, this
is the context of a dispatcher servlet (so essentially its application
scope.)
- when executed, the delegating bean looks up another context managed in
flow-scope. That flow-scoped context is a child of the dispatcher servlet's
context. The delegating bean then asks for the delegate on that child
context by name, and the StackOverflow results.
A picture might help as well:
|-------------|
| dispatcher |
| context |
| * myBean |
|-------------|
|
|
|-------------|
| flow |
| context |
| * myBean |
|-------------|
In code of the delegating bean:
execute(RequestContext context) {
BeanFactory bf =
(BeanFactory)context.getFlowScope().getAttribute("flowContext");
bf.getBean("myBean"); // STACK OVERFLOW, as instead of getting the
"myBean" from flow context above I get a reference to myself -- why??
}
Keith
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...] On Behalf Of
Juergen Hoeller
Sent: Friday, June 03, 2005 3:26 AM
To: spr...@li...
Subject: Re: [Springframework-developer] child context lookups
Keith,
Do you I understand correctly that you try to look up the delegate bean -
which resides in the child context - from a delegating bean which resides in
the parent context? That won't work: If the lookup is performed within a
bean in the parent context, all it's gonna see is the parent context and the
beans there.
"Shadowing" beans with the same name does work with bean references, though.
You can for example define a bean in the child context that receives an
explicit reference to a bean of the same name in the parent context, through
a <ref parent="..."> tag which will always perform the lookup in the parent
context, thus linking to the bean there.
What exactly do you want to achieve?
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf Of
Keith Donald
Sent: Friday, June 03, 2005 7:37 AM
To: spr...@li...
Subject: [Springframework-developer] child context lookups
I have a question about context hierarchy.
I've run into a situation where I have a "delegating bean" (a singleton) in
a parent context, making a lookup to a delegate instance in a flow-scoped
child context. For transparency, the delegating bean and the delegate share
the same bean name.
This sounded fine to me, but I was greeted by a StackOverflowError within
the delegating bean implementation when it tried to lookup the delegate.
This happened because instead of getting the delegate, I got a reference
back to the delegating object itself. In other words, when it queried the
child context, the bean in the parent was returned, not the one in the
child. I would've thought this to be the other way around - querying the
child context would result in first its registry being checked, and then if
no bean was found a call to the parent?
Another, unreleated issue I am having is the ClasspathXmlApplicationContext
and related implementations are not serializable. Is there any reason that
this is not supported? In my case I have transactional state managed in a
flow-scoped context - it'd be nice if I could serialize the entire context
out for reconstruction of that state at a later point to facilitate server
restarts, for example.
Keith
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Keith D. <ke...@in...> - 2005-06-03 07:38:19
|
Juergen,
Hope this helps clarify:
- the delegating bean is hosted in the parent context. For this app, this
is the context of a dispatcher servlet (so essentially its application
scope.)
- when executed, the delegating bean looks up another context managed in
flow-scope. That flow-scoped context is a child of the dispatcher servlet's
context. The delegating bean then asks for the delegate on that child
context by name, and the StackOverflow results.
A picture might help as well:
|-------------|
| dispatcher |
| context |
| * myBean |
|-------------|
|
|
|-------------|
| flow |
| context |
| * myBean |
|-------------|
In code of the delegating bean:
execute(RequestContext context) {
BeanFactory bf =
(BeanFactory)context.getFlowScope().getAttribute("flowContext");
bf.getBean("myBean"); // STACK OVERFLOW, as instead of getting the
"myBean" from flow context above I get a reference to myself -- why??
}
Keith
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...] On Behalf Of
Juergen Hoeller
Sent: Friday, June 03, 2005 3:26 AM
To: spr...@li...
Subject: Re: [Springframework-developer] child context lookups
Keith,
Do you I understand correctly that you try to look up the delegate bean -
which resides in the child context - from a delegating bean which resides in
the parent context? That won't work: If the lookup is performed within a
bean in the parent context, all it's gonna see is the parent context and the
beans there.
"Shadowing" beans with the same name does work with bean references, though.
You can for example define a bean in the child context that receives an
explicit reference to a bean of the same name in the parent context, through
a <ref parent="..."> tag which will always perform the lookup in the parent
context, thus linking to the bean there.
What exactly do you want to achieve?
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf Of
Keith Donald
Sent: Friday, June 03, 2005 7:37 AM
To: spr...@li...
Subject: [Springframework-developer] child context lookups
I have a question about context hierarchy.
I've run into a situation where I have a "delegating bean" (a singleton) in
a parent context, making a lookup to a delegate instance in a flow-scoped
child context. For transparency, the delegating bean and the delegate share
the same bean name.
This sounded fine to me, but I was greeted by a StackOverflowError within
the delegating bean implementation when it tried to lookup the delegate.
This happened because instead of getting the delegate, I got a reference
back to the delegating object itself. In other words, when it queried the
child context, the bean in the parent was returned, not the one in the
child. I would've thought this to be the other way around - querying the
child context would result in first its registry being checked, and then if
no bean was found a call to the parent?
Another, unreleated issue I am having is the ClasspathXmlApplicationContext
and related implementations are not serializable. Is there any reason that
this is not supported? In my case I have transactional state managed in a
flow-scoped context - it'd be nice if I could serialize the entire context
out for reconstruction of that state at a later point to facilitate server
restarts, for example.
Keith
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Juergen H. <ju...@in...> - 2005-06-03 07:25:40
|
Keith, Do you I understand correctly that you try to look up the delegate bean - which resides in the child context - from a delegating bean which resides in the parent context? That won't work: If the lookup is performed within a bean in the parent context, all it's gonna see is the parent context and the beans there. "Shadowing" beans with the same name does work with bean references, though. You can for example define a bean in the child context that receives an explicit reference to a bean of the same name in the parent context, through a <ref parent="..."> tag which will always perform the lookup in the parent context, thus linking to the bean there. What exactly do you want to achieve? Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Keith Donald Sent: Friday, June 03, 2005 7:37 AM To: spr...@li... Subject: [Springframework-developer] child context lookups I have a question about context hierarchy. I've run into a situation where I have a "delegating bean" (a singleton) in a parent context, making a lookup to a delegate instance in a flow-scoped child context. For transparency, the delegating bean and the delegate share the same bean name. This sounded fine to me, but I was greeted by a StackOverflowError within the delegating bean implementation when it tried to lookup the delegate. This happened because instead of getting the delegate, I got a reference back to the delegating object itself. In other words, when it queried the child context, the bean in the parent was returned, not the one in the child. I would've thought this to be the other way around - querying the child context would result in first its registry being checked, and then if no bean was found a call to the parent? Another, unreleated issue I am having is the ClasspathXmlApplicationContext and related implementations are not serializable. Is there any reason that this is not supported? In my case I have transactional state managed in a flow-scoped context - it'd be nice if I could serialize the entire context out for reconstruction of that state at a later point to facilitate server restarts, for example. Keith |
|
From: Keith D. <ke...@in...> - 2005-06-03 05:37:08
|
I have a question about context hierarchy. I've run into a situation where I have a "delegating bean" (a singleton) in a parent context, making a lookup to a delegate instance in a flow-scoped child context. For transparency, the delegating bean and the delegate share the same bean name. This sounded fine to me, but I was greeted by a StackOverflowError within the delegating bean implementation when it tried to lookup the delegate. This happened because instead of getting the delegate, I got a reference back to the delegating object itself. In other words, when it queried the child context, the bean in the parent was returned, not the one in the child. I would've thought this to be the other way around - querying the child context would result in first its registry being checked, and then if no bean was found a call to the parent? Another, unreleated issue I am having is the ClasspathXmlApplicationContext and related implementations are not serializable. Is there any reason that this is not supported? In my case I have transactional state managed in a flow-scoped context - it'd be nice if I could serialize the entire context out for reconstruction of that state at a later point to facilitate server restarts, for example. Keith |
|
From: <al...@in...> - 2005-06-02 22:30:44
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20050603001643Lbuild.275 |