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: March, A. <am...@so...> - 2004-09-17 00:09:10
|
Your points are well taken and my example of hibernate is a bit =
different situation than spring is in. Caching is an integral part of =
hibernate that they have thankfully made pluggable. =20
Spring IoC is more like a service provider with really good glue. I can =
think of plenty of examples where I would like access to the "native" =
API of a particular service and not have to be hindered by an overly =
simplistic abstract API.
Obviously I was more interested in getting feedback on OSCache than =
thinking about the issue ;)
> -----Original Message-----
> From: spr...@li...
> [mailto:spr...@li...] On =
Behalf
> Of Ben Alex
> Sent: Thursday, September 16, 2004 2:52 PM
> To: spr...@li...
> Subject: Re: [Springframework-developer] oscache
>=20
> j=FCrgen h=F6ller [werk3AT] wrote:
>=20
> >>As far as a pluggable cache system goes, I think hibernate's model =
works
> >>
> >>
> >fairly well and I would like to see something like that in Spring.
> >
> >The difference is that Spring does not currently have a use case for =
such
> a cache abstraction itself. This is a bit similar to our current =
support
> for scheduling and also O/R mapping: I prefer to not go for a complete
> abstraction here but rather for convenient means to work with the
> respective *native* API of existing cache products.
> >
> >So IMO, an EhCacheFactoryBean like Dmitriy proposes is certainly a =
useful
> addition, exposing EhCache's native Cache object for bean references. =
I
> just don't think that trying to abstract that cache API is the right =
way
> to go for Spring: There are potentially too many subtle features and
> semantic details involved. Let's rather expose the full power of the
> respective native API.
> >
> >
> >
> >
> Having three cache interfaces and corresponding EH-CACHE =
implementations
> in Acegi Security puts me in a bit of a position to comment about =
this.
> I fully agree with Juergen - the subtle variations between caches =
exist
> and it's of questionable value trying to come up with a
> one-size-fits-all interface. In Acegi Security we expose a simple
> project-specific interface, such as:
>=20
> public interface UserCache {
> public UserDetails getUserFromCache(String username);
> public void putUserInCache(UserDetails user);
> public void removeUserFromCache(String username);
> }
>=20
> If people really need cache pluggability within their own projects, =
they
> can expose project-specific interfaces to the cache (as above) and =
then
> write a simple implementation that just does casting and passes =
through
> to the cache engine.
>=20
> In relation to Spring loading and configuring the cache engines, there
> is a lot of value in this. We've had two issues emerge with EH-CACHE
> loading after web context refreshes, and then null pointer exceptions
> with the fix. Thus it would be better if we could interface with a =
cache
> engine Spring worries about managing, and users already know how to
> configure. Due to widespread use, such bugs are likely to be ironed =
out
> quickly, and projects such as Acegi Security can provide more
> implementations of their own project-specific cache interfaces, given
> Spring takes care of the engine-specific mechanics.
>=20
> Best regards
> Ben
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement =
on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Dmitriy K. <dko...@ru...> - 2004-09-16 23:11:48
|
I have a EhCacheFactoryBean implementation ready locally, so I could
commit that tomorrow if there are no objections.
Regards,
Dmitriy.
Ben Alex wrote:
> jürgen höller [werk3AT] wrote:
>
>>> As far as a pluggable cache system goes, I think hibernate's model
>>> works
>>>
>>
>> fairly well and I would like to see something like that in Spring.
>>
>> The difference is that Spring does not currently have a use case for
>> such a cache abstraction itself. This is a bit similar to our current
>> support for scheduling and also O/R mapping: I prefer to not go for a
>> complete abstraction here but rather for convenient means to work
>> with the respective *native* API of existing cache products.
>>
>> So IMO, an EhCacheFactoryBean like Dmitriy proposes is certainly a
>> useful addition, exposing EhCache's native Cache object for bean
>> references. I just don't think that trying to abstract that cache API
>> is the right way to go for Spring: There are potentially too many
>> subtle features and semantic details involved. Let's rather expose
>> the full power of the respective native API.
>>
>>
>>
>>
> Having three cache interfaces and corresponding EH-CACHE
> implementations in Acegi Security puts me in a bit of a position to
> comment about this. I fully agree with Juergen - the subtle variations
> between caches exist and it's of questionable value trying to come up
> with a one-size-fits-all interface. In Acegi Security we expose a
> simple project-specific interface, such as:
>
> public interface UserCache {
> public UserDetails getUserFromCache(String username);
> public void putUserInCache(UserDetails user);
> public void removeUserFromCache(String username);
> }
>
> If people really need cache pluggability within their own projects,
> they can expose project-specific interfaces to the cache (as above)
> and then write a simple implementation that just does casting and
> passes through to the cache engine.
>
> In relation to Spring loading and configuring the cache engines, there
> is a lot of value in this. We've had two issues emerge with EH-CACHE
> loading after web context refreshes, and then null pointer exceptions
> with the fix. Thus it would be better if we could interface with a
> cache engine Spring worries about managing, and users already know how
> to configure. Due to widespread use, such bugs are likely to be ironed
> out quickly, and projects such as Acegi Security can provide more
> implementations of their own project-specific cache interfaces, given
> Spring takes care of the engine-specific mechanics.
>
> Best regards
> Ben
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: <al...@jt...> - 2004-09-16 22:31:27
|
<html><head>
<style>
.white { color:#FFFFFF }.index { background-color:#FFFFFF }.index-passed { =
color:#004400 }.index-failed { color:#FF0000; font-weight:bold }.index-head=
er { font-weight:bold }.link { font-family:arial,helvetica,sans-serif; font=
-size:10pt; color:#FFFFFF; text-decoration:none; }.tab-table { margin: 0em =
0em 0.5em 0em; }.tabs { font-family:arial,helvetica,sans-serif; font-size:8=
pt; color:#000000; font-weight:bold; padding: 0em 2em; background-color:#EE=
EEEE; }.tabs-link { color:#000000; text-decoration:none; }.tabs-link:visite=
d { color:#000000; text-decoration:none; }.tabs-selected { font-family:aria=
l,helvetica,sans-serif; font-size:8pt; color:#000000; font-weight:bold; pad=
ding: 0em 2em; }.tabs-selected { border: inset; }.header-title { font-famil=
y:arial,helvetica,sans-serif; font-size:12pt; color:#000000; font-weight:bo=
ld; }.header-label { font-weight:bold; }.header-data { font-family:arial,he=
lvetica,sans-serif; font-size:10pt; color:#000000; }.modifications-data { f=
ont-family:arial,helvetica,sans-serif; font-size:8pt; color:#000000; }.modi=
fications-sectionheader { background-color:#000066; font-family:arial,helve=
tica,sans-serif; font-size:10pt; color:#FFFFFF; }.modifications-oddrow { ba=
ckground-color:#CCCCCC }.modifications-evenrow { background-color:#FFFFCC }=
.changelists-oddrow { background-color:#CCCCCC }.changelists-evenrow { back=
ground-color:#FFFFCC }.changelists-file-spacer { background-color:#FFFFFF }=
.changelists-file-evenrow { background-color:#EEEEEE }.changelists-file-odd=
row { background-color:#FFFFEE }.changelists-file-header { background-color=
:#666666; font-family:arial,helvetica,sans-serif; font-size:8pt; color:#FFF=
FFF; }.compile-data { font-family:arial,helvetica,sans-serif; font-size:8pt=
; color:#000000; }.compile-error-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#FF0000; }.compile-warn-data { font-family:arial,=
helvetica,sans-serif; font-size:8pt; color:#CC9900; }.compile-sectionheader=
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-s=
ize:10pt; color:#FFFFFF; }.distributables-data { font-family:arial,helvetic=
a,sans-serif; font-size:8pt; color:#000000; }.distributables-sectionheader =
{ background-color:#000066; font-family:arial,helvetica,sans-serif; font-si=
ze:10pt; color:#FFFFFF; }.distributables-oddrow { background-color:#CCCCCC =
}.unittests-sectionheader { background-color:#000066; font-family:arial,hel=
vetica,sans-serif; font-size:10pt; color:#FFFFFF; }.unittests-oddrow { back=
ground-color:#CCCCCC }.unittests-data { font-family:arial,helvetica,sans-se=
rif; font-size:8pt; color:#000000; }.unittests-error { font-family:arial,he=
lvetica,sans-serif; font-size:8pt; color:#FF0000; }.checkstyle-oddrow { bac=
kground-color:#CCCCCC }.checkstyle-data { font-family:arial,helvetica,sans-=
serif; font-size:8pt; color:#000000; }.checkstyle-sectionheader { backgroun=
d-color:#000066; font-family:arial,helvetica,sans-serif; font-size:10pt; co=
lor:#FFFFFF; }
</style>
</head><body>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"header-title">BUILD COMPLETE - =
build.101</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>09/17/2004 00:16:45</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 23 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>09/16/2004 09:24:05</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>allow to throw HibernateException on "equals" and "deepCop=
y"</td></tr></table><p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"/><p>
<p>
<table xmlns=3D"http://www.w3.org/TR/html4/strict.dtd" width=3D"98%" border=
=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"center"><tr><td class=
=3D"compile-sectionheader"> Errors/Warnings: (=
6) </td></tr><tr><td><pre class=3D"compile-error-data">N=
ote: Some input files use or override a deprecated API.<br class=3D"none"/>=
Note: Recompile with -deprecation for details.Note: /jteam/build/checkout/s=
pring/spring/mock/org/springframework/mock/web/MockHttpSession.java uses or=
overrides a deprecated API.<br class=3D"none"/>Note: Recompile with -depre=
cation for details.<br class=3D"none"/>Note: Some input files use or overri=
de a deprecated API.<br class=3D"none"/>Note: Recompile with -deprecation f=
or details.<br class=3D"none"/></pre></td></tr></table><p>
<p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Tests: (1470) </td></tr><tr><td><tabl=
e width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=3D"c=
enter"><tr><td class=3D"unittests-data"> failure =
</td><td width=3D"40%" class=3D"unittests-data">testHomePage</td><td width=
=3D"40%" class=3D"unittests-data">org.springframework.apptests.buildtest.Al=
lTests</td></tr></table></td></tr><tr></tr><tr><td colspan=3D"2"> </td=
></tr><tr><td colspan=3D"4" class=3D"unittests-sectionheader"> =
Unit Test Error Details: (1) </td></tr><tr=
><td class=3D"unittests-data" colspan=3D"2"> Test: test=
HomePage</td></tr><tr><td class=3D"unittests-data" colspan=3D"2"> =
Class: org.springframework.apptests.buildtest.AllTests</td></tr>=
<tr><td class=3D"unittests-data" colspan=3D"2"> Type: junit.=
framework.AssertionFailedError</td></tr><tr><td class=3D"unittests-data" co=
lspan=3D"2"> Message: Exception while testing URL http://loc=
alhost:13084/buildtest:java.io.IOException</td></tr><tr><td class=3D"unitte=
sts-error" colspan=3D"2"><pre>junit.framework.AssertionFailedError: Excepti=
on while testing URL http://localhost:13084/buildtest:java.io.IOException<b=
r>=09at org.springframework.apptests.buildtest.AllTests.testHomePage(Unknow=
n Source)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth=
od)<br>=09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess=
orImpl.java:39)<br>=09at sun.reflect.DelegatingMethodAccessorImpl.invoke(De=
legatingMethodAccessorImpl.java:25)<br></pre></td></tr><tr><td colspan=3D"2=
"> </td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td colspan=3D"4" class=3D"modifications-sectionheader"> =
Modifications since last build: =
(4) </td></tr><tr class=3D"modifications-evenrow"><td c=
lass=3D"modifications-data">modified</td><td class=3D"modifications-data">j=
hoeller</td><td class=3D"modifications-data">src/org/springframework/orm/hi=
bernate/support/AbstractLobType.java</td><td class=3D"modifications-data">a=
llow to throw HibernateException on "equals" and "deepCopy"</td></tr><tr cl=
ass=3D"modifications-oddrow"><td class=3D"modifications-data">modified</td>=
<td class=3D"modifications-data">jhoeller</td><td class=3D"modifications-da=
ta">src/org/springframework/orm/hibernate/support/BlobSerializableType.java=
</td><td class=3D"modifications-data">added "deepCopy" implementation, seri=
alizing and deserializing the given value</td></tr><tr class=3D"modificatio=
ns-evenrow"><td class=3D"modifications-data">modified</td><td class=3D"modi=
fications-data">jhoeller</td><td class=3D"modifications-data">src/org/sprin=
gframework/orm/hibernate/support/BlobByteArrayType.java</td><td class=3D"mo=
difications-data">added null check to "deepCopy" implementation</td></tr><t=
r class=3D"modifications-oddrow"><td class=3D"modifications-data">modified<=
/td><td class=3D"modifications-data">jhoeller</td><td class=3D"modification=
s-data">src/org/springframework/orm/hibernate/LocalSessionFactoryBean.java<=
/td><td class=3D"modifications-data">expose a config-time JTA TransactionMa=
nager before mapping resources get registered</td></tr></table><p>
<table width=3D"98%" border=3D"0" cellspacing=3D"0" cellpadding=3D"2" align=
=3D"center"><tr><td class=3D"distributables-sectionheader"> =
Deployments by this build: (8) </td><=
/tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/checko=
ut/spring/spring/dist/spring.jar</td></tr><tr class=3D"distributables-oddro=
w"><td class=3D"distributables-data">Building war: /jteam/build/checkout/sp=
ring/spring/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr><td c=
lass=3D"distributables-data">Building war: /jteam/build/checkout/spring/spr=
ing/autobuilds/apps/buildtest/dist/buildtest.war</td></tr><tr class=3D"dist=
ributables-oddrow"><td class=3D"distributables-data">Building war: /jteam/b=
uild/checkout/spring/spring/autobuilds/apps/buildtest/dist/buildtest.war</t=
d></tr><tr><td class=3D"distributables-data">Building jar: /jteam/build/che=
ckout/spring/spring/autobuilds/apps/jpetstore/war/WEB-INF/lib/jpetstore.jar=
</td></tr><tr class=3D"distributables-oddrow"><td class=3D"distributables-d=
ata">Building war: /jteam/build/checkout/spring/spring/autobuilds/apps/jpet=
store/dist/jpetstore.war</td></tr><tr><td class=3D"distributables-data">Bui=
lding jar: /jteam/build/checkout/spring/spring/autobuilds/apps/jpetstore/wa=
r/WEB-INF/lib/jpetstore.jar</td></tr><tr class=3D"distributables-oddrow"><t=
d class=3D"distributables-data">Building war: /jteam/build/checkout/spring/=
spring/autobuilds/apps/jpetstore/dist/jpetstore.war</td></tr></table>
</body></html> |
|
From: Rob H. <ro...@ca...> - 2004-09-16 22:06:32
|
That's a good suggestion. I was thinking of something along the lines of the Velocity support in Spring with some helper classes for general use and then view support in the MVC stuff. I'll see what I can do on this front, although Jasper is already pretty easy to use - everything is generally accessible using statics on one of the facade classes. Rob Andy Depue wrote: >This is interesting. We are currently developing a rich (internet) client >using spring-rich and will have need to not only display Jasper reports but >also to link the reports to our app for drill down purposes (in other words, >placing hyperlinks in the report that our app can intercept and respond to). >Is there any possibility of creating a layer that would be common to both web >and rich client UIs? In other words, as much as is common between the two >approaches goes into a separate layer for maximum reuse. > > - Andy > >On Thursday 16 September 2004 01:06 pm, Rob Harrop wrote: > > >>All, >> >>I am looking at adding view support for Jasper Reports to Spring MVC and >>want to get some input before I dive in. >> >>My first question is what approach would everyone prefer. >> >>I could go for a document style approach like PDF and Excel providing >>hooks for you to expose properties and a JRDatasource, or I could create >>a subclass of AbstractUrlBasedView and then auto expose all properties >>in the model to Jasper Reports, grabbing the datasource from there by >>type. My preference is for the second approach since it requires less >>coding from the end user. >> >>What does everyone think? >> >>Rob >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >>Project Admins to receive an Apple iPod Mini FREE for your judgement on >>who ports your project to Linux PPC the best. Sponsored by IBM. >>Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >>_______________________________________________ >>Springframework-developer mailing list >>Spr...@li... >>https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> > > >------------------------------------------------------- >This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >Project Admins to receive an Apple iPod Mini FREE for your judgement on >who ports your project to Linux PPC the best. Sponsored by IBM. >Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > |
|
From: Rob H. <ro...@ca...> - 2004-09-16 22:04:31
|
My thoughts also. I have basic support working on my machine including on the fly compilation of design files and loading of reports from .jasper files. Currently I am using a really basic web application to test this out but it is working okay. I have only got as far as you support PDF files, but I should have some more time tomorrow so I'll add HTML and CVS as well. Rob Chris Axe wrote: >Rob, > >We just integrated jasper reports into our app. I used >a JdbcDao Support object to do this. So I think the >second suggestion would be fine. >--- Rob Harrop <ro...@ca...> wrote: > > > >>All, >> >>I am looking at adding view support for Jasper >>Reports to Spring MVC and >>want to get some input before I dive in. >> >>My first question is what approach would everyone >>prefer. >> >>I could go for a document style approach like PDF >>and Excel providing >>hooks for you to expose properties and a >>JRDatasource, or I could create >>a subclass of AbstractUrlBasedView and then auto >>expose all properties >>in the model to Jasper Reports, grabbing the >>datasource from there by >>type. My preference is for the second approach since >>it requires less >>coding from the end user. >> >>What does everyone think? >> >>Rob >> >> >> >> >> >------------------------------------------------------- > > >>This SF.Net email is sponsored by: YOU BE THE JUDGE. >>Be one of 170 >>Project Admins to receive an Apple iPod Mini FREE >>for your judgement on >>who ports your project to Linux PPC the best. >>Sponsored by IBM. >>Deadline: Sept. 24. Go here: >>http://sf.net/ppc_contest.php >>_______________________________________________ >>Springframework-developer mailing list >>Spr...@li... >> >> >> >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > > > >__________________________________ >Do you Yahoo!? >New and Improved Yahoo! Mail - 100MB free storage! >http://promotions.yahoo.com/new_mail > > >------------------------------------------------------- >This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >Project Admins to receive an Apple iPod Mini FREE for your judgement on >who ports your project to Linux PPC the best. Sponsored by IBM. >Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > |
|
From: Ben A. <ben...@ac...> - 2004-09-16 21:52:16
|
jürgen höller [werk3AT] wrote:
>>As far as a pluggable cache system goes, I think hibernate's model works
>>
>>
>fairly well and I would like to see something like that in Spring.
>
>The difference is that Spring does not currently have a use case for such a cache abstraction itself. This is a bit similar to our current support for scheduling and also O/R mapping: I prefer to not go for a complete abstraction here but rather for convenient means to work with the respective *native* API of existing cache products.
>
>So IMO, an EhCacheFactoryBean like Dmitriy proposes is certainly a useful addition, exposing EhCache's native Cache object for bean references. I just don't think that trying to abstract that cache API is the right way to go for Spring: There are potentially too many subtle features and semantic details involved. Let's rather expose the full power of the respective native API.
>
>
>
>
Having three cache interfaces and corresponding EH-CACHE implementations
in Acegi Security puts me in a bit of a position to comment about this.
I fully agree with Juergen - the subtle variations between caches exist
and it's of questionable value trying to come up with a
one-size-fits-all interface. In Acegi Security we expose a simple
project-specific interface, such as:
public interface UserCache {
public UserDetails getUserFromCache(String username);
public void putUserInCache(UserDetails user);
public void removeUserFromCache(String username);
}
If people really need cache pluggability within their own projects, they
can expose project-specific interfaces to the cache (as above) and then
write a simple implementation that just does casting and passes through
to the cache engine.
In relation to Spring loading and configuring the cache engines, there
is a lot of value in this. We've had two issues emerge with EH-CACHE
loading after web context refreshes, and then null pointer exceptions
with the fix. Thus it would be better if we could interface with a cache
engine Spring worries about managing, and users already know how to
configure. Due to widespread use, such bugs are likely to be ironed out
quickly, and projects such as Acegi Security can provide more
implementations of their own project-specific cache interfaces, given
Spring takes care of the engine-specific mechanics.
Best regards
Ben
|
|
From: THOMAS, J. (SBCSI) <jt...@sb...> - 2004-09-16 21:47:49
|
I would like to add my own xml like if I have a component called as chain which in turn takes in a number of beans currently the xml definition becomes too big I would like to use xml schema to define my beans I can create my own xml called as <Chain> <bean> </bean> <bean> </bean> </chain> I believe Spring should support pluggable factory so that we can extend Spring easily -Jayant -----Original Message----- From: Chris Eldredge [mailto:chr...@co...] Sent: Thursday, September 16, 2004 11:47 AM To: spr...@li... Subject: [Springframework-developer] Re: Import tag for XML bean definitions bryan wrote: > <beans> > <if value="test" equals="test"> > <import resource="myImport1.xml"/> > </if> This looks an awful lot like meta-programming to me. This becomes a slippery slope. IMO, xml bean files should be for configuration, not for scripting. The <import>, however, is something that I am looking forward to using on my current project. Chris. ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Andy D. <an...@ma...> - 2004-09-16 21:33:07
|
This is interesting. We are currently developing a rich (internet) client using spring-rich and will have need to not only display Jasper reports but also to link the reports to our app for drill down purposes (in other words, placing hyperlinks in the report that our app can intercept and respond to). Is there any possibility of creating a layer that would be common to both web and rich client UIs? In other words, as much as is common between the two approaches goes into a separate layer for maximum reuse. - Andy On Thursday 16 September 2004 01:06 pm, Rob Harrop wrote: > All, > > I am looking at adding view support for Jasper Reports to Spring MVC and > want to get some input before I dive in. > > My first question is what approach would everyone prefer. > > I could go for a document style approach like PDF and Excel providing > hooks for you to expose properties and a JRDatasource, or I could create > a subclass of AbstractUrlBasedView and then auto expose all properties > in the model to Jasper Reports, grabbing the datasource from there by > type. My preference is for the second approach since it requires less > coding from the end user. > > What does everyone think? > > Rob > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Chris A. <ca...@ya...> - 2004-09-16 21:19:57
|
Rob, We just integrated jasper reports into our app. I used a JdbcDao Support object to do this. So I think the second suggestion would be fine. --- Rob Harrop <ro...@ca...> wrote: > All, > > I am looking at adding view support for Jasper > Reports to Spring MVC and > want to get some input before I dive in. > > My first question is what approach would everyone > prefer. > > I could go for a document style approach like PDF > and Excel providing > hooks for you to expose properties and a > JRDatasource, or I could create > a subclass of AbstractUrlBasedView and then auto > expose all properties > in the model to Jasper Reports, grabbing the > datasource from there by > type. My preference is for the second approach since > it requires less > coding from the end user. > > What does everyone think? > > Rob > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. > Be one of 170 > Project Admins to receive an Apple iPod Mini FREE > for your judgement on > who ports your project to Linux PPC the best. > Sponsored by IBM. > Deadline: Sept. 24. Go here: > http://sf.net/ppc_contest.php > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail |
|
From: <jue...@we...> - 2004-09-16 21:05:23
|
> As far as a pluggable cache system goes, I think hibernate's model = works fairly well and I would like to see something like that in Spring. The difference is that Spring does not currently have a use case for = such a cache abstraction itself. This is a bit similar to our current = support for scheduling and also O/R mapping: I prefer to not go for a = complete abstraction here but rather for convenient means to work with = the respective *native* API of existing cache products. =20 So IMO, an EhCacheFactoryBean like Dmitriy proposes is certainly a = useful addition, exposing EhCache's native Cache object for bean = references. I just don't think that trying to abstract that cache API is = the right way to go for Spring: There are potentially too many subtle = features and semantic details involved. Let's rather expose the full = power of the respective native API. =20 Juergen |
|
From: Rob H. <ro...@ca...> - 2004-09-16 20:05:28
|
All, I am looking at adding view support for Jasper Reports to Spring MVC and want to get some input before I dive in. My first question is what approach would everyone prefer. I could go for a document style approach like PDF and Excel providing hooks for you to expose properties and a JRDatasource, or I could create a subclass of AbstractUrlBasedView and then auto expose all properties in the model to Jasper Reports, grabbing the datasource from there by type. My preference is for the second approach since it requires less coding from the end user. What does everyone think? Rob |
|
From: March, A. <am...@so...> - 2004-09-16 19:59:37
|
Thanks for your feedback. > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] On Behalf > Of Dmitriy Kopylenko > Sent: Thursday, September 16, 2004 10:15 AM > To: spr...@li... > Subject: Re: [Springframework-developer] oscache >=20 >=20 > >there a reason you are considering EHCache instead? > > > > > We have nothing against OSCache as we did not evaluate or looked at > OSCache at all. Our requirements are very, very simple (get, put, > remove, that's about it). EHCache looks very, very lightweight. That's > all there is to it. >=20 > Dmitriy. >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: David M. <dm...@mo...> - 2004-09-16 19:49:55
|
Here is a question I have not been able to get answered...
I'm trying to use OSCache's API to cache to disk. I've tried the
following
Properties props =3D new Properties();
props.put("cache.memory","false");
props.put("cache.persistence.class","com.opensymphony.oscache.plugins.di
skpersistence.DiskPersistenceListener");
props.put("cache.path","c:\\inleasingApp\\cache");
props.put("cache.capacity","10000");
props.put("cache.unlimited.disk","true");
admin =3D new GeneralCacheAdministrator(props);
In this case, I got a 1.cache file in the correct location.
I then did this
try
{
if (!StringUtils.isEmpty(reportData.getWhichValue()))
{
// Get from the cache
results =3D (InleasingReportsData)
admin.getFromCache(reportData.getWhichValue());
}
else
{
results =3D new InleasingReportsData();
results.setFirstName("No First Name");
results.setLastName("No Last Name");
results.setWhichValue("No value");
}
}
catch (NeedsRefreshException nre)
{
try
{
// Store in the cache
admin.putInCache(reportData.getWhichValue(), reportData);
results =3D new InleasingReportsData();
results.setFirstName("No First Name");
results.setLastName("No Last Name");
results.setWhichValue("No value");
}
catch (Exception ex)
{
// We have the current content if we want fail-over.
results =3D (InleasingReportsData) nre.getCacheContent();
// It is essential that cancelUpdate is called if the
// cached content is not rebuilt
admin.cancelUpdate(reportData.getWhichValue());
}
}
pulled pretty much from the website.
I get the following output
[DEBUG] 10 Aug 2004 15:23:00,298 AbstractConcurrentReadCache:get(671)
- get called (key=3D1)
[DEBUG] 10 Aug 2004 15:23:00,298
AbstractConcurrentReadCache:persistRetrieve(1014) - persistRetrieve
called (key=3D1)
[DEBUG] 10 Aug 2004 15:23:00,298 Cache:getCacheEntry(599) - No cache
entry exists for key=3D'1', creating
[DEBUG] 10 Aug 2004 15:23:00,330 AbstractConcurrentReadCache:get(671)
- get called (key=3D1)
[DEBUG] 10 Aug 2004 15:23:00,330
AbstractConcurrentReadCache:persistRetrieve(1014) - persistRetrieve
called (key=3D1)
[DEBUG] 10 Aug 2004 15:23:00,330 Cache:getCacheEntry(599) - No cache
entry exists for key=3D'1', creating
[DEBUG] 10 Aug 2004 15:23:00,330
AbstractConcurrentReadCache:persistStore(1061) - persistStore called
(key=3D1)
But when I try to retrieve using get from cache, it is never there.
I've replaced the GeneralCacheAdministrator and its properties with just
a call to new Cache(false,true) to not use memory,but use unlimited
disk.
Same results.
Any ideas what I'm doing wrong?
Thanks,
David H. McCoy
-----Original Message-----
From: March, Andres [mailto:am...@so...]=20
Sent: Thursday, September 16, 2004 1:00 PM
To: spr...@li...
Cc: us...@os...
Subject: [Opensymphony-oscache] RE: [Springframework-developer] oscache
Glad to hear people are still thinking about OSCache. I wonder about
the comment made about the "weak configuration". I am actively
contributing to it right now and would love any input on it.
As far as a pluggable cache system goes, I think hibernate's model works
fairly well and I would like to see something like that in Spring.
One selfish question, I researched all the other open source caches out
there; however, I found them all to be immature except OSCache. Is
there a reason you are considering EHCache instead? I have asked this
question in many forums but can never get any answer.
> -----Original Message-----
> From: spr...@li...
> [mailto:spr...@li...] On
Behalf
> Of Rob Harrop
> Sent: Thursday, September 16, 2004 6:59 AM
> To: spr...@li...
> Subject: Re: [Springframework-developer] oscache
>=20
> I think the ability to support multiple caching implementations is a=20
> good idea. I think it is unlikely that there is a solution that is out
> and out the best for any given scenario.
>=20
> Rob
>=20
> Dmitriy Kopylenko wrote:
>=20
> > We're planning to use EHCache and I'm planning to write convenience=20
> > EhCacheFactoryBean for easy configuration and injection of EHCache=20
> > Caches using DI in Spring app context. May be it would make sense to
> > create a "cache" package to write integrations/support/convenient=20
> > configuration...you name it, for different caching systems i.e.=20
> > OSCache...
> >
> > What does everyone think?
> >
> > Regards,
> > Dmitriy.
> >
> >
> > bryan wrote:
> >
> >> Has any work been done or is any work planned to integrate oscach=20
> >> with the spring framework ? It is a great product but suffers from
a
> >> weak configuration system.
> >>
> >> --b
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170=20
> >> Project Admins to receive an Apple iPod Mini FREE for your
judgement on
> >> who ports your project to Linux PPC the best. Sponsored by IBM.
> >> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php=20
> >> _______________________________________________
> >> Springframework-developer mailing list=20
> >> Spr...@li...
> >>
https://lists.sourceforge.net/lists/listinfo/springframework-developer
> >>
> >>
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170=20
> > Project Admins to receive an Apple iPod Mini FREE for your judgement
on
> > who ports your project to Linux PPC the best. Sponsored by IBM.
> > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php=20
> > _______________________________________________
> > Springframework-developer mailing list=20
> > Spr...@li...
> >
https://lists.sourceforge.net/lists/listinfo/springframework-developer
> >
> >
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170=20
> Project Admins to receive an Apple iPod Mini FREE for your judgement
on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php=20
> _______________________________________________
> Springframework-developer mailing list=20
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
---------------------------------------------------------------------
To unsubscribe, e-mail: use...@os...
For additional commands, e-mail: use...@os...
|
|
From: bryan <nih...@gm...> - 2004-09-16 19:12:35
|
check out ie.jestate.acegi.AuthenticationHolder
snip=
public String getCurrentUserName() {
SecureContext secureContext = ((SecureContext) ContextHolder
.getContext());
final Authentication currentUser = secureContext.getAuthentication();
return currentUser.getName();
}
=snip
--b
On Thu, 16 Sep 2004 11:56:44 -0700 (PDT), Chris Axe <ca...@ya...> wrote:
> OK thanks
>
>
> --- bryan <nih...@gm...> wrote:
>
> > check out
> >
> > http://acegisecurity.sourceforge.net/
> >
> >
> > and check out my source code on
> >
> > https://jestate.dev.java.net
> >
> > --b
> >
> >
> > On Thu, 16 Sep 2004 10:11:07 -0700 (PDT), Chris Axe
> > <ca...@ya...> wrote:
> > >
> > > All
> > >
> > > In chapter 12 of "J2EE Development without ELB" on
> > > page 360, Rod/Jurgen talk about having a sevlet
> > > container authenticate a user and binding the
> > users
> > > Principal to a ThreadLocal for use by AOP. Does
> > any
> > > one have an example of this you can share?
> > >
> > > Regards,
> > >
> > > Chris Axe
> > >
> > > _______________________________
> > > Do you Yahoo!?
> > > Express yourself with Y! Messenger! Free. Download
> > now.
> > > http://messenger.yahoo.com
> > >
> > >
> >
> -------------------------------------------------------
> > > This SF.Net email is sponsored by: YOU BE THE
> > JUDGE. Be one of 170
> > > Project Admins to receive an Apple iPod Mini FREE
> > for your judgement on
> > > who ports your project to Linux PPC the best.
> > Sponsored by IBM.
> > > Deadline: Sept. 24. Go here:
> > http://sf.net/ppc_contest.php
> > > _______________________________________________
> > > Springframework-developer mailing list
> > > Spr...@li...
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
> > >
> >
> >
> >
> -------------------------------------------------------
> > This SF.Net email is sponsored by: YOU BE THE JUDGE.
> > Be one of 170
> > Project Admins to receive an Apple iPod Mini FREE
> > for your judgement on
> > who ports your project to Linux PPC the best.
> > Sponsored by IBM.
> > Deadline: Sept. 24. Go here:
> > http://sf.net/ppc_contest.php
> > _______________________________________________
> > Springframework-developer mailing list
> > Spr...@li...
> >
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
|
|
From: bryan <nih...@gm...> - 2004-09-16 19:10:49
|
Chris, You must really like keeping 3 * 300 line files in sync with each other when just 60/70 lines are different in each one ..... I'm not talking about adding #ifdef and #define to the top of your java source files here ! --b On Thu, 16 Sep 2004 14:46:45 -0400, Chris Eldredge <chr...@co...> wrote: > bryan wrote: > > > <beans> > > <if value="test" equals="test"> > > <import resource="myImport1.xml"/> > > </if> > > This looks an awful lot like meta-programming to me. This becomes a > slippery slope. IMO, xml bean files should be for configuration, not > for scripting. > > The <import>, however, is something that I am looking forward to using > on my current project. > > Chris. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: Chris A. <ca...@ya...> - 2004-09-16 18:56:51
|
OK thanks --- bryan <nih...@gm...> wrote: > check out > > http://acegisecurity.sourceforge.net/ > > > and check out my source code on > > https://jestate.dev.java.net > > --b > > > On Thu, 16 Sep 2004 10:11:07 -0700 (PDT), Chris Axe > <ca...@ya...> wrote: > > > > All > > > > In chapter 12 of "J2EE Development without ELB" on > > page 360, Rod/Jurgen talk about having a sevlet > > container authenticate a user and binding the > users > > Principal to a ThreadLocal for use by AOP. Does > any > > one have an example of this you can share? > > > > Regards, > > > > Chris Axe > > > > _______________________________ > > Do you Yahoo!? > > Express yourself with Y! Messenger! Free. Download > now. > > http://messenger.yahoo.com > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: YOU BE THE > JUDGE. Be one of 170 > > Project Admins to receive an Apple iPod Mini FREE > for your judgement on > > who ports your project to Linux PPC the best. > Sponsored by IBM. > > Deadline: Sept. 24. Go here: > http://sf.net/ppc_contest.php > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. > Be one of 170 > Project Admins to receive an Apple iPod Mini FREE > for your judgement on > who ports your project to Linux PPC the best. > Sponsored by IBM. > Deadline: Sept. 24. Go here: > http://sf.net/ppc_contest.php > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Chris E. <chr...@co...> - 2004-09-16 18:45:28
|
bryan wrote: > <beans> > <if value="test" equals="test"> > <import resource="myImport1.xml"/> > </if> This looks an awful lot like meta-programming to me. This becomes a slippery slope. IMO, xml bean files should be for configuration, not for scripting. The <import>, however, is something that I am looking forward to using on my current project. Chris. |
|
From: bryan <nih...@gm...> - 2004-09-16 17:18:00
|
check out http://acegisecurity.sourceforge.net/ and check out my source code on https://jestate.dev.java.net --b On Thu, 16 Sep 2004 10:11:07 -0700 (PDT), Chris Axe <ca...@ya...> wrote: > > All > > In chapter 12 of "J2EE Development without ELB" on > page 360, Rod/Jurgen talk about having a sevlet > container authenticate a user and binding the users > Principal to a ThreadLocal for use by AOP. Does any > one have an example of this you can share? > > Regards, > > Chris Axe > > _______________________________ > Do you Yahoo!? > Express yourself with Y! Messenger! Free. Download now. > http://messenger.yahoo.com > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: Dmitriy K. <dko...@ru...> - 2004-09-16 17:13:17
|
>there a reason you are considering EHCache instead? > > We have nothing against OSCache as we did not evaluate or looked at OSCache at all. Our requirements are very, very simple (get, put, remove, that's about it). EHCache looks very, very lightweight. That's all there is to it. Dmitriy. |
|
From: Chris A. <ca...@ya...> - 2004-09-16 17:11:15
|
All In chapter 12 of "J2EE Development without ELB" on page 360, Rod/Jurgen talk about having a sevlet container authenticate a user and binding the users Principal to a ThreadLocal for use by AOP. Does any one have an example of this you can share? Regards, Chris Axe _______________________________ Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. http://messenger.yahoo.com |
|
From: March, A. <am...@so...> - 2004-09-16 16:59:50
|
Glad to hear people are still thinking about OSCache. I wonder about the comment made about the "weak configuration". I am actively contributing to it right now and would love any input on it. As far as a pluggable cache system goes, I think hibernate's model works fairly well and I would like to see something like that in Spring. One selfish question, I researched all the other open source caches out there; however, I found them all to be immature except OSCache. Is there a reason you are considering EHCache instead? I have asked this question in many forums but can never get any answer. > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] On Behalf > Of Rob Harrop > Sent: Thursday, September 16, 2004 6:59 AM > To: spr...@li... > Subject: Re: [Springframework-developer] oscache >=20 > I think the ability to support multiple caching implementations is a > good idea. I think it is unlikely that there is a solution that is out > and out the best for any given scenario. >=20 > Rob >=20 > Dmitriy Kopylenko wrote: >=20 > > We're planning to use EHCache and I'm planning to write convenience > > EhCacheFactoryBean for easy configuration and injection of EHCache > > Caches using DI in Spring app context. May be it would make sense to > > create a "cache" package to write integrations/support/convenient > > configuration...you name it, for different caching systems i.e. > > OSCache... > > > > What does everyone think? > > > > Regards, > > Dmitriy. > > > > > > bryan wrote: > > > >> Has any work been done or is any work planned to integrate oscach > >> with the spring framework ? It is a great product but suffers from a > >> weak configuration system. > >> > >> --b > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > >> Project Admins to receive an Apple iPod Mini FREE for your judgement on > >> who ports your project to Linux PPC the best. Sponsored by IBM. > >> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > >> _______________________________________________ > >> Springframework-developer mailing list > >> Spr...@li... > >> https://lists.sourceforge.net/lists/listinfo/springframework-developer > >> > >> > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > > Project Admins to receive an Apple iPod Mini FREE for your judgement on > > who ports your project to Linux PPC the best. Sponsored by IBM. > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: bryan <nih...@gm...> - 2004-09-16 16:03:40
|
juergen .... you are a legend !!!!=20 Hey one thing though .. Would it be possible to allow the user to specify a list like=20 so .......=20 <import resource=3D"myImport1.xml,myImport2.xml,myImport3.xml"/> The reason that this would be *super* *super* usefull is because then=20 users could store these values in a properties file or in the registry using the Preferences API and then use the property placeholder=20 configurer to fill in the blanks at runtime.=20 On other thing ..... if you wanted to be super smart and really show off=20 heres a cool feature ....=20 <beans> <if value=3D"test" equals=3D"test"> <import resource=3D"myImport1.xml"/> </if> <bean ... /> </beans> --b On Thu, 16 Sep 2004 10:22:12 +0200, j=FCrgen h=F6ller [ werk3AT ] <jue...@we...> wrote: > Hi everybody, >=20 > During an extra evening I had to spend at an airport hotel in Rome, I've = implemented an "import" tag for XML bean definitions: >=20 > http://opensource.atlassian.com/projects/spring/browse/SPR-137 >=20 > Basically, you can put any number of "import" tags at the beginning of be= an definition files: >=20 > <beans> >=20 > <import resource=3D"myImport1.xml"/> > <import resource=3D"myImport2.xml"/> >=20 > <bean ... /> >=20 > </beans> >=20 > The resource locations are interpreted as relative to the file that conta= ins the import tags. Effectively, this is delegated to the "createRelative"= method on the Resource interface, invoked on the Resource object for the c= ontaining file. ("createRelative" has already been introduced in 1.1 final.= ) >=20 > I'll commit this tonight, provided that there aren't any objections. Whil= e I'm not gonna recommend this feature too much, as I personally prefer a "= contextConfigLocation" that refers to multiple files, I still believe that = an import tag is a useful addition. In particular, some people are used to = such a feature from Ant and XWork... >=20 > Juergen >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: Andy D. <an...@ma...> - 2004-09-16 15:21:00
|
I like having this option. One thought this triggered in my head is the=20
possibility of having application oriented XML config files. In other word=
s,=20
config files that are oriented around your app so that they become easier t=
o=20
work with for the masses. ActiveMQ and Mule are two systems that allow you=
=20
to either configure via Spring or configure via a native XML that is=20
typically easier to work with. ActiveMQ actually uses XSL internally to=20
translate from the ActiveMQ oriented XML config to a Spring config. So,=20
having said all this, would it make sense to add an xsl (or transform-with)=
=20
attribute to the import tag? I could then do something like this:
<beans>
<import resource=3D"app-config.xml" transform-with=3D"app-to-spring.xsl=
"/>
...
</beans>
Thoughts?
- Andy
On Thursday 16 September 2004 01:22 am, j=FCrgen h=F6ller [werk3AT] wrote:
> Hi everybody,
>
> During an extra evening I had to spend at an airport hotel in Rome, I've
> implemented an "import" tag for XML bean definitions:
>
> http://opensource.atlassian.com/projects/spring/browse/SPR-137
>
> Basically, you can put any number of "import" tags at the beginning of be=
an
> definition files:
>
> <beans>
>
> <import resource=3D"myImport1.xml"/>
> <import resource=3D"myImport2.xml"/>
>
> <bean ... />
>
> </beans>
>
> The resource locations are interpreted as relative to the file that
> contains the import tags. Effectively, this is delegated to the
> "createRelative" method on the Resource interface, invoked on the Resource
> object for the containing file. ("createRelative" has already been
> introduced in 1.1 final.)
>
> I'll commit this tonight, provided that there aren't any objections. While
> I'm not gonna recommend this feature too much, as I personally prefer a
> "contextConfigLocation" that refers to multiple files, I still believe th=
at
> an import tag is a useful addition. In particular, some people are used to
> such a feature from Ant and XWork...
>
> Juergen
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Keith <kd...@cs...> - 2004-09-16 14:33:43
|
This sounds great! Just curious, why wouldn't you recommend it too =
much? =20
I know I've had mention before people wanting to see logically how the =
files
are related - when they're looking at the files (rather than going to
bootstrap configuration, generally separate.) Kind of a "less magic" =
thing.
I think the import tag, like the recent abstract attribute for abstract =
bean
definitions, can help make things more explicit.
<beans description=3D"Business layer services definitions">
<import resource=3D"data-access.xml"
description=3D"Import dependent DAO definitions"/>
<bean> ... </bean>
...
</beans>
Just curious: if I was to do like above, and still bootstrap a single
application context with "business-layer.xml" and "data-access.xml" as
opposed to just "business-layer" - what happens?
Let's say I had a "utilities-context.xml" with utility beans used by my
other contexts (like PropertyPlaceholderConfigurer), used by business =
and
dao. If I imported that guy into those files, but in the end everything
resulted in a flat "big" context -- what would happen?
Getting code churned out at the airport is the best! :-) Keith=20
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...] On Behalf =
Of
j=FCrgen h=F6ller [werk3AT]
Sent: Thursday, September 16, 2004 4:22 AM
To: spr...@li...
Subject: [Springframework-developer] Import tag for XML bean definitions
Hi everybody,
During an extra evening I had to spend at an airport hotel in Rome, I've
implemented an "import" tag for XML bean definitions:
http://opensource.atlassian.com/projects/spring/browse/SPR-137
Basically, you can put any number of "import" tags at the beginning of =
bean
definition files:
<beans>
<import resource=3D"myImport1.xml"/>
<import resource=3D"myImport2.xml"/>
<bean ... />
</beans>
The resource locations are interpreted as relative to the file that =
contains
the import tags. Effectively, this is delegated to the "createRelative"
method on the Resource interface, invoked on the Resource object for the
containing file. ("createRelative" has already been introduced in 1.1
final.)
I'll commit this tonight, provided that there aren't any objections. =
While
I'm not gonna recommend this feature too much, as I personally prefer a
"contextConfigLocation" that refers to multiple files, I still believe =
that
an import tag is a useful addition. In particular, some people are used =
to
such a feature from Ant and XWork...
Juergen
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Rob H. <ro...@ca...> - 2004-09-16 14:00:53
|
I think the ability to support multiple caching implementations is a good idea. I think it is unlikely that there is a solution that is out and out the best for any given scenario. Rob Dmitriy Kopylenko wrote: > We're planning to use EHCache and I'm planning to write convenience > EhCacheFactoryBean for easy configuration and injection of EHCache > Caches using DI in Spring app context. May be it would make sense to > create a "cache" package to write integrations/support/convenient > configuration...you name it, for different caching systems i.e. > OSCache... > > What does everyone think? > > Regards, > Dmitriy. > > > bryan wrote: > >> Has any work been done or is any work planned to integrate oscach >> with the spring framework ? It is a great product but suffers from a >> weak configuration system. >> >> --b >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >> Project Admins to receive an Apple iPod Mini FREE for your judgement on >> who ports your project to Linux PPC the best. Sponsored by IBM. >> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |