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: =?iso-8859-1?Q?<jp....@ti...> - 2003-07-23 08:08:05
|
Hi Juergen,=0D=0A=0D=0AIt's the second case. In fact, the locale is or is= not used in the request itself, depending if the root object uses it dir= ectly or not.=0D=0A=0D=0AThe simpliest example is this one. Admitting a u= ser or an address that is classicaly not localized in the database. If th= is record contains a Country indication, only the country code will still= be stored in the database. When mapRow will create the Country object wi= th the code from the database, it will need the locale, not of the record= , but of the user to serve. To allow the view displaying the name of the = country correctly.=0D=0A=0D=0AAs we said both, the locale cannot be a cur= rent execute parameter in this case.=0D=0A=0D=0AThe core of rewriting is = done. Just the doc is not changed accordingly and for the new feature, I = have not rewrited convenience methods. =0D=0A=0D=0AI will, when at home, = put my current version of the three involved classes in the sandbox. So y= ou will be able to see what changes I've made and if this way has to be c= hanged.=0D=0A=0D=0AThe changes are completely backward compatible. Curren= tly only one test breaks, but its only a lack of a constructor signature.= =0D=0A=0D=0ANote: I have also attached these files in this mail.=0D=0A=0D= =0ARegards,=0D=0AJean-Pierre=0D=0A=0D=0A=0D=0A=0D=0A---------- Initial He= ader -----------=0D=0A=0D=0AFrom : j=FCrgen h=F6ller [werk3AT] <juer= gen...@we...>=0D=0ATo : "JP Pawlak" <jp.pawlak@tiscal= i.fr>,<spr...@li...>=0D=0ACc = : =0D=0ADate : Wed, 23 Jul 2003 09:27:53 +0200=0D=0ASubject : Re: [S= pringframework-developer] Summary of pending points=0D=0A=0D=0AHi Jean-Pi= erre,=0D=0A =0D=0A<quote>=0D=0A>>> Ad 3) I haven't thought about that in = depth, as I'm mainly using=0D=0AHibernate these days. But it seems to me = that simply using a=0D=0AMappingSqlQuery instance per request should solv= e the problem. It's not=0D=0Areally about creating many such instances I = guess, as they are pretty=0D=0Alightweight. Do you have a particular reas= on for wanting to reuse=0D=0AMappingSqlQuery instances in this case?=0D=0A= =0D=0AYou're right that using a new instance per request solves the probl= em.=0D=0A=0D=0ANevertheless, it's not about a few particular requests, bu= t almost all.=0D=0AIn addition to the class creation, it's also the prepa= red statement=0D=0Are-creation and re-compilation. It's possible anyway t= hat the gain is=0D=0Anot so high. But as the job is done for me, I prefer= continue to reuse=0D=0Aas so it can only be faster and has no additional= risk.=0D=0A</quote>=0D=0A =0D=0AOK, I see that there is value in reusing= the prepared statements.=0D=0A =0D=0AWhat exactly are you doing with the= Locale inside the mapRow implementation? If you'd use it as an argument = for the prepared statement too, it could be a parameter of the execute me= thod, but it probably won't go into the statement as Locale object but ra= ther as some language code. So are you setting the Locale to the mapped o= bject but not using it directly for the statement? Then it couldn't be an= execute parameter, so you'd have to get it there in some other way.=0D=0A= =0D=0AThat would require adding a new context parameter of type Object o= r Map to execute, newResultReader, and mapRow. There should be a solution= to do this as backward compatible as possible, maybe by introducing a su= per class of MappingSqlQueryWithParameters called MappingSqlQueryWithPara= metersAndContext? The two subclasses could still offer the same mapRow im= plementations as before.=0D=0A =0D=0ARegards,=0D=0AJuergen=0D=0A=0A=0A***= ******* L'ADSL A 20 EUR/MOIS**********=0ATiscali propose l'ADSL le moins = cher du march=E9 : 20 EUR/mois et le modem ADSL offert ! =0APour profiter= de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/= adsl/=0AOffre soumise =E0 conditions.=0A |
|
From: <jue...@we...> - 2003-07-23 07:29:28
|
SGkgSmVhbi1QaWVycmUsDQogDQo8cXVvdGU+DQo+Pj4gQWQgMykgSSBoYXZlbid0IHRob3VnaHQg YWJvdXQgdGhhdCBpbiBkZXB0aCwgYXMgSSdtIG1haW5seSB1c2luZw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bnRleHQ/IFRoZSB0d28gc3ViY2xhc3NlcyBj b3VsZCBzdGlsbCBvZmZlciB0aGUgc2FtZSBtYXBSb3cgaW1wbGVtZW50YXRpb25zIGFzIGJlZm9y ZS4NCiANClJlZ2FyZHMsDQpKdWVyZ2VuDQo= |
|
From: Ken K. <kk...@kk...> - 2003-07-23 05:02:27
|
I have just committed a reasonably complete version of the tutorial html to the repository and deployed it to the website. Ken Krebs |
|
From: JP P. <jp....@ti...> - 2003-07-22 23:26:49
|
Hi, I just put the two new CRUD abstract controllers in the sandbox:web.servlet.mvc. Additional snippets including the concrete classes from the application using them are in sandbox:samples.crud.web. For people that have not followed the discussion. a concrete class subclassing one of these controllers will handle a complete CRUD scenario. It is mainly suited for handling little to medium Objects like data from references tables and so on. Despite they still work, some refectories will have to be done as well as improving doc and adding tests before putting them in the 'src' part. Simply sharing them will allow other Spring developers to collaborate. Regards, Jean-Pierre |
|
From: JP P. <jp....@ti...> - 2003-07-22 22:11:46
|
Hi Juergen, You are everywhere these times :-). Clearly, the framework gained a much having you with it. That has to be said. Thanks for all this work and explanations. When I updated the framework many hours ago, I guessed you were working on multiples Html values. >>>Ad 1) As you said, I think it's behaving in a clearer way now. Unfortunately I don't have an idea on how to properly add new attribute keys in child definitions yet, but I guess we can live with the current restriction. Absolutely. >>> Ad 2) Do you have some stacktrace or the like for this particular JBoss crash? If JBoss had a good classloader architecture, it shouldn't matter if a web app initialized its own Log4J instance or not. This works nicely with Tomcat 4.1 for instance, with multiple webapps that each have their own Log4J instance, and even if Tomcat itself logs via Log4J. Just here is the problem. The last logging line tolled that the application was undeployed. After that, JBoss was no more able to log anything. But it's not the log4j initialization which was problematic, just the listener. Now, I setup the configuration, but don't use the listener and all works fine. >>> Ad 3) I haven't thought about that in depth, as I'm mainly using Hibernate these days. But it seems to me that simply using a MappingSqlQuery instance per request should solve the problem. It's not really about creating many such instances I guess, as they are pretty lightweight. Do you have a particular reason for wanting to reuse MappingSqlQuery instances in this case? You're right that using a new instance per request solves the problem. Nevertheless, it's not about a few particular requests, but almost all. In addition to the class creation, it's also the prepared statement re-creation and re-compilation. It's possible anyway that the gain is not so high. But as the job is done for me, I prefer continue to reuse as so it can only be faster and has no additional risk. >>> Ad 4) On the occasion, I've just implemented a solution for this (already committed). It doesn't convert multiple values to a CSV String in the first place, like you suggested, but rather converts them straightly to a String array. "getParametersStartingWith" performs the check and returns Map instead of Properties now. So if you want to bind multiple values for the same parameter to a bean, you have to make the respective bean property of type "String[]". The array will contain a single String if there is just a single value. If the property is not of that type, you will get a "typeMismatch" error when binding a request with multiple values for that parameter. That shouldn't matter though, as multiple values will only occur in special circumstances. Note that converting such a String array to other types would be a job for the BeanWrapper then, it simply gets a String array as parameter value. Does that match your requirements? Perfect. >>> Ad 5) Your new CRUD controller sounds interesting. I'm looking forward to have a look at it! As often, I don't know all the subtleties of the framework. It is certainly possible to make more re-use from the framework. Even if the controllers could contain clumsy parts, they can be a pretty good starting point. So I will put them in the sandbox for letting interested people have a first look. Even in their current status. Regards, Jean-Pierre |
|
From: <jue...@we...> - 2003-07-22 21:03:15
|
VGhhbmtzIENvbGluLCBJJ3ZlIGp1c3QgZml4ZWQgaXQgOi0pDQogDQogDQoNCgktLS0tLVVyc3By w7xuZ2xpY2hlIE5hY2hyaWNodC0tLS0tIA0KCVZvbjogQ29saW4gU2FtcGFsZWFudSBbbWFpbHRv OmNvbGlubWwxQGV4aXMuY29tXSANCglHZXNlbmRldDogRGkgMjIuMDcuMjAwMyAyMjo0NCANCglB bjogc3ByaW5nZnJhbWV3b3JrLWRldmVsb3BlckBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQgDQoJQ2M6 IA0KCUJldHJlZmY6IFtTcHJpbmdmcmFtZXdvcmstZGV2ZWxvcGVyXSBIaWJlcm5hdGVUZW1wbGF0 ZSBoYXMgd3Jvbmcgc2lnbmF0dXJlIGZvciBzYXZlKCkgbWV0aG9kDQoJDQoJDQoNCglIaWJlcm5h dGUncyBTZXNzaW9uIGludGVyZmFjZSByZXR1cm5zIGEgU2VyaWFsaXphYmxlIGZvciBzYXZlKC4u LiksDQoJd2hpbGUgSGliZXJuYXRlVGVtcGxhdGUncyBzYXZlKC4uLikgcmV0dXJucyB2b2lkLi4u DQoJDQoJDQoJDQoJDQoJLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLQ0KCVRoaXMgU0YubmV0IGVtYWlsIGlzIHNwb25zb3JlZCBieTogVk0gV2Fy ZQ0KCVdpdGggVk13YXJlIHlvdSBjYW4gcnVuIG11bHRpcGxlIG9wZXJhdGluZyBzeXN0ZW1zIG9u IGEgc2luZ2xlIG1hY2hpbmUuDQoJV0lUSE9VVCBSRUJPT1RJTkchIE1peCBMaW51eCAvIFdpbmRv d3MgLyBOb3ZlbGwgdmlydHVhbCBtYWNoaW5lcyBhdCB0aGUNCglzYW1lIHRpbWUuIEZyZWUgdHJp YWwgY2xpY2sgaGVyZTogaHR0cDovL3d3dy52bXdhcmUuY29tL3dsL29mZmVyLzM0NS8wDQoJX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCglTcHJpbmdmcmFt ZXdvcmstZGV2ZWxvcGVyIG1haWxpbmcgbGlzdA0KCVNwcmluZ2ZyYW1ld29yay1kZXZlbG9wZXJA bGlzdHMuc291cmNlZm9yZ2UubmV0DQoJaHR0cHM6Ly9saXN0cy5zb3VyY2Vmb3JnZS5uZXQvbGlz dHMvbGlzdGluZm8vc3ByaW5nZnJhbWV3b3JrLWRldmVsb3Blcg0KCQ0KDQo= |
|
From: Colin S. <col...@ex...> - 2003-07-22 20:44:52
|
Hibernate's Session interface returns a Serializable for save(...), while HibernateTemplate's save(...) returns void... |
|
From: <jue...@we...> - 2003-07-22 20:44:16
|
SGkgSmVhbi1QaWVycmUsDQogDQpUaGFua3MgZm9yIHN1bW1hcml6aW5nIC0gSSd2ZSBsb3N0IHRy YWNrIG9uIHNvb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IHRpbWUuIEZyZWUgdHJpYWwgY2xpY2sgaGVyZTog aHR0cDovL3d3dy52bXdhcmUuY29tL3dsL29mZmVyLzM0NS8wDQoJX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCglTcHJpbmdmcmFtZXdvcmstZGV2ZWxvcGVy IG1haWxpbmcgbGlzdA0KCVNwcmluZ2ZyYW1ld29yay1kZXZlbG9wZXJAbGlzdHMuc291cmNlZm9y Z2UubmV0DQoJaHR0cHM6Ly9saXN0cy5zb3VyY2Vmb3JnZS5uZXQvbGlzdHMvbGlzdGluZm8vc3By aW5nZnJhbWV3b3JrLWRldmVsb3Blcg0KCQ0KDQo= |
|
From: Ken K. <kk...@kk...> - 2003-07-22 13:22:19
|
Alef, Anonymous access to repositories at Sourceforge is pretty awful. I've created a snapshot of my local copy (up-to-date) of the repository. You can download it here <http://www.globaldialog.com/%7Ekkrebs/files/spring_main.zip>. Please let me know when you have it so I can remove this large file from this website as soon as possible. I will be glad to help you check out and commit your changes. Ken Alef Arendsen (JTeam) wrote: >Hi guys, > >I was planning to do some work on the JSPs of the Petclinic today and >some other interesting stuff, but I can't seem to reach the CVS through >anynomous access. On some other projects (where I'm a developer) the SSH >access still works. I've had those problems before, and heard other >people complaining in the past as well... (it either take ages and then >I get nothing, or it says error: cvs.sourceforge.net: 0)... > >Any way we can get around this... I'd like to stay up-to-date to the >sources and stuff... > >Alef > > >-----Oorspronkelijk bericht----- >Van: spr...@li... >[mailto:spr...@li...] Namens >jürgen höller [werk3AT] >Verzonden: Monday, July 21, 2003 5:03 PM >Aan: spr...@li... >Onderwerp: [Springframework-developer] Fixed circular reference >mechanism > > >FYI, I've just fixed AbstractBeanFactory's circular reference mechanism: > >1. It now correctly handles repeated references to the same FactoryBean >instance. Formerly, it resolved them via newlyCreatedBeans to the >FactoryBean itself instead of the created object, resulting in a type >mismatch exception on property population. > >2. It does not use newlyCreatedBeans for prototype references anymore. >Formerly, it returned the same prototype instance for multiple >references to the same prototype. > >Thanks to Thomas Achleitner for reporting the first issue! He spent >numerous hours debugging his app until we finally found the root cause >in a phone session... > >Juergen > > >DI Jürgen Höller >Senior System Architect >______________________________________ > >werk3ATS - division systementwicklung >part of werk3AT internetmedien oeg > >europaplatz 4 >A - 4020 linz > >t. +43 (0) 732 71 65 29 502 >f. +43 (0) 732 71 65 29 3 >jue...@we... >www.werk3at.com >______________________________________ >werk3ATS - WIR ENTWICKELN ERFOLG > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > |
|
From: <jue...@we...> - 2003-07-22 13:13:32
|
PHF1b3RlPg0KRnJvbSBKdXJnZW4ncyBhbmQgeW91ciBlbWFpbCwgaXQgaXMgY2xlYXIgaXQgbWFr ZXMgc2Vuc2UgdG8gdXNlIEhpYmVybmF0ZSdzIEpDQVNlc3Npb25GYWN0b3J5LCB3aGljaCB3b3Jr cyB0aHJvdWdoIHRoZSBKQ0EncyBDb25uZWN0aW9uTWFuYWdlciB0byBiYXNpY2FsbHkgcmV0dXJu IGJhY2sgdGhlIHNhbWUgSGliZXJuYXRlIHNlc3Npb24uIEkndmUgdHJhY2VkICh2aXN1YWxseSkg dGhyb3VnaCB0aGUgSGliZXJuYXRlIGNvZGUgYW5kIGl0J3MgY2xlYXIgdGhhdCB5b3UgZW5kIHVw IGdldHRpbmcgdGhlIHNhbWUgSGliZ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zc2lvbkZhY3RvcnkuIFlvdSB3aWxsIGhhdmUgdG8gbWVzcyBhcm91 bmQgd2l0aCBjb250YWluZXItc3BlY2lmaWMgQ29ubmVjdG9yIGRlcGxveW1lbnQgYW5kIGNvbmZp Z3VyYXRpb24sIHRob3VnaC4gSSByZWFsbHkgb25seSByZWNvbW1lbmQgdGhpcyBmb3IgSGliZXJu YXRlIGRhdGEgYWNjZXNzIGluIGFuIEVKQiBlbnZpcm9ubWVudC4gRWxzZSB5b3UgY2FuIGhhdmUg YSBtdWNoIHNpbXBsZXIgc2V0dXAgd2l0aCBMb2NhbFNlc3Npb25GYWN0b3J5QmVhbiBhbmQgYSB0 cmFuc2FjdGlvbi1kcml2aW5nIEp0YVRyYW5zYWN0aW9uTWFuYWdlciAob3IgSGliZXJuYXRlVHJh bnNhY3Rpb25NYW5hZ2VyKSwgcHJvdmlkaW5nIHRoZSBzYW1lIGJlbmVmaXRzLg0KDQpSZWdhcmRz LA0KSnVlcmdlbg0K |
|
From: <jue...@we...> - 2003-07-22 13:11:03
|
I guess we should consider making you a Spring Framework developer = anyway, not just to allow SSH access :-) Juergen -----Original Message----- From: Alef Arendsen (JTeam) [mailto:al...@jt...] Sent: Monday, July 21, 2003 6:09 PM To: spr...@li... Subject: [Springframework-developer] CVS troubles Hi guys, I was planning to do some work on the JSPs of the Petclinic today and some other interesting stuff, but I can't seem to reach the CVS through anynomous access. On some other projects (where I'm a developer) the SSH access still works. I've had those problems before, and heard other people complaining in the past as well... (it either take ages and then I get nothing, or it says error: cvs.sourceforge.net: 0)... Any way we can get around this... I'd like to stay up-to-date to the sources and stuff... Alef -----Oorspronkelijk bericht----- Van: spr...@li... [mailto:spr...@li...] Namens j=FCrgen h=F6ller [werk3AT] Verzonden: Monday, July 21, 2003 5:03 PM Aan: spr...@li... Onderwerp: [Springframework-developer] Fixed circular reference mechanism FYI, I've just fixed AbstractBeanFactory's circular reference mechanism: 1. It now correctly handles repeated references to the same FactoryBean instance. Formerly, it resolved them via newlyCreatedBeans to the FactoryBean itself instead of the created object, resulting in a type mismatch exception on property population. 2. It does not use newlyCreatedBeans for prototype references anymore. Formerly, it returned the same prototype instance for multiple references to the same prototype. Thanks to Thomas Achleitner for reporting the first issue! He spent numerous hours debugging his app until we finally found the root cause in a phone session... Juergen DI J=FCrgen H=F6ller Senior System Architect ______________________________________ werk3ATS - division systementwicklung part of werk3AT internetmedien oeg europaplatz 4 A - 4020 linz t. +43 (0) 732 71 65 29 502 f. +43 (0) 732 71 65 29 3 jue...@we... www.werk3at.com ______________________________________ werk3ATS - WIR ENTWICKELN ERFOLG ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <jue...@we...> - 2003-07-22 07:32:17
|
SGkgSmVhbi1QaWVycmUsDQogDQo8cXVvdGU+DQpDdXJyZW50bHksIEFic3RyYWN0QXBwbGljYXRp b25Db250ZXh0IGluaXRpYWxpemVzIHRoZSBtZXNzYWdlU291cmNlIGF0IHRoZSB2ZXJ5IGVuZCBv ZiB0aGUgcHJvY2VzcyBhbmQgbm90YWJseSBiZWZvcmUgcHJlSW5zdGFudGlhdGVTaW5nbGV0b25z KCkuDQo8L3F1b3RlPg0KIA0KSSBhc3N1bWUgeW91IG1lYW4gIi4uLiAqYWZ0ZXIqIHByZUluc3Rh bnRpYXRlU2luZ2xldG9ucyIgOi0pDQogDQpZb3UncmUgcmlnaHQgdGhhdCBBYnN0cm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GluZyBlYXJsaWVyIHRoZSBt ZXNzYWdlU291cmNlIGNvdWxkDQoJYmUgcG9zc2libGU/DQoJDQoJUmVnYXJkcywNCglKZWFuLVBp ZXJyZQ0KCQ0KCQ0KCQ0KCQ0KCQ0KCS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0NCglUaGlzIFNGLm5ldCBlbWFpbCBpcyBzcG9uc29yZWQgYnk6 IFZNIFdhcmUNCglXaXRoIFZNd2FyZSB5b3UgY2FuIHJ1biBtdWx0aXBsZSBvcGVyYXRpbmcgc3lz dGVtcyBvbiBhIHNpbmdsZSBtYWNoaW5lLg0KCVdJVEhPVVQgUkVCT09USU5HISBNaXggTGludXgg LyBXaW5kb3dzIC8gTm92ZWxsIHZpcnR1YWwgbWFjaGluZXMgYXQgdGhlDQoJc2FtZSB0aW1lLiBG cmVlIHRyaWFsIGNsaWNrIGhlcmU6IGh0dHA6Ly93d3cudm13YXJlLmNvbS93bC9vZmZlci8zNDUv MA0KCV9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQoJU3By aW5nZnJhbWV3b3JrLWRldmVsb3BlciBtYWlsaW5nIGxpc3QNCglTcHJpbmdmcmFtZXdvcmstZGV2 ZWxvcGVyQGxpc3RzLnNvdXJjZWZvcmdlLm5ldA0KCWh0dHBzOi8vbGlzdHMuc291cmNlZm9yZ2Uu bmV0L2xpc3RzL2xpc3RpbmZvL3NwcmluZ2ZyYW1ld29yay1kZXZlbG9wZXINCgkNCg0K |
|
From: JP P. <jp....@ti...> - 2003-07-21 19:58:28
|
Hi,
I have a kind of business objects that initialize them with data from
the Business Messages property file using getMessage().
Searching the MessageSource bean would be a hack.
Currently, AbstractApplicationContext initializes the messageSource at
the very end of the process and notably before
preInstantiateSingletons().
Is a reason for that order or it is only a hazard? I understand that
MessageSource will so not be treated if an Exception is thrown by a
singleton.
That has for consequence that getMessage() is not available when the
bean receives the ApplicationContext. As workaround, I have changed the
concerned singletons from ApplicationContextAware to
ApplicationListener. And the initialization occurs in the
onApplicationEvent with a statement like "if (event instanceof
ContextRefreshedEvent) { x x x }".
Is this the best solution or initialling earlier the messageSource could
be possible?
Regards,
Jean-Pierre
|
|
From: JP P. <jp....@ti...> - 2003-07-21 19:05:08
|
Hi everybody, I just summarize the few points I discussed recently + 1 new. 1) INHERITANCE OF attributeCSV The cause of the changed behaviour was found by Juergen. In abstract, we could say it's a mapped property. As this, the current behaviour is cleaner. Just, for completeness, it should be possible to changing or adding new keys in the parent defined map with a syntax like : My_view.CSVAttribute.header=head.jsp. Perhaps, it still works. Anyway, it's minor and none of us has now time for this kind of problematic. We simply know that the CSVAttribute is no more merged with parent's one. 2) JBOSS DEPLOYMENT FEATURES CRASH I found the responsible: com.interface21.web.util.Log4jConfigListener. I simply don't use any more the listener and the application can normally be un-deployed and redeployed. It's not surprising as JBoss itself uses log4j and numerous people have or had troubles with application use of log4j with JBoss. 3) SHORT LIVED CONTEXTUAL INFO IN MappingSqlQuery I discussed with a few people about this topic. The SQL parameters are not always sufficient to be able to create the correct object in the mapRow method. If the extra information is only valid during the request process, instance variables are not a good way. The cleanest way is clearly adding the data as new parameter in the "execute" methods typed as Object. The framework has only to provide this information in a new (optional) parameter in mapRow. No one seems, for time being, understand the need, but it's clear: I will simply create the Objects with a target Locale. For now, I don't use anymore the MappingSqlQuery, MappingSqlQueryWithParameters and SqlQuery classes from the framework. I use instead a modified set of them which is completely backward compatible and don't break tests. Nevertheless it adds the possibility of using an extraneous Object parameter for the described need by adding some new signatures. I have for now not implemented the convenience methods with the new feature as I use only the core signature. I also have not updated the doc. It's why I cannot propose them in this status. The only drawback is that I have to check changes in these classes in the framework. I will put them in the sandbox when they will look cleaner. 4) CHECKBOXES AND MULTISELECT LIST BOXES They exist in Html. We can't say: Don't use them when you work with Spring (web). I provided a solution that works with very little change and without design hacks. But we could have a design choice to make. Clearly, Html user data are generally Strings, but can be multi-dimensional (array, collection, map or what you want). See JSTL, you have param.xxx and paramValues.xxx. The same in the javax API: request.getParameter() and request.getParameterMap(). So, despite my solution works, it's possibly not completely mature. 5) NEW CONTROLLER That is a new topic. I'm using a self made Controller which I will soon propose beside the WizardController. Its goal is to enclose a complete CRUD scenario. List of existing items with links to edition + link to new(add) - Form edition - optional confirm views for RUD operations - easy separate methods for each task. It will come with two AbstractControllers and a ConcreteControllerExample. The whole in a tiny Demo Application. It's a largely reusable set, notably for administration pages like handling reference tables. That's all areas for now, Regards, Jean-Pierre |
|
From: Alef A. \(JTeam\) <al...@jt...> - 2003-07-21 16:07:58
|
Hi guys, I was planning to do some work on the JSPs of the Petclinic today and some other interesting stuff, but I can't seem to reach the CVS through anynomous access. On some other projects (where I'm a developer) the SSH access still works. I've had those problems before, and heard other people complaining in the past as well... (it either take ages and then I get nothing, or it says error: cvs.sourceforge.net: 0)... Any way we can get around this... I'd like to stay up-to-date to the sources and stuff... Alef -----Oorspronkelijk bericht----- Van: spr...@li... [mailto:spr...@li...] Namens j=FCrgen h=F6ller [werk3AT] Verzonden: Monday, July 21, 2003 5:03 PM Aan: spr...@li... Onderwerp: [Springframework-developer] Fixed circular reference mechanism FYI, I've just fixed AbstractBeanFactory's circular reference mechanism: 1. It now correctly handles repeated references to the same FactoryBean instance. Formerly, it resolved them via newlyCreatedBeans to the FactoryBean itself instead of the created object, resulting in a type mismatch exception on property population. 2. It does not use newlyCreatedBeans for prototype references anymore. Formerly, it returned the same prototype instance for multiple references to the same prototype. Thanks to Thomas Achleitner for reporting the first issue! He spent numerous hours debugging his app until we finally found the root cause in a phone session... Juergen DI J=FCrgen H=F6ller Senior System Architect ______________________________________ werk3ATS - division systementwicklung part of werk3AT internetmedien oeg europaplatz 4 A - 4020 linz t. +43 (0) 732 71 65 29 502 f. +43 (0) 732 71 65 29 3 jue...@we... www.werk3at.com ______________________________________ werk3ATS - WIR ENTWICKELN ERFOLG ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <jue...@we...> - 2003-07-21 15:04:56
|
FYI, I've just fixed AbstractBeanFactory's circular reference mechanism: 1. It now correctly handles repeated references to the same FactoryBean = instance. Formerly, it resolved them via newlyCreatedBeans to the = FactoryBean itself instead of the created object, resulting in a type = mismatch exception on property population. 2. It does not use newlyCreatedBeans for prototype references anymore. = Formerly, it returned the same prototype instance for multiple = references to the same prototype. Thanks to Thomas Achleitner for reporting the first issue! He spent = numerous hours debugging his app until we finally found the root cause = in a phone session... Juergen DI J=FCrgen H=F6ller Senior System Architect ______________________________________ werk3ATS - division systementwicklung part of werk3AT internetmedien oeg europaplatz 4 A - 4020 linz t. +43 (0) 732 71 65 29 502 f. +43 (0) 732 71 65 29 3 jue...@we... www.werk3at.com ______________________________________ werk3ATS - WIR ENTWICKELN ERFOLG |
|
From: Naokatsu H. <na...@so...> - 2003-07-20 14:06:11
|
|
From: JP P. <jp....@ti...> - 2003-07-20 11:23:08
|
Thanks, Juergen. This is very powerful, also for custom PropertyEditors!
I don't know about current status, but a half year ago, this was not
possible in the Struts-Validator.
I didn't realize that the InitBinder is called on each request.
Regards,
Jean-Pierre
-----Message d'origine-----
De=A0: j=FCrgen h=F6ller [werk3AT] [mailto:jue...@we...]=20
Envoy=E9=A0: dimanche 20 juillet 2003 12:46
=C0=A0: JP Pawlak; spr...@li...
Objet=A0: Re: [Springframework-developer] Locale aware binding
Hi Jean-Pierre,
=20
CustomDateEditor and CustomNumberEditor and meant to be registered
explicitly, as they depend on specific parameters like the current
locale. They can be configured to use any DateFormat resp. NumberFormat
for parsing, and to either set empty values to null or throw an
exception. They will also get applied for rendering on
Errors.getFieldValue and thus BindStatus evaluation within a bind tag.
=20
In a BaseCommandController subclass like one of the form controller
classes, you can override initBinder to call registerCustomEditor on the
ServletRequestDataBinder instance used. A custom editor can be
registered for either all fields of the given type or just a specific
field. RequestContextUtils.getLocale will return the current locale as
determined by the LocaleResolver, to retrieve a specific NumberFormat or
DateFormat instance. E.g.:
=20
protected void initBinder(HttpServletRequest request,
ServletRequestDataBinder binder) throws ServletException {
Locale locale =3D RequestContextUtils.getLocale(request);
DateFormat dateFormat =3D DateFormat.getDateInstance(DateFormat.SHORT,
locale);
binder.registerCustomEditor(Date.class, new
CustomDateEditor(dateFormat, false));
}
=20
Regards,
Juergen
=20
=20
-----Urspr=FCngliche Nachricht-----=20
Von: JP Pawlak [mailto:jp....@ti...]=20
Gesendet: So 20.07.2003 10:39=20
An: spr...@li...=20
Cc:=20
Betreff: [Springframework-developer] Locale aware binding
=09
=09
Hi everyone,
=20
Knows anyone how to make locale specific databindings?
I have seen date and number propertiesEditors using apparently
localized binding. But how the binder knows which Locale to use? As =
it=92s
not the system Locale which is to be used, but the user=92s one.
=20
Regards,
Jean-Pierre
=20
|
|
From: <jue...@we...> - 2003-07-20 10:47:58
|
SGkgSmVhbi1QaWVycmUsDQogDQpDdXN0b21EYXRlRWRpdG9yIGFuZCBDdXN0b21OdW1iZXJFZGl0 b3IgYW5kIG1lYW50IHRvIGJlIHJlZ2lzdGVyZWQgZXhwbGljaXRseSwgYXMgdGhleSBkZXBlbmQg b24gc3BlY2lmaWMgcGFyYW1ldGVycyBsaWtlIHRoZSBjdXJyZW50IGxvY2FsZS4gVGhleSBjYW4g YmUgY29uZmlndXJlZCB0byB1c2UgYW55IERhdGVGb3JtYXQgcmVzcC4gTnVtYmVyRm9ybWF0IGZv ciBwYXJzaW5nLCBhbmQgdG8gZWl0aGVyIHNldCBlbXB0eSB2YWx1ZXMgdG8gbnVsbCBvciB0aHJv dyBhbiBleGNlcHRpb24uIFRoZXkgd2lsbCBhbHNvIGdldCBhcHBsaWVkIGZvciByZW5kZXJpbmcg b24gRXJyb3JzLmdldEZpZWxkVmFsdWUgYW5kIHRod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5jbGFzcywgbmV3IEN1c3RvbURhdGVFZGl0b3IoZGF0ZUZvcm1h dCwgZmFsc2UpKTsNCn0NCiANClJlZ2FyZHMsDQpKdWVyZ2VuDQogDQogDQoNCgktLS0tLVVyc3By w7xuZ2xpY2hlIE5hY2hyaWNodC0tLS0tIA0KCVZvbjogSlAgUGF3bGFrIFttYWlsdG86anAucGF3 bGFrQHRpc2NhbGkuZnJdIA0KCUdlc2VuZGV0OiBTbyAyMC4wNy4yMDAzIDEwOjM5IA0KCUFuOiBz cHJpbmdmcmFtZXdvcmstZGV2ZWxvcGVyQGxpc3RzLnNvdXJjZWZvcmdlLm5ldCANCglDYzogDQoJ QmV0cmVmZjogW1NwcmluZ2ZyYW1ld29yay1kZXZlbG9wZXJdIExvY2FsZSBhd2FyZSBiaW5kaW5n DQoJDQoJDQoNCglIaSBldmVyeW9uZSwNCg0KCSANCg0KCUtub3dzIGFueW9uZSBob3cgdG8gbWFr ZSBsb2NhbGUgc3BlY2lmaWMgZGF0YWJpbmRpbmdzPw0KDQoJSSBoYXZlIHNlZW4gZGF0ZSBhbmQg bnVtYmVyIHByb3BlcnRpZXNFZGl0b3JzIHVzaW5nIGFwcGFyZW50bHkgbG9jYWxpemVkIGJpbmRp bmcuIEJ1dCBob3cgdGhlIGJpbmRlciBrbm93cyB3aGljaCBMb2NhbGUgdG8gdXNlPyBBcyBpdOKA mXMgbm90IHRoZSBzeXN0ZW0gTG9jYWxlIHdoaWNoIGlzIHRvIGJlIHVzZWQsIGJ1dCB0aGUgdXNl cuKAmXMgb25lLg0KDQoJIA0KDQoJUmVnYXJkcywNCg0KCUplYW4tUGllcnJlDQoNCgkgDQoNCg== |
|
From: JP P. <jp....@ti...> - 2003-07-20 08:39:28
|
Hi everyone, Knows anyone how to make locale specific databindings? I have seen date and number propertiesEditors using apparently localized binding. But how the binder knows which Locale to use? As it's not the system Locale which is to be used, but the user's one. Regards, Jean-Pierre |
|
From: Rod J. <rod...@in...> - 2003-07-19 19:12:55
|
I've committed this change (ability to specify arbitrary init method without depending on a Spring interface). See initializers.xml in the XML bean factory test suite for an example of using the new "init-method" attribute. Custom initializers can throw any exception; the only restriction is that they may have no arguments. Regards, Rod ----- Original Message ----- From: "Kopylenko, Dmitry" <dko...@su...> To: "'Rod Johnson'" <rod...@in...>; <jp....@ti...>; "'trisberg'" <tri...@tr...> Cc: "'juergen.hoeller'" <jue...@we...>; "'springframework-developer'" <spr...@li...> Sent: Friday, July 18, 2003 7:07 PM Subject: RE: [Springframework-developer] Re: [Springframework-developer] Fw: [springframework - Open Discussion] RE: BeanFactory=>Generic Container +1 for keeping InitializingBean. We use it "all over the place" :-) D. -----Original Message----- From: Rod Johnson [mailto:rod...@in...] Sent: Friday, July 18, 2003 1:48 PM To: jp....@ti...; trisberg Cc: juergen.hoeller; springframework-developer Subject: Re: [Springframework-developer] Re: [Springframework-developer] Fw: [springframework - Open Discussion] RE: BeanFactory=>Generic Container OK, I can implement this. I think we must keep InitializingBean however. Many framework classes depend on it and we should not force users to know the relevant init method that they may not care about, and we must not force users to remember to set the magic initialization attribute to get the AOP framework etc to work. So I propose: - Keep InitializingBean - Add a new "init-method" attribute for arbitrary methods. If a class implements both IB and has an initializer, the IB method will be called first. If the user specifies an init-method att and there's no such method that's treated as a fatal exception. Regards, Rod ----- Original Message ----- From: <jp....@ti...> To: "trisberg" <tri...@tr...> Cc: "juergen.hoeller" <jue...@we...>; "springframework-developer" <spr...@li...> Sent: Friday, July 18, 2003 4:47 PM Subject: [Springframework-developer] Re: [Springframework-developer] Fw: [springframework - Open Discussion] RE: BeanFactory=>Generic Container +1 Just to see how handle the Exceptions. No Spring specific Exception has to be waited for. The called method can have or not a throws statement and it can always throw a RuntimeException. The factory will have to catch any Exception and throwing itself a ServletException? If an initialization method throws any kind of Exception, it's allways fatal. So we can gain a new design step. Jean-Pierre ---------- Initial Header ----------- From : spr...@li... To : "jürgen höller [werk3AT]" <jue...@we...> Cc : spr...@li... Date : Fri, 18 Jul 2003 09:55:43 -0400 Subject : Re: [Springframework-developer] Fw: [springframework - Open Discussion] RE: BeanFactory=>Generic Container Juergen, > I consider that an interesting idea: As an alternative to InitializingBean, > we could indeed add such an "initializing_method" attribute, > specifying a no-arg init method on the object. That would allow for > initialization that depends on multiple properties without > implementing any Spring-specific interface. What you think about this? +1 I see no disadvantages, and it would be nice to not having to depend on any Spring interfaces at all. Thomas ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer ********** L'ADSL A 20 EUR/MOIS********** Tiscali propose l'ADSL le moins cher du marché : 20 EUR/mois et le modem ADSL offert ! Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/ Offre soumise à conditions. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Ken K. <kk...@kk...> - 2003-07-18 22:42:42
|
+1 Sounds right to me. Rod Johnson wrote: >OK, I can implement this. > >I think we must keep InitializingBean however. Many framework classes depend >on it and we should not force users to know the relevant init method that >they may not care about, and we must not force users to remember to set the >magic initialization attribute to get the AOP framework etc to work. > >So I propose: >- Keep InitializingBean >- Add a new "init-method" attribute for arbitrary methods. If a class >implements both IB and has an initializer, the IB method will be called >first. If the user specifies an init-method att and there's no such method >that's treated as a fatal exception. > >Regards, >Rod > >----- Original Message ----- >From: <jp....@ti...> >To: "trisberg" <tri...@tr...> >Cc: "juergen.hoeller" <jue...@we...>; >"springframework-developer" ><spr...@li...> >Sent: Friday, July 18, 2003 4:47 PM >Subject: [Springframework-developer] Re: [Springframework-developer] Fw: >[springframework - Open Discussion] RE: BeanFactory=>Generic Container > > >+1 > >Just to see how handle the Exceptions. No Spring specific Exception has to >be waited for. The called method can have or not a throws statement and it >can always throw a RuntimeException. The factory will have to catch any >Exception and throwing itself a ServletException? If an initialization >method throws any kind of Exception, it's allways fatal. > >So we can gain a new design step. > >Jean-Pierre >---------- Initial Header ----------- > >>From : spr...@li... >To : "jürgen höller [werk3AT]" <jue...@we...> >Cc : spr...@li... >Date : Fri, 18 Jul 2003 09:55:43 -0400 >Subject : Re: [Springframework-developer] Fw: [springframework - Open >Discussion] RE: BeanFactory=>Generic Container > >Juergen, > > > >>I consider that an interesting idea: As an alternative to >> >> >InitializingBean, > > >>we could indeed add such an "initializing_method" attribute, specifying a >>no-arg init method on the object. That would allow for initialization that >>depends on multiple properties without implementing any Spring-specific >>interface. What you think about this? >> >> > >+1 > >I see no disadvantages, and it would be nice to not having to depend on any >Spring interfaces at all. > >Thomas > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > >********** L'ADSL A 20 EUR/MOIS********** >Tiscali propose l'ADSL le moins cher du marché : 20 EUR/mois et le modem >ADSL offert ! >Pour profiter de cette offre exceptionnelle, cliquez ici : >http://register.tiscali.fr/adsl/ >Offre soumise à conditions. > > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the >same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > |
|
From: Kopylenko, D. <dko...@ac...> - 2003-07-18 18:07:06
|
+1 for keeping InitializingBean. We use it "all over the place" :-) D. -----Original Message----- From: Rod Johnson [mailto:rod...@in...]=20 Sent: Friday, July 18, 2003 1:48 PM To: jp....@ti...; trisberg Cc: juergen.hoeller; springframework-developer Subject: Re: [Springframework-developer] Re: = [Springframework-developer] Fw: [springframework - Open Discussion] RE: BeanFactory=3D>Generic = Container OK, I can implement this. I think we must keep InitializingBean however. Many framework classes = depend on it and we should not force users to know the relevant init method = that they may not care about, and we must not force users to remember to set = the magic initialization attribute to get the AOP framework etc to work. So I propose: - Keep InitializingBean - Add a new "init-method" attribute for arbitrary methods. If a class implements both IB and has an initializer, the IB method will be called first. If the user specifies an init-method att and there's no such = method that's treated as a fatal exception. Regards, Rod ----- Original Message ----- From: <jp....@ti...> To: "trisberg" <tri...@tr...> Cc: "juergen.hoeller" <jue...@we...>; "springframework-developer" <spr...@li...> Sent: Friday, July 18, 2003 4:47 PM Subject: [Springframework-developer] Re: [Springframework-developer] = Fw: [springframework - Open Discussion] RE: BeanFactory=3D>Generic = Container +1 Just to see how handle the Exceptions. No Spring specific Exception has = to be waited for. The called method can have or not a throws statement and = it can always throw a RuntimeException. The factory will have to catch any Exception and throwing itself a ServletException? If an initialization method throws any kind of Exception, it's allways fatal. So we can gain a new design step. Jean-Pierre ---------- Initial Header ----------- From : spr...@li... To : "j=C3=BCrgen h=C3=B6ller [werk3AT]" = <jue...@we...> Cc : spr...@li... Date : Fri, 18 Jul 2003 09:55:43 -0400 Subject : Re: [Springframework-developer] Fw: [springframework - Open Discussion] RE: BeanFactory=3D>Generic Container Juergen, > I consider that an interesting idea: As an alternative to InitializingBean, > we could indeed add such an "initializing_method" attribute,=20 > specifying a no-arg init method on the object. That would allow for=20 > initialization that depends on multiple properties without=20 > implementing any Spring-specific interface. What you think about = this? +1 I see no disadvantages, and it would be nice to not having to depend on = any Spring interfaces at all. Thomas ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the = same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer ********** L'ADSL A 20 EUR/MOIS********** Tiscali propose l'ADSL le moins cher du march=E9 : 20 EUR/mois et le = modem ADSL offert ! Pour profiter de cette offre exceptionnelle, cliquez ici = : http://register.tiscali.fr/adsl/ Offre soumise =E0 conditions. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the = same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the = same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Rod J. <rod...@in...> - 2003-07-18 17:49:41
|
OK, I can implement this. I think we must keep InitializingBean however. Many framework classes depend on it and we should not force users to know the relevant init method that they may not care about, and we must not force users to remember to set the magic initialization attribute to get the AOP framework etc to work. So I propose: - Keep InitializingBean - Add a new "init-method" attribute for arbitrary methods. If a class implements both IB and has an initializer, the IB method will be called first. If the user specifies an init-method att and there's no such method that's treated as a fatal exception. Regards, Rod ----- Original Message ----- From: <jp....@ti...> To: "trisberg" <tri...@tr...> Cc: "juergen.hoeller" <jue...@we...>; "springframework-developer" <spr...@li...> Sent: Friday, July 18, 2003 4:47 PM Subject: [Springframework-developer] Re: [Springframework-developer] Fw: [springframework - Open Discussion] RE: BeanFactory=>Generic Container +1 Just to see how handle the Exceptions. No Spring specific Exception has to be waited for. The called method can have or not a throws statement and it can always throw a RuntimeException. The factory will have to catch any Exception and throwing itself a ServletException? If an initialization method throws any kind of Exception, it's allways fatal. So we can gain a new design step. Jean-Pierre ---------- Initial Header ----------- From : spr...@li... To : "jürgen höller [werk3AT]" <jue...@we...> Cc : spr...@li... Date : Fri, 18 Jul 2003 09:55:43 -0400 Subject : Re: [Springframework-developer] Fw: [springframework - Open Discussion] RE: BeanFactory=>Generic Container Juergen, > I consider that an interesting idea: As an alternative to InitializingBean, > we could indeed add such an "initializing_method" attribute, specifying a > no-arg init method on the object. That would allow for initialization that > depends on multiple properties without implementing any Spring-specific > interface. What you think about this? +1 I see no disadvantages, and it would be nice to not having to depend on any Spring interfaces at all. Thomas ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer ********** L'ADSL A 20 EUR/MOIS********** Tiscali propose l'ADSL le moins cher du marché : 20 EUR/mois et le modem ADSL offert ! Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/ Offre soumise à conditions. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: =?iso-8859-1?Q?<jp....@ti...> - 2003-07-18 15:47:53
|
+1=0D=0A=0D=0AJust to see how handle the Exceptions. No Spring specific E= xception has to be waited for. The called method can have or not a throws= statement and it can always throw a RuntimeException. The factory will h= ave to catch any Exception and throwing itself a ServletException? If an = initialization method throws any kind of Exception, it's allways fatal.=0D= =0A=0D=0ASo we can gain a new design step.=0D=0A=0D=0AJean-Pierre=0D=0A--= -------- Initial Header -----------=0D=0A=0D=0AFrom : springframewor= k-d...@li...=0D=0ATo : "j=C3=BCrgen h= =C3=B6ller [werk3AT]" <jue...@we...>=0D=0ACc : sp= rin...@li...=0D=0ADate : Fri, 18 Ju= l 2003 09:55:43 -0400=0D=0ASubject : Re: [Springframework-developer] Fw: = [springframework - Open Discussion] RE: BeanFactory=3D>Generic Container=0D= =0A=0D=0AJuergen,=0D=0A=0D=0A> I consider that an interesting idea: As an= alternative to InitializingBean,=0D=0A> we could indeed add such an "ini= tializing_method" attribute, specifying a=0D=0A> no-arg init method on th= e object. That would allow for initialization that=0D=0A> depends on mult= iple properties without implementing any Spring-specific=0D=0A> interface= . What you think about this?=0D=0A=0D=0A+1=0D=0A=0D=0AI see no disadvanta= ges, and it would be nice to not having to depend on any=0D=0ASpring inte= rfaces at all.=0D=0A=0D=0AThomas=0D=0A=0D=0A=0D=0A-----------------------= --------------------------------=0D=0AThis SF.net email is sponsored by: = VM Ware=0D=0AWith VMware you can run multiple operating systems on a sing= le machine.=0D=0AWITHOUT REBOOTING! Mix Linux / Windows / Novell virtual = machines at the=0D=0Asame time. Free trial click here: http://www.vmware.= com/wl/offer/345/0=0D=0A_______________________________________________=0D= =0ASpringframework-developer mailing list=0D=0ASpringframework-developer@= lists.sourceforge.net=0D=0Ahttps://lists.sourceforge.net/lists/listinfo/s= pringframework-developer=0D=0A=0A=0A********** L'ADSL A 20 EUR/MOIS******= ****=0ATiscali propose l'ADSL le moins cher du march=E9 : 20 EUR/mois et = le modem ADSL offert ! =0APour profiter de cette offre exceptionnelle, cl= iquez ici : http://register.tiscali.fr/adsl/=0AOffre soumise =E0 conditio= ns.=0A |