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: Ivan R. <iv...@we...> - 2003-07-12 16:41:19
|
> Yes, contribution is very welcome. Please note that this is > definitely something for the 1.1 release, not 1.0. Not a problem. I am not in a hurry, i.e. I don't have a project with a deadline. I can also implement changes on a separate branch and merge them later. -- ModSecurity (http://www.modsecurity.org) [ Open source IDS for Web applications ] |
|
From: Ivan R. <iv...@we...> - 2003-07-12 16:35:26
|
> You are very welcome to join us and work on this! Rod and > me will be happy to provide you with details on the current > bean factory and application context concepts :-) That is great to hear. I've spent some time today playing with the framework to get a feel of what's possible. Here are my notes. There are many ideas/features mentioned here but not all are equally important. Personally I would start simply but adding the equivalent to start/stop/dispose methods as they will benefit the majority of those building standalone applications. Other features are nice, but not essential. ... Some background --------------- I've spent the last year or so dealing with a Java daemon application (a RADIUS server). As part of that project I've built a framework similar to what I describe below, but not as fancy. Well, I couldn't really call that a framework since there wasn't much time to design it upfront, but it works and it works well. This server consists of many components that are configured and wired at runtime from an XML-based configuration, just like the Spring framework. That was for work. After completing the project I decided to rebuild the framework from scratch for fun, so here I am. Requirements ------------ * Complete bean life cycle: parameters, initialisation, start, stop, suspend, resume, reconfigure, dispose/destroy. * Beans that want to can execute on their own thread * Singleton/shared and not-shared beans * Ability to safely reconfigure a bean that is referenced by other beans * Load/unload beans * Bean pools (check-in, check-out) * Reload bean class (in combination with bean pools this probably means that multiple bean versions will run in parallel at times) * Persist bean configuration (not serialization, properties only). Notes ----- At the moment Spring supports parameterization and initialization (with the InitializingBean interface). It would be simple to add one or more interfaces to support methods such as: start, stop, dispose/destroy (other names can be chosen to avoid clash with the Thread class). As an idea, beans implementing the Runnable interface could be launched as daemon threads. I am more against than for this idea (but you may think otherwise). I have also considered detecting a "main" method on an object and invoking it, simulating a command line. I am more against than for this idea (but you may think otherwise). We could have suspend/resume, or we can simply use start/stop for that purpose. I am not really sure. I lean toward using a single pair of methods, start and stop. Reconfiguring a bean is a bit more complicated. I was thinking about using proxies to intercept method invocations, wait until all method executions are completed, reconfigure the bean, and then resume. We would probably need to call stop/suspend before and start/resume after. The process with loading/unloading would be similar. Spring also supports singleton and not-shared beans at the moment. There is a space in between to support bean pools. I don't think that this can be supported transparently, there would have to exist a check in/checkout process. For example, a client bean would receive a reference to a bean pool and ask it for bean instances when required. When reconfiguring bean pools, there could be an option whether to only create new beans with new configuration (possibly removing all idle beans immediately) and let busy beans finish with their work, or reconfigure all bean instances. Finally, a container needs to be written which would allow access to all beans and their configuration from the outside, plus options to load/unload beans, reconfigure them, inspect them and so on. On a related note, I have also started work on a utility scripts that would allow tight integration of Java daemons with UNIX and Windows operating systems. Links ----- Some links to similar projects. I would say that they are all far more complicated than I would want. http://avalon.apache.org/framework/ http://www.picocontainer.org/ http://jakarta.apache.org/commons/sandbox/hivemind/ -- ModSecurity (http://www.modsecurity.org) [ Open source IDS for Web applications ] |
|
From: Ken K. <kk...@kk...> - 2003-07-12 16:28:19
|
Eliminating repetitive code in the jsp's is something I'd very much like
to see. Alef: thanks for your contribution, it looks like it will help.
I've been in the process lately of refactoring Petclinic's Clinic
implementation along with code tightening and documentation improvements
and am just about ready to commit the changes. I WILL commit these
changes sometime later today. A couple of jsp's have minor changes.
Alef: If you would like to make the changes to the jsp's, please go
ahead. If not, I'll do it. Please let me know if you will be doing it.
Regards,
Ken
jürgen höller [werk3AT] wrote:
>I've introduced support for EL on tag attributes yesterday, already committed. Thanks for the idea and the prototype, Alef! I hope you are satisfied with the integration. You're very welcome to try it out :-)
>
>There's a new ExpressionEvaluationsUtils class now in com.interface21.web.util, taking a String argument value and parsing it to Object, String, int, or boolean. It will just attempt EL evaluation if the value starts with "${", else it will simply parse the value with standard means.
>
>All of Spring's tags use this class now for all attributes, simply delegating to the respective ExpressionEvaluationsUtils method in each setter. This means that all attributes still accept normal String values as before (like <i21:bind path="person.name">), but also EL expressions (like <i21:bind path="${bindPath}">).
>
>For EL evaluation, ExpressionEvaluationsUtils depends on Jakarta's JSTL implementation (standard.jar). It doesn't have a runtime dependency if just parsing normal String values though, as it delegates EL evaluation to an inner class that will just get loaded in case of actual EL expressions. So you'll just need the Jakarta JSTL implementation in your classpath if you actually use EL attribute values on tags.
>
>BTW, our AopProxy uses a similar mechanism to avoid a runtime dependency on CGLIB. If just proxying interfaces, it will use standard J2SE proxies. Only if you try to proxy a class itself, it will invoke CGLIB by delegating to a respective inner class.
>
>Finally, we should adapt PetClinic to use EL expressions on its bind tags. Alef has already shown the way in the prototype that he sent. Ken, what do you think? Would you like Alef to do this?
>
>Juergen
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: jürgen höller [werk3AT]
> Gesendet: Fr 11.07.2003 08:13
> An: al...@jt...; spr...@li...
> Cc:
> Betreff: Re: [Springframework-developer] Tags using expression language??
>
>
>
> Alef,
>
> I've just browsed your code - this looks very interesting! It makes iterating such repetitive form fields like in the petclinic much easier. I'll have a look at the implementation details, and if everything works out I'll add a clean room version to the main source tree promptly.
>
> I wonder if we could make that work with any JSTL implementation, not just the Jakarta one, although I wouldn't mind a dependency on the latter for this feature.
>
> Cool stuff :-)
>
> Juergen
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Alef Arendsen [mailto:al...@jt...]
> Gesendet: Di 08.07.2003 19:43
> An: jürgen höller [werk3AT]; spr...@li...
> Cc:
> Betreff: RE: [Springframework-developer] Tags using expression language??
>
>
>
> Ok, here we go...
>
> Like you said, at first glance, it does not look like the i21:bind tag
> needs expressionalization (hmmm, nice huh ;-). However, in the petclinic
> demo app I'm seeing a lot of input.jsps in the jsp/fields directory.
> These are things I'm hoping to solve using for instance EL-based tags...
> Attached you'll find a reworked version of the ownerForm. It does not
> use the JSPs from the fields directory anymore, but uses only one
> input.jsp that uses the bindstatus object to create the input field.
>
> Ok, it's still all rough and reworking the tags is a little bit more
> work than the 15 minutes I spent on it now, but maybe you're getting the
> idea.
>
> Consequences for adding / reworking the tags:
>
> 1. dependency on jakarta-jstl-1.0.3 (jakarta.apache.org/taglib -->
> standard).
> 2. dependency on jstl-1.0.3 (java.sun.com)
> 3. In case you want to have both version in there, an extending class
> for each tag
> 4. For each tag, a BeanInfo class
> 5. I wasn't able to use the EvalHelper from jakarta, so I copied it
> (hmmm... not so nice, is it ;-)
>
> Probably I don't have time this week or something to refactor them to be
> all EL-based... Just let me know if you'd like it.
>
> Well, that's it for now, still discovering really cool features and
> already running out (brain)memory to think up everything I could do with
> Spring ;-)
>
> Cheers,
>
> Alef
>
>
> NHS^隊[){([jJ뢺kyƮ^اj+x:0Zuڕg*)jw`z֟盢0
> Z(~(W(}iT)~{
> +ׯzZ)zXX*kxuޖ^X(~zwilqzlX)ߣ))~{
> +ׯzZ)
>
>?????????????????????????????????????????ӆ+?^?隊[)?{(??[??ڭ?(~?+??鮊Y?ڦ??j?h??^??-?x?????:0?Zw?jU?l????݁?Z~??n?$?0???j???(???W???(}?i?_???????????????????????????????????*k?x?????ׯzZ)z???X??X??*k?x?????ׯzZ)z???l??.?ǟ???w???i????+-??(??~??{??b????+-?w???k?x?????ׯzZ)
>
>
>
>
|
|
From: Ken K. <kk...@kk...> - 2003-07-12 16:01:35
|
Jean-Pierre,
It's definitely best to avoid adding instance variables or
synchronization into what should be a threadsafe, reusable query object.
Won't the following do the trick ? I thought this is exactly what
MappingSqlQueryWithParameters is for. Am I missing something ?
// in SpringQuery client class
Object[] params = new Object[] {
userLocale,
// more param objects
}
springQuery.execute(params);
// etc...
public class SpringQuery extends MappingSqlQueryWithParameters {
public SpringQuery(DataSource ds) {
super(ds, "select col1, col2 from table");
compile();
}
protected Object mapRow(ResultSet rs, int rownum, Object[] params) throws SQLException {
Locale userLocale = (Locale) params[0];
if (userLocale.equals("xxx")) {
...
}
...
}
}
Regards,
Ken
jp....@ti... wrote:
>Hello Thomas,
>
>This is very close to what I made until a few days. What is wrong in this?
>
>If two users request the same and have different contexts (ie Locales), the last will change on the road the context to use for the first. For avoiding this, I used a "run" method setting the context like in your exeample and calling the "execute method. The "run" method being "synchronized".
>In this manner, it works. But I would eliminate the need of synchronizing due to performance reasons and for clarity. The context lifecycle is really tied to the execute method and setting it as an Instance variable is a workaround threadsafe only with synchronizing.
>
>As long as no consensus will be, I simply will use the three changed classes in a private package. They don't break any backward compatibility, so I will use them instead of standard ones. The problem is only that I will have to check from time to time if the original have not changed. Secondly, I guess it's not a common need but nevertheless a general one and early or later, passing so contextual information will be requested by developers.
>
>Jean-Pierre
>
>---------- Initial Header -----------
>
>>From : tri...@tr...
>To : "jp....@ti..." <jp....@ti...>
>Cc : "jp.pawlak" <jp....@ti...>, "rod.johnson" <rod...@in...>, kk <kk...@kk...>, springframework-developer <spr...@li...>
>Date : Sat, 12 Jul 2003 10:49:56 -0400
>Subject : Re: Re:[Springframework-developer] Re: [Springframework-developer] Locale in rowmap?
>
>Jean-Pierre,
>
>Could you not do this without modifying the JDBC layer? Maybe declare a
>UserContext in the custom class and set that via a bean setter.
>
>Something like:
>
>public class SpringQuery extends MappingSqlQuery {
>
> private UserContext userContext;
>
> public SpringQuery(DataSource ds) {
> super(ds, "select col1, col2 from table");
> compile();
> }
>
> protected Object mapRow(ResultSet rs, int rownum) throws SQLException {
> ....
> if (userContext.getLocale().equals("xxx"))
> ....
> ....
> }
>
> public setUserContext(UserContext uc) {
> userContext = uc;
> }
>
>}
>
>
>Thomas
>
>
>
>>What I used also in the past is letting the DAO create a 'data-layer' list
>>and after that in business layer, iterate the list to replace data-layer
>>elements by business-layer ones knowing the contextual information.
>>
>>This is certainly a better school-approach, but has clearly a performance
>>drawback.
>>
>>Letting rowmap being able to create definitive objects (indeed having a user
>>defined contextual info), seems to me, for now, a better solution.
>>
>>Jean-Pierre
>>
>>---------- Initial Header -----------
>>
>>From : spr...@li...
>>To : "rod.johnson" <rod...@in...>
>>Cc : "trisberg" <tri...@tr...>,"kk"
>><kk...@kk...>,"springframework-developer"
>><spr...@li...>
>>Date : Sat, 12 Jul 2003 12:05:19 +0200
>>Subject : [Springframework-developer] Re: [Springframework-developer] Locale
>>in rowmap?
>>
>>Hi Ken, Thomas, Rod,
>>
>>It seems be a general miscomprehension.
>>
>>1) I have no intend to put any dependency between WEB and JDBC.
>>My request is only at being able to add an optional 'Object' supplemental
>>attribute in execute method. The intend of this attribute is simply to be
>>passed on rowmap.
>>
>>2) Why cannot this object be passed simply on the current methods?
>>Just because JDBC has nothing to do with. It is only for rowmap method as
>>this method is responsible for creating (business) objects.
>>
>>3) Typical example:
>>Searching adresses.
>>
>>a)Consider the searched adresses are not localized on the database and
>>contain a country information.
>>
>>b)The database contain only the country code of the address.
>>
>>c)With this country code is read from the database, the rowmap method will
>>have to create a Country Object to put in the Address one. This Country
>>object will have a name property matching with the current user to serve and
>>has nothing to do with the JDBC record.
>>
>>For creating the correct Country Object, rowmap has to know the Locale to
>>serve. In this case the new 'Object' parameter would be filled with the User
>>Locale and casted so in rowmap. But in others cases, it could be another
>>information as the Locale.
>>
>>The main need is:
>>ROWMAP IS RESPONSIBLE FOR CREATING OBJECTS AND FOR THIS IT CAN HAVE TO KNOW
>>OTHER INFORMATION AS JUST THESE READ IN THE DATABASE.
>>
>>This other information can be just right during the 'execution' call and
>>cannot be in this case an instance variable.
>>
>>
>>Regards,
>>Jean-Pierre
>>
>>---------- Initial Header -----------
>>
>>From : "Rod Johnson" <rod...@in...>
>>To : <tri...@tr...>, "Ken Krebs" <kk...@kk...>
>>Cc : "JP Pawlak" <jp....@ti...>,
>>"'springframework-developer'"
>><spr...@li...>
>>Date : Thu, 10 Jul 2003 17:55:12 +0100
>>Subject : Re: [Springframework-developer] Locale in rowmap?
>>
>>
>>
>>>I would agree with Ken here - we must avoid any dependencies between the
>>>
>>>
>>JDBC
>>
>>
>>>framework and the Web framework.
>>>
>>>
>>+1. I know of several companies in the UK using JDBC only at this point.
>>It's a great route in for Spring.
>>
>>
>>
>>
>>********** 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 sponsored by: Parasoft
>>Error proof Web apps, automate testing & more.
>>Download & eval WebKing and get a free book.
>>www.parasoft.com/bulletproofapps1
>>_______________________________________________
>>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.
>>
>>
>>
>>
>>
>
>
>
>
>
>********** 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.
>
>
>
>
>
>
|
|
From: =?iso-8859-1?Q?<jp....@ti...> - 2003-07-12 15:16:35
|
Hello Thomas,=0D=0A=0D=0AThis is very close to what I made until a few da= ys. What is wrong in this?=0D=0A=0D=0AIf two users request the same and h= ave different contexts (ie Locales), the last will change on the road the= context to use for the first. For avoiding this, I used a "run" method s= etting the context like in your exeample and calling the "execute method.= The "run" method being "synchronized".=0D=0AIn this manner, it works. Bu= t I would eliminate the need of synchronizing due to performance reasons = and for clarity. The context lifecycle is really tied to the execute meth= od and setting it as an Instance variable is a workaround threadsafe only= with synchronizing.=0D=0A=0D=0AAs long as no consensus will be, I simply= will use the three changed classes in a private package. They don't brea= k any backward compatibility, so I will use them instead of standard ones= . The problem is only that I will have to check from time to time if the = original have not changed. Secondly, I guess it's not a common need but n= evertheless a general one and early or later, passing so contextual infor= mation will be requested by developers.=0D=0A=0D=0AJean-Pierre=0D=0A=0D=0A= ---------- Initial Header -----------=0D=0A=0D=0AFrom : trisberg@tri= db.com=0D=0ATo : "jp....@ti..." <jp....@ti...>=0D= =0ACc : "jp.pawlak" <jp....@ti...>, "rod.johnson" <rod.j= oh...@in...>, kk <kk...@kk...>, springframework-developer <sp= rin...@li...>=0D=0ADate : Sat, 12 J= ul 2003 10:49:56 -0400=0D=0ASubject : Re: Re:[Springframework-developer] = Re: [Springframework-developer] Locale in rowmap?=0D=0A=0D=0AJean-Pierre,= =0D=0A=0D=0ACould you not do this without modifying the JDBC layer? Mayb= e declare a=0D=0AUserContext in the custom class and set that via a bean = setter.=0D=0A=0D=0ASomething like:=0D=0A=0D=0Apublic class SpringQuery ex= tends MappingSqlQuery {=0D=0A=0D=0A private UserContext userContext;=0D=0A= =0D=0A public SpringQuery(DataSource ds) {=0D=0A super(ds, "select co= l1, col2 from table");=0D=0A compile(); =0D=0A }=0D=0A=0D=0A protec= ted Object mapRow(ResultSet rs, int rownum) throws SQLException {=0D=0A = ....=0D=0A if (userContext.getLocale().equals("xxx")) =0D=0A = ....=0D=0A ....=0D=0A }=0D=0A=0D=0A public setUserContext(UserContex= t uc) {=0D=0A userContext =3D uc;=0D=0A }=0D=0A=0D=0A}=0D=0A=0D=0A=0D= =0AThomas=0D=0A=0D=0A> What I used also in the past is letting the DAO cr= eate a 'data-layer' list=0D=0A> and after that in business layer, iterate= the list to replace data-layer=0D=0A> elements by business-layer ones kn= owing the contextual information.=0D=0A> =0D=0A> This is certainly a bett= er school-approach, but has clearly a performance=0D=0A> drawback.=0D=0A>= =0D=0A> Letting rowmap being able to create definitive objects (indeed h= aving a user=0D=0A> defined contextual info), seems to me, for now, a bet= ter solution.=0D=0A> =0D=0A> Jean-Pierre =0D=0A> =0D=0A> ---------- Initi= al Header -----------=0D=0A> =0D=0A> From : springframework-develope= r-...@li...=0D=0A> To : "rod.johnson" <rod.joh= ns...@in...>=0D=0A> Cc : "trisberg" <tri...@tr...= >,"kk"=0D=0A> <kk...@kk...>,"springframework-developer"=0D=0A> <springfr= ame...@li...>=0D=0A> Date : Sat, 12 Jul 2= 003 12:05:19 +0200=0D=0A> Subject : [Springframework-developer] Re: [Spri= ngframework-developer] Locale=0D=0A> in rowmap?=0D=0A> =0D=0A> Hi Ken, Th= omas, Rod,=0D=0A> =0D=0A> It seems be a general miscomprehension.=0D=0A> = =0D=0A> 1) I have no intend to put any dependency between WEB and JDBC.=0D= =0A> My request is only at being able to add an optional 'Object' supplem= ental=0D=0A> attribute in execute method. The intend of this attribute is= simply to be=0D=0A> passed on rowmap.=0D=0A> =0D=0A> 2) Why cannot this = object be passed simply on the current methods?=0D=0A> Just because JDBC = has nothing to do with. It is only for rowmap method as=0D=0A> this metho= d is responsible for creating (business) objects.=0D=0A> =0D=0A> 3) Typic= al example: =0D=0A> Searching adresses. =0D=0A> =0D=0A> a)Consider the se= arched adresses are not localized on the database and=0D=0A> contain a co= untry information.=0D=0A> =0D=0A> b)The database contain only the country= code of the address.=0D=0A> =0D=0A> c)With this country code is read fro= m the database, the rowmap method will=0D=0A> have to create a Country Ob= ject to put in the Address one. This Country=0D=0A> object will have a na= me property matching with the current user to serve and=0D=0A> has nothin= g to do with the JDBC record.=0D=0A> =0D=0A> For creating the correct Cou= ntry Object, rowmap has to know the Locale to=0D=0A> serve. In this case = the new 'Object' parameter would be filled with the User=0D=0A> Locale an= d casted so in rowmap. But in others cases, it could be another=0D=0A> in= formation as the Locale.=0D=0A> =0D=0A> The main need is:=0D=0A> ROWMAP I= S RESPONSIBLE FOR CREATING OBJECTS AND FOR THIS IT CAN HAVE TO KNOW=0D=0A= > OTHER INFORMATION AS JUST THESE READ IN THE DATABASE.=0D=0A> =0D=0A> Th= is other information can be just right during the 'execution' call and=0D= =0A> cannot be in this case an instance variable. =0D=0A> =0D=0A> =0D=0A>= Regards,=0D=0A> Jean-Pierre=0D=0A> =0D=0A> ---------- Initial Header ---= --------=0D=0A> =0D=0A> From : "Rod Johnson" <rod.johnson@interface2= 1.com>=0D=0A> To : <tri...@tr...>, "Ken Krebs" <kk@kktec.c= om>=0D=0A> Cc : "JP Pawlak" <jp....@ti...>, =0D=0A>= "'springframework-developer'"=0D=0A> <spr...@li...= urceforge.net>=0D=0A> Date : Thu, 10 Jul 2003 17:55:12 +0100=0D=0A> = Subject : Re: [Springframework-developer] Locale in rowmap?=0D=0A> =0D=0A= > > I would agree with Ken here - we must avoid any dependencies between = the=0D=0A> JDBC=0D=0A> > framework and the Web framework.=0D=0A> =0D=0A> = +1. I know of several companies in the UK using JDBC only at this point.=0D= =0A> It's a great route in for Spring.=0D=0A> =0D=0A> =0D=0A> =0D=0A> =0D= =0A> ********** L'ADSL A 20 EUR/MOIS**********=0D=0A> Tiscali propose l'A= DSL le moins cher du march=E9 : 20 EUR/mois et le modem ADSL=0D=0A> offer= t ! =0D=0A> Pour profiter de cette offre exceptionnelle, cliquez ici :=0D= =0A> http://register.tiscali.fr/adsl/=0D=0A> Offre soumise =E0 conditions= .=0D=0A> =0D=0A> =0D=0A> =0D=0A> =0D=0A> --------------------------------= -----------------------=0D=0A> This SF.Net email sponsored by: Parasoft=0D= =0A> Error proof Web apps, automate testing & more.=0D=0A> Download & eva= l WebKing and get a free book.=0D=0A> www.parasoft.com/bulletproofapps1=0D= =0A> _______________________________________________=0D=0A> Springframewo= rk-developer mailing list=0D=0A> Spr...@li...= rge.net=0D=0A> https://lists.sourceforge.net/lists/listinfo/springframewo= rk-developer=0D=0A> =0D=0A> =0D=0A> ********** L'ADSL A 20 EUR/MOIS******= ****=0D=0A> Tiscali propose l'ADSL le moins cher du march=E9 : 20 EUR/moi= s et le modem ADSL=0D=0A> offert ! =0D=0A> Pour profiter de cette offre e= xceptionnelle, cliquez ici :=0D=0A> http://register.tiscali.fr/adsl/=0D=0A= > Offre soumise =E0 conditions.=0D=0A> =0D=0A> =0D=0A> =0D=0A=0D=0A=0D=0A= =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 ! =0A= Pour profiter de cette offre exceptionnelle, cliquez ici : http://registe= r.tiscali.fr/adsl/=0AOffre soumise =E0 conditions.=0A |
|
From: <tri...@tr...> - 2003-07-12 14:50:01
|
Jean-Pierre,
Could you not do this without modifying the JDBC layer? Maybe declare a
UserContext in the custom class and set that via a bean setter.
Something like:
public class SpringQuery extends MappingSqlQuery {
private UserContext userContext;
public SpringQuery(DataSource ds) {
super(ds, "select col1, col2 from table");
compile();
}
protected Object mapRow(ResultSet rs, int rownum) throws SQLException {
....
if (userContext.getLocale().equals("xxx"))
....
....
}
public setUserContext(UserContext uc) {
userContext = uc;
}
}
Thomas
> What I used also in the past is letting the DAO create a 'data-layer' list
> and after that in business layer, iterate the list to replace data-layer
> elements by business-layer ones knowing the contextual information.
>
> This is certainly a better school-approach, but has clearly a performance
> drawback.
>
> Letting rowmap being able to create definitive objects (indeed having a user
> defined contextual info), seems to me, for now, a better solution.
>
> Jean-Pierre
>
> ---------- Initial Header -----------
>
> From : spr...@li...
> To : "rod.johnson" <rod...@in...>
> Cc : "trisberg" <tri...@tr...>,"kk"
> <kk...@kk...>,"springframework-developer"
> <spr...@li...>
> Date : Sat, 12 Jul 2003 12:05:19 +0200
> Subject : [Springframework-developer] Re: [Springframework-developer] Locale
> in rowmap?
>
> Hi Ken, Thomas, Rod,
>
> It seems be a general miscomprehension.
>
> 1) I have no intend to put any dependency between WEB and JDBC.
> My request is only at being able to add an optional 'Object' supplemental
> attribute in execute method. The intend of this attribute is simply to be
> passed on rowmap.
>
> 2) Why cannot this object be passed simply on the current methods?
> Just because JDBC has nothing to do with. It is only for rowmap method as
> this method is responsible for creating (business) objects.
>
> 3) Typical example:
> Searching adresses.
>
> a)Consider the searched adresses are not localized on the database and
> contain a country information.
>
> b)The database contain only the country code of the address.
>
> c)With this country code is read from the database, the rowmap method will
> have to create a Country Object to put in the Address one. This Country
> object will have a name property matching with the current user to serve and
> has nothing to do with the JDBC record.
>
> For creating the correct Country Object, rowmap has to know the Locale to
> serve. In this case the new 'Object' parameter would be filled with the User
> Locale and casted so in rowmap. But in others cases, it could be another
> information as the Locale.
>
> The main need is:
> ROWMAP IS RESPONSIBLE FOR CREATING OBJECTS AND FOR THIS IT CAN HAVE TO KNOW
> OTHER INFORMATION AS JUST THESE READ IN THE DATABASE.
>
> This other information can be just right during the 'execution' call and
> cannot be in this case an instance variable.
>
>
> Regards,
> Jean-Pierre
>
> ---------- Initial Header -----------
>
> From : "Rod Johnson" <rod...@in...>
> To : <tri...@tr...>, "Ken Krebs" <kk...@kk...>
> Cc : "JP Pawlak" <jp....@ti...>,
> "'springframework-developer'"
> <spr...@li...>
> Date : Thu, 10 Jul 2003 17:55:12 +0100
> Subject : Re: [Springframework-developer] Locale in rowmap?
>
> > I would agree with Ken here - we must avoid any dependencies between the
> JDBC
> > framework and the Web framework.
>
> +1. I know of several companies in the UK using JDBC only at this point.
> It's a great route in for Spring.
>
>
>
>
> ********** 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 sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
> _______________________________________________
> 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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NsYXNzDQoJICAgICAgICBm b3IgZWFjaCB0YWcNCgkgICAgICAgIDQuIEZvciBlYWNoIHRhZywgYSBCZWFuSW5mbyBjbGFzcw0K CSAgICAgICAgNS4gSSB3YXNuJ3QgYWJsZSB0byB1c2UgdGhlIEV2YWxIZWxwZXIgZnJvbSBqYWth cnRhLCBzbyBJIGNvcGllZCBpdA0KCSAgICAgICAgKGhtbW0uLi4gbm90IHNvIG5pY2UsIGlzIGl0 IDstKQ0KCSAgICAgICANCgkgICAgICAgIFByb2JhYmx5IEkgZG9uJ3QgaGF2ZSB0aW1lIHRoaXMg d2VlayBvciBzb21ldGhpbmcgdG8gcmVmYWN0b3IgdGhlbSB0byBiZQ0KCSAgICAgICAgYWxsIEVM LWJhc2VkLi4uIEp1c3QgbGV0IG1lIGtub3cgaWYgeW91J2QgbGlrZSBpdC4NCgkgICAgICAgDQoJ ICAgICAgICBXZWxsLCB0aGF0J3MgaXQgZm9yIG5vdywgc3RpbGwgZGlzY292ZXJpbmcgcmVhbGx5 IGNvb2wgZmVhdHVyZXMgYW5kDQoJICAgICAgICBhbHJlYWR5IHJ1bm5pbmcgb3V0IChicmFpbilt ZW1vcnkgdG8gdGhpbmsgdXAgZXZlcnl0aGluZyBJIGNvdWxkIGRvIHdpdGgNCgkgICAgICAgIFNw cmluZyA7LSkNCgkgICAgICAgDQoJICAgICAgICBDaGVlcnMsDQoJICAgICAgIA0KCSAgICAgICAg QWxlZg0KCSAgICAgICANCgkNCglOGEhTXumailspeyhbah9K66K6a3nGrl7Yp2oreDowWhp12pVn Kilqd2B61p/nm6IwDQoJWih+KFcofWlUKX57DQoJK9evelopelhYKmt4H8KKdd6WXlgoHn56d2ls cQd6bFgp36MpKX57DQoJK9evelopIA0KDQo= |
|
From: =?iso-8859-1?Q?<jp....@ti...> - 2003-07-12 12:28:11
|
What I used also in the past is letting the DAO create a 'data-layer' lis= t and after that in business layer, iterate the list to replace data-laye= r elements by business-layer ones knowing the contextual information.=0D=0A= =0D=0AThis is certainly a better school-approach, but has clearly a perfo= rmance drawback.=0D=0A=0D=0ALetting rowmap being able to create definitiv= e objects (indeed having a user defined contextual info), seems to me, fo= r now, a better solution.=0D=0A=0D=0AJean-Pierre =0D=0A=0D=0A---------- I= nitial Header -----------=0D=0A=0D=0AFrom : springframework-develope= r-...@li...=0D=0ATo : "rod.johnson" <rod.johns= on...@in...>=0D=0ACc : "trisberg" <tri...@tr...>,"k= k" <kk...@kk...>,"springframework-developer" <springframework-developer@= lists.sourceforge.net>=0D=0ADate : Sat, 12 Jul 2003 12:05:19 +0200=0D= =0ASubject : [Springframework-developer] Re: [Springframework-developer] = Locale in rowmap?=0D=0A=0D=0AHi Ken, Thomas, Rod,=0D=0A=0D=0AIt seems be = a general miscomprehension.=0D=0A=0D=0A1) I have no intend to put any dep= endency between WEB and JDBC.=0D=0AMy request is only at being able to ad= d an optional 'Object' supplemental attribute in execute method. The inte= nd of this attribute is simply to be passed on rowmap.=0D=0A=0D=0A2) Why = cannot this object be passed simply on the current methods?=0D=0AJust bec= ause JDBC has nothing to do with. It is only for rowmap method as this me= thod is responsible for creating (business) objects.=0D=0A=0D=0A3) Typica= l example: =0D=0ASearching adresses. =0D=0A=0D=0Aa)Consider the searched = adresses are not localized on the database and contain a country informat= ion.=0D=0A=0D=0Ab)The database contain only the country code of the addre= ss.=0D=0A=0D=0Ac)With this country code is read from the database, the ro= wmap method will have to create a Country Object to put in the Address on= e. This Country object will have a name property matching with the curren= t user to serve and has nothing to do with the JDBC record.=0D=0A=0D=0AFo= r creating the correct Country Object, rowmap has to know the Locale to s= erve. In this case the new 'Object' parameter would be filled with the Us= er Locale and casted so in rowmap. But in others cases, it could be anoth= er information as the Locale.=0D=0A=0D=0AThe main need is:=0D=0AROWMAP IS= RESPONSIBLE FOR CREATING OBJECTS AND FOR THIS IT CAN HAVE TO KNOW OTHER = INFORMATION AS JUST THESE READ IN THE DATABASE.=0D=0A=0D=0AThis other inf= ormation can be just right during the 'execution' call and cannot be in t= his case an instance variable. =0D=0A=0D=0A=0D=0ARegards,=0D=0AJean-Pierr= e=0D=0A=0D=0A---------- Initial Header -----------=0D=0A=0D=0AFrom := "Rod Johnson" <rod...@in...>=0D=0ATo : <trisberg= @tridb.com>, "Ken Krebs" <kk...@kk...>=0D=0ACc : "JP Pawlak" <j= p.p...@ti...>, "'springframework-developer'" <springframewor= k-d...@li...>=0D=0ADate : Thu, 10 Jul 2003 17:5= 5:12 +0100=0D=0ASubject : Re: [Springframework-developer] Locale in rowma= p?=0D=0A=0D=0A> I would agree with Ken here - we must avoid any dependenc= ies between the=0D=0AJDBC=0D=0A> framework and the Web framework.=0D=0A=0D= =0A+1. I know of several companies in the UK using JDBC only at this poin= t.=0D=0AIt's a great route in for Spring.=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A**= ******** L'ADSL A 20 EUR/MOIS**********=0D=0ATiscali propose l'ADSL le mo= ins cher du march=E9 : 20 EUR/mois et le modem ADSL offert ! =0D=0APour p= rofiter de cette offre exceptionnelle, cliquez ici : http://register.tisc= ali.fr/adsl/=0D=0AOffre soumise =E0 conditions.=0D=0A=0D=0A=0D=0A=0D=0A=0D= =0A-------------------------------------------------------=0D=0AThis SF.N= et email sponsored by: Parasoft=0D=0AError proof Web apps, automate testi= ng & more.=0D=0ADownload & eval WebKing and get a free book.=0D=0Awww.par= asoft.com/bulletproofapps1=0D=0A_________________________________________= ______=0D=0ASpringframework-developer mailing list=0D=0ASpringframework-d= eve...@li...=0D=0Ahttps://lists.sourceforge.net/lists/l= istinfo/springframework-developer=0D=0A=0A=0A********** L'ADSL A 20 EUR/M= OIS**********=0ATiscali propose l'ADSL le moins cher du march=E9 : 20 EUR= /mois et le modem ADSL offert ! =0APour profiter de cette offre exception= nelle, cliquez ici : http://register.tiscali.fr/adsl/=0AOffre soumise =E0= conditions.=0A |
|
From: =?iso-8859-1?Q?<jp....@ti...> - 2003-07-12 10:05:38
|
Hi Ken, Thomas, Rod,=0D=0A=0D=0AIt seems be a general miscomprehension.=0D= =0A=0D=0A1) I have no intend to put any dependency between WEB and JDBC.=0D= =0AMy request is only at being able to add an optional 'Object' supplemen= tal attribute in execute method. The intend of this attribute is simply t= o be passed on rowmap.=0D=0A=0D=0A2) Why cannot this object be passed sim= ply on the current methods?=0D=0AJust because JDBC has nothing to do with= . It is only for rowmap method as this method is responsible for creating= (business) objects.=0D=0A=0D=0A3) Typical example: =0D=0ASearching adres= ses. =0D=0A=0D=0Aa)Consider the searched adresses are not localized on th= e database and contain a country information.=0D=0A=0D=0Ab)The database c= ontain only the country code of the address.=0D=0A=0D=0Ac)With this count= ry code is read from the database, the rowmap method will have to create = a Country Object to put in the Address one. This Country object will have= a name property matching with the current user to serve and has nothing = to do with the JDBC record.=0D=0A=0D=0AFor creating the correct Country O= bject, rowmap has to know the Locale to serve. In this case the new 'Obje= ct' parameter would be filled with the User Locale and casted so in rowma= p. But in others cases, it could be another information as the Locale.=0D= =0A=0D=0AThe main need is:=0D=0AROWMAP IS RESPONSIBLE FOR CREATING OBJECT= S AND FOR THIS IT CAN HAVE TO KNOW OTHER INFORMATION AS JUST THESE READ I= N THE DATABASE.=0D=0A=0D=0AThis other information can be just right durin= g the 'execution' call and cannot be in this case an instance variable. =0D= =0A=0D=0A=0D=0ARegards,=0D=0AJean-Pierre=0D=0A=0D=0A---------- Initial He= ader -----------=0D=0A=0D=0AFrom : "Rod Johnson" <rod.johnson@interf= ace21.com>=0D=0ATo : <tri...@tr...>, "Ken Krebs" <kk@kktec= .com>=0D=0ACc : "JP Pawlak" <jp....@ti...>, "'spri= ngframework-developer'" <spr...@li...>= =0D=0ADate : Thu, 10 Jul 2003 17:55:12 +0100=0D=0ASubject : Re: [Spr= ingframework-developer] Locale in rowmap?=0D=0A=0D=0A> I would agree with= Ken here - we must avoid any dependencies between the=0D=0AJDBC=0D=0A> f= ramework and the Web framework.=0D=0A=0D=0A+1. I know of several companie= s in the UK using JDBC only at this point.=0D=0AIt's a great route in for= Spring.=0D=0A=0D=0A=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 m= odem ADSL offert ! =0APour profiter de cette offre exceptionnelle, clique= z ici : http://register.tiscali.fr/adsl/=0AOffre soumise =E0 conditions.=0A= |
|
From: <jue...@we...> - 2003-07-11 18:36:48
|
QW4gdXBkYXRlIG9uIEhpYmVybmF0ZSBjb25maWd1cmF0aW9uOg0KDQpBZnRlciBhIHJlY2VudCBk aXNjdXNzaW9uIHdpdGggR2F2aW4gS2luZyBmcm9tIEhpYmVybmF0ZSwgSSd2ZSBqdXN0IGNoYW5n ZWQgdGhlIGFwcHJvYWNoIGZvciBEYXRhU291cmNlIGluaXRpYWxpemF0aW9uOiBJZiBhIERhdGFT b3VyY2UgaXMgc3BlY2lmaWVkIGZvciBIaWJlcm5hdGVUcmFuc2FjdGlvbk1hbmFnZXIsIGl0IHdp bGwgc2ltcGx5IGV4cG9ydCBhbiBhY3RpdmUgSGliZXJuYXRlIHRyYW5zYWN0aW9uIGFzIGEgSkRC QyBDb25uZWN0aW9uIGZvciB0aGlzIERhdGFTb3VyY2UsIG5vdCB1c2UgdGhlIERhdGFTb3VyY2Ug Zm9yIHRoZSBIaWJlcm5hdGUgU2Vzc2lvbi4gU3VwcGx5aW5nIGEgU3ByaW5nLWNvbmZpZ3VyZWQg RGF0YVNvdXJjZSB0byBIaWJlcm5hdGUgbm93IHdvcmtzIHZpYSBMb2NhbFNlc3Npb25GYWN0b3J5 QmVhbiwgdXNpbmcgYSBzcGVjaWFsIGltcGxlbWVudGF0aW9uIG9mIGEgSGliZXJuYXRlIENvbm5l Y3Rpb25Qcm92aWRlciB1bmRlciB0aGUgaG9vZC4NCg0KRm9yIHRoZSB0eXBpY2FsIGNhc2Ugd2hl cmUgYSAiaGliZXJuYXRlLmNmZy54bWwiIGZpbGUgaXMgbG9hZGVkLCBhIExvY2FsU2Vzc2lvbkZh Y3RvcnlCZWFuIGRlZmluaXRpb24gY2FuIG5vd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XN0IiAod2l0aCBOYW1lQ2xhc3NQYWlycykgYW5k ICJsaXN0QmluZGluZ3MiICh3aXRoIEJpbmRpbmdzKS4NCiANCiANCkp1ZXJnZW4NCk4YSFNe6ZqK Wyl7KFtaem7opbQENETXrHcl2Kc2aRdsESZ4K2xqd0VqenowDidayal6e14wdlwTYkrbnUROG23a st61YnJLJg0KP8a0XTRO3YpaOm03XypreB/FoHXell5mKSstSgdqZx16Ky0ux58eYWxiLHkr3rdi Pystd2t4H8Wgdd6WXg0K |
|
From: <pr...@se...> - 2003-07-11 17:52:04
|
>> I would agree with Ken here - we must avoid any dependencies >> between the JDBC framework and the Web framework. +1 We use it for both webapp and desktop clients Trevor D. Cook |
|
From: William G. T. Jr. <wg...@ru...> - 2003-07-11 17:31:23
|
Rod Johnson wrote: >>I would agree with Ken here - we must avoid any dependencies between the > > JDBC > >>framework and the Web framework. > > > +1. I know of several companies in the UK using JDBC only at this point. > It's a great route in for Spring. +1. To keep JDBC framework seperate. Rutgers is using the JDBC framework in conjuntion with our uPortal project. Bill |
|
From: <pr...@se...> - 2003-07-11 16:13:51
|
I think this is a great idea but what is the criteria for who can go on the page (what "qualifies" them as a "spring company"). This could be either developers who use Spring or websites that feature Spring. It also should specify whether they get added if they are currently using Spring in development, or if they have a released project/website utilizing Spring (in some stage - alpha, beta - charlie :) - production). I think that since Spring is much more than a webapp we should include everyone who uses Spring, but because Spring will probably get the majority of press (at least initially) as a competing web framework (compared to Struts or WebWorks for example) that we should highlight websites powered by Spring. I would personally suggest 2 sections for the page. First a "Used by" section for develeopers/companies using Spring in their products (whether webapp, client apps, etc.). This would mainly contain software/consulting companies and large companies (insurance/banks/universities) who use it in-house. I would then create a second section called "Powered by" for websites based on Spring. The two labels (used/powered) can be changed to whatever everyone thinks, but I'm just presenting the concept. While some companies may be listed in both sections, I think the benefit is that we highlight the power of Spring as a general framework AND as a web framework. I would also vote that they should have at least a beta product or deployed website, otherwise we'll get everyone and their brother on the list. We'll have to trust "internal" companies which don't release products publically, but these are simply guidelines people will read when asking (or being solicited) to be on the list (not a gestapo-like attack squad to hunt down the "unworthy" :) ). The second issue is what info we should include. We could have name, logo, location (at various levels from country to actual address), website, company blurb (who they are - although these could get long and annoying), spring blurb (why/how they use it), industry, and probably others I'm not thinking of. My vote would be for: Company Name, hyperlinked logo to website (if no logo use text), country, and industry (although I would recommend we create a fairly general industry with things like "software" and "education" or it will get way too specific like "Distributed CRM Software Consulting"). Anyway, that's my 2 cents. Also, I have permission from my boss and the current/future companies to place them on this list. Once we formalize the list criteria and info we want I'll fire it off. We should also specify where to send this info for the list (do we post it to sourceforge or is there a specific email address this stuff should go to). Other ideas/comments? Trevor D. Cook -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Rod Johnson Sent: July 10, 2003 1:10 PM To: spr...@li... Subject: [Springframework-developer] Who's using Spring That thought about JDBC usage reminds me: it would be great if we could have a list, or logos, of companies and organizations using Spring. Can we build a list and check permission as necessary? Some starting thoughts... Rutgers University Werk3AT clients? fotosource I can check with a couple of companies in the UK as to whether they'd be happy to be listed. Regards, Rod |
|
From: Kopylenko, D. <dko...@ac...> - 2003-07-11 15:37:36
|
http://www.rutgers.edu/ By the end of the month, if anything goes smoothly, we should have the "Graduate Admission System" (GAS) - online application, phase1, release using Spring. I'll send a link when we deploy it to production. Regards, Dmitriy. -----Original Message----- From: Alef Arendsen [mailto:al...@jt...] Sent: Friday, July 11, 2003 11:32 AM To: spr...@li... Subject: RE: [Springframework-developer] Who's using Spring Well, you can list us if you want (JTeam B.V. Netherlands - www.jteam.nl) Within a couple of weeks, we'll have our first operational website using Spring, I'll send you the address when it's finished. Alef -----Oorspronkelijk bericht----- Van: spr...@li... [mailto:spr...@li...] Namens Rod Johnson Verzonden: Thursday, July 10, 2003 7:10 PM Aan: spr...@li... Onderwerp: [Springframework-developer] Who's using Spring That thought about JDBC usage reminds me: it would be great if we could have a list, or logos, of companies and organizations using Spring. Can we build a list and check permission as necessary? Some starting thoughts... Rutgers University Werk3AT clients? fotosource I can check with a couple of companies in the UK as to whether they'd be happy to be listed. Regards, Rod ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Alef A. <al...@jt...> - 2003-07-11 15:29:47
|
Well, you can list us if you want (JTeam B.V. Netherlands - www.jteam.nl) Within a couple of weeks, we'll have our first operational website using Spring, I'll send you the address when it's finished. Alef -----Oorspronkelijk bericht----- Van: spr...@li... [mailto:spr...@li...] Namens Rod Johnson Verzonden: Thursday, July 10, 2003 7:10 PM Aan: spr...@li... Onderwerp: [Springframework-developer] Who's using Spring That thought about JDBC usage reminds me: it would be great if we could have a list, or logos, of companies and organizations using Spring. Can we build a list and check permission as necessary? Some starting thoughts... Rutgers University Werk3AT clients? fotosource I can check with a couple of companies in the UK as to whether they'd be happy to be listed. Regards, Rod ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <jue...@we...> - 2003-07-11 15:22:50
|
UC5TLjogSSd2ZSBvYnZpb3VzbHkgcmVuYW1lZCBvdXIgYmVhbnMgIkxpZmVjeWNsZSIgdG8gIkJl YW5GYWN0b3J5QXdhcmUiIChhbHJlYWR5IGNvbW1pdHRlZCksIGJlY2F1c2UgdGhhdCdzIHdoYXQg aXQgcmVhbGx5IGlzIGF0IHRoZSBtb21lbnQsIGp1c3QgbGlrZSBBcHBsaWNhdGlvbkN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cmVsZWFzZSwgbm90IDEuMC4gQXMgSnVl cmdlbiANCm5vdGVkLCBzbyBmYXIgd2UgaGF2ZW4ndCBoYWQgbXVjaCBuZWVkIGZvciBhIHN0b3Ao KSBjb25jZXB0LiANClBlcmhhcHMgaXQgd291bGQgYmUgYSBnb29kIHN0YXJ0IHRvIGZvcm11bGF0 ZSB5b3VyIA0KcmVxdWlyZW1lbnRzLCBhbmQgd2hhdCBlbmhhbmNlbWVudHMgdGhlIFNwcmluZyBs aWZlY3ljbGUgDQptaWdodCBuZWVkIHRvIHN1cHBvcnQgdG8gYWRkcmVzcyB0aGVtLg0KDQpSZWdh cmRzLA0KUm9kDQo= |
|
From: <rod...@in...> - 2003-07-11 15:17:28
|
>Introducing a service lifecycle interface (with start/stop callbacks) and reconfiguration capabilities should be straightforward. You are very welcome to join us and work on this! Yes, contribution is very welcome. Please note that this is definitely something for the 1.1 release, not 1.0. As Juergen noted, so far we haven't had much need for a stop() concept. Perhaps it would be a good start to formulate your requirements, and what enhancements the Spring lifecycle might need to support to address them. Regards, Rod |
|
From: <jue...@we...> - 2003-07-11 14:36:15
|
Hi Ivan, Component lifecycles have already been discussed at some time, but the = current support is rather minimal as there hasn't been much need for = more sophisticated one yet. Currently, we offer 3 kinds of initialization callbacks: - "InitializingBean": just an "afterPropertiesSet()" callback after = populating the bean properties;=20 - "BeanFactoryAware": a "setBeanFactory(BeanFactory)" callback to supply = the containing factory to the bean instance; - "ApplicationContextAware": a = "setApplicationContext(ApplicationContext)" callback to supply the = containing context to the bean instance. The latter is only available within a Spring application context, = offering not just bean factory capabilities but also pluggable message = sources, resource retrieval (adapted per environment, e.g. file / = classpath / web context), etc. There's also a convenient = "ApplicationObjectSupport" base class that implements it, providing an = "initApplicationContext()" callback. InitializingBean is often used for simple initialization that depends on = multiple bean properties, without making the bean aware of anything = else. BeanFactoryAware is rarely necessary, as most bean references can = be supplied via respective bean properties anyway. = ApplicationContextAware provides the bean with full capabilities of a = Spring application context, e.g. for retrieving custom config files. Introducing a service lifecycle interface (with start/stop callbacks) = and reconfiguration capabilities should be straightforward. You are very = welcome to join us and work on this! Rod and me will be happy to provide = you with details on the current bean factory and application context = concepts :-) Regards, Juergen -----Original Message----- From: Ivan Ristic [mailto:iv...@we...] Sent: Friday, July 11, 2003 2:01 PM To: spr...@li... Subject: [Springframework-developer] JavaBeans lifecycle considerations? I read the container documentation at=20 http://www.springframework.org/docs/lightweight_container.html with great interest. I really like the "natural" JavaBeans approach. Are there any mechanisms in the container framework to handle component lifecycle? Such as start (possibly to run on its own thread), stop, dispose? There is one sentence in the document where you talk how Spring will support reconfiguration in the future. Are there any concrete plans for this or are other developers (such as myself 0:) invited to join and suggest ideas? I have some ideas and I would rather implement them as part of an existing framework than create yet-another-framework that no one except me will use. --=20 ModSecurity (http://www.modsecurity.org) [ Open source IDS for Web applications ] ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Ivan R. <iv...@we...> - 2003-07-11 12:01:42
|
I read the container documentation at http://www.springframework.org/docs/lightweight_container.html with great interest. I really like the "natural" JavaBeans approach. Are there any mechanisms in the container framework to handle component lifecycle? Such as start (possibly to run on its own thread), stop, dispose? There is one sentence in the document where you talk how Spring will support reconfiguration in the future. Are there any concrete plans for this or are other developers (such as myself 0:) invited to join and suggest ideas? I have some ideas and I would rather implement them as part of an existing framework than create yet-another-framework that no one except me will use. -- ModSecurity (http://www.modsecurity.org) [ Open source IDS for Web applications ] |
|
From: <rod...@in...> - 2003-07-11 10:40:16
|
Guys, I've just got the TSS mailshot (as I guess you all have as well). There's a link to the Spring release in it. I know from experience, this is going to keep our page views up for at least a week or two, beyond the users who've already seen the thread. Regards, Rod |
|
From: Alef A. <al...@jt...> - 2003-07-11 09:57:42
|
<quote>BTW, how exactly does your TilesView work? As far as I know, Tiles can be largely used as tag library, without the need for dedicated integration. The most interesting usage for integration is probably with content definitions - a la http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html Solution 6, but with Spring instead of Struts. Do you intend to offer a solution for this, basically a Spring View that renders such content definitions that consist of Tiles components?</quote> Exactly! That's what it already does. I've made the TilesViewResolver to be configurable from the xxx-servlet.xml (see code below). It searches for the factory and stuff. The TilesView basically is the same as the integration in Struts, where you can 'forward' to a definition using the ActionForward. It's kind of simple. The only thing that needs to be tested a little bit is the Tiles Controller concept (where you can attach a controller to each tile, that retrieve data for this specific tile). I hardly ever use this, but well, other people might. <quote>Regarding code structure, I'm not entirely sure why you need a TilesViewResolver - what resolution functionality does it add? Wouldn't TilesView instances, each defining a content page as arranged Tiles components, work too when they get configured via ResourceBundleViewResolver or XmlViewResolver?</quote> Hmm, you might be right here... I'll have a look into that... Anyway, I've attached the files like they are right now... Just FYI. Don't mind the packagenames and stuff, documentation still needs to be done... Any suggestions? Always welcome... <quote>I'm looking forward to your code! Thanks for your efforts!</quote> No problem, It's a cool framework, worth of adding features in order to make it fit my (and other's) needs more... ---- xxx-servlet.xml ---- <bean id="viewResolver" class="jteam.jbosssupport.web.util.TilesViewResolver"> <property name="factoryClass"> <value>org.apache.struts.tiles.xmlDefinition.I18nFactorySet</value> </property> <property name="definitions"> <props> <!-- this is a little weird, definitionfiles mapped to descriptions --> <prop key="/WEB-INF/defs/general.xml">The General resources</prop> <prop key="/WEB-INF/defs/widgets.xml">Some often used widgets</prop> <prop key="/WEB-INF/defs/administrator.xml">Some often used widgets</prop> <prop key="/WEB-INF/defs/customer.xml">Customer definitions</prop> <prop key="/WEB-INF/defs/templates.xml">Often used templates</prop> </props> </property> </bean> |
|
From: <jue...@we...> - 2003-07-11 06:15:16
|
QWxlZiwNCiANCkkndmUganVzdCBicm93c2VkIHlvdXIgY29kZSAtIHRoaXMgbG9va3MgdmVyeSBp bnRlcmVzdGluZyEgSXQgbWFrZXMgaXRlcmF0aW5nIHN1Y2gg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ZXIgbWFpbGluZyBsaXN0DQoJU3ByaW5nZnJhbWV3b3JrLWRldmVsb3BlckBsaXN0cy5zb3VyY2Vm b3JnZS5uZXQNCglodHRwczovL2xpc3RzLnNvdXJjZWZvcmdlLm5ldC9saXN0cy9saXN0aW5mby9z cHJpbmdmcmFtZXdvcmstZGV2ZWxvcGVyDQoJDQoNCg== |
|
From: Rod J. <rod...@in...> - 2003-07-10 22:01:18
|
That thought about JDBC usage reminds me: it would be great if we could have a list, or logos, of companies and organizations using Spring. Can we build a list and check permission as necessary? Some starting thoughts... Rutgers University Werk3AT clients? fotosource I can check with a couple of companies in the UK as to whether they'd be happy to be listed. Regards, Rod |
|
From: Alef A. <al...@jt...> - 2003-07-10 21:36:26
|
>Yes, this sounds interesting. Because it's so easy to implement views with Spring we probably need to think about how to organize things. Or maybe just in the main source tree and wear the dependencies? I would keep them separate (I even don't like it that I had to get into the Struts sourcecode to find out things, when half a year ago, Tiles just used to be separate package, that delivered its own plugin for Struts). If there's Velocity resolver later on and a WebMacro resolver and things like that, you'll end up with tens of megabytes of jars... Also, when there's a standard structure for 'addons', it's easier to document them I think, and people can just pick what they like... Well, whatever, let's just first finish it ;-). I've been testing all over with the TilesResolver thingy, and it's working quite well. I want to test it a little more to see if every feature Tiles has works and then - after some more readable documentation - I'll send it... Cheers, Alef |