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: Andy D. <an...@ma...> - 2004-08-10 18:23:53
|
As you know, Oliver Hutchison has been working on something very similar to this. He has also talked about adding the ability to track data transfer (so that a GUI can display a progress bar while transmitting large amounts of data, for example). I think it would be cool to see your efforts merge, as both components are addressing the same issues, and each brings its own benefits to the table (Oliver's auto-retrying, your HttpInvokerRequestExecutor, etc). BTW, is there currently any support for out-of-band information? I'm thinking that "header" information could automatically be transmitted with service calls allowing protocol level "aspects". I've actually implemented an audit session id (based on Ben's recommendation), and would love to have that automatically propagated with each service call instead of modifying my service APIs. I believe Oliver mentioned adding header info to his implementation, but I'm not sure. - Andy |
|
From: <jue...@we...> - 2004-08-10 17:43:08
|
Yes, it will! I consider it stable enough for inclusion, and am = immediately gonna use in application projects myself. It's actually pretty simple and straightforward: Most effort went into = the design for extensibility. For example, the HTTP invoker stuff shares = the RemoteInvocationFactory and RemoteInvocationExecutor strategy = interfaces (which allow to add and interpret additional invocation = context like user credentials) with the RMI invoker mode of = RmiServiceExporter and RmiProxyFactoryBean. So even if you use such = custom invocation context, you still have the drop-in choice between RMI = invoker and HTTP invoker! Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Patrick Peralta Sent: Tuesday, August 10, 2004 7:22 PM To: spr...@li... Subject: Re: [Springframework-developer] HTTP invoker remoting strategy Very nice! Will this be included in the 1.1 release? On Tue, 10 Aug 2004 10:38:13 +0200, j=FCrgen h=F6ller [werk3AT] <jue...@we...> wrote: > I've finally committed my new HTTP invoker remoting strategy: It = resides in the remoting.httpinvoker package.Usage is just like Hessian, = Burlap, or RMI invoker: Simply define an HttpInvokerServiceExporter on = the server side, and a corresponding HttpInvokerProxyFactoryBean on the = client side. Use an HTTP URL just like with Hessian or Burlap, that's = it. >=20 > The main difference to Hessian is that this HTTP invoker uses Java = serialization, just like RMI. It more or less combines the advantages of = Hessian (HTTP-based, easy to set up) and RMI (full power of Java = serialization). In particular, it should work nicely with Hibernate = collections. It's about as fast as Hessian or RMI, so performance should = not be an issue either. >=20 > HttpInvokerProxyFactoryBean uses a HttpInvokerRequestExecutor strategy = for the actual executing of HTTP POST requests. Default is = SimpleHttpInvokerRequestExecutor, using J2SE's HttpURLConnection (so no = external library necessary). Alternatively, there's = CommonsHttpInvokerRequestExecutor which uses Jakarta Commons HttpClient, = potentially with HTTP authentication, HTTP connection pooling, etc. >=20 > I've also added the HTTP invoker as further remoting strategy to the = JPetStore sample app. JPetStore's OrderService now gets exposed via 5 = different remoting strategies: Hessian, Burlap, HTTP invoker, RMI, and = JAX-RPC. Accordingly, the sample OrderServiceClient access the backend = OrderService via all those strategies now. OrderServiceClient also gives = rough performance measures. >=20 > Juergen >=20 > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Patrick P. <ppe...@gm...> - 2004-08-10 17:21:49
|
Very nice! Will this be included in the 1.1 release? On Tue, 10 Aug 2004 10:38:13 +0200, j=FCrgen h=F6ller [werk3AT] <jue...@we...> wrote: > I've finally committed my new HTTP invoker remoting strategy: It resides = in the remoting.httpinvoker package.Usage is just like Hessian, Burlap, or = RMI invoker: Simply define an HttpInvokerServiceExporter on the server side= , and a corresponding HttpInvokerProxyFactoryBean on the client side. Use a= n HTTP URL just like with Hessian or Burlap, that's it. >=20 > The main difference to Hessian is that this HTTP invoker uses Java serial= ization, just like RMI. It more or less combines the advantages of Hessian = (HTTP-based, easy to set up) and RMI (full power of Java serialization). In= particular, it should work nicely with Hibernate collections. It's about a= s fast as Hessian or RMI, so performance should not be an issue either. >=20 > HttpInvokerProxyFactoryBean uses a HttpInvokerRequestExecutor strategy fo= r the actual executing of HTTP POST requests. Default is SimpleHttpInvokerR= equestExecutor, using J2SE's HttpURLConnection (so no external library nece= ssary). Alternatively, there's CommonsHttpInvokerRequestExecutor which uses= Jakarta Commons HttpClient, potentially with HTTP authentication, HTTP con= nection pooling, etc. >=20 > I've also added the HTTP invoker as further remoting strategy to the JPet= Store sample app. JPetStore's OrderService now gets exposed via 5 different= remoting strategies: Hessian, Burlap, HTTP invoker, RMI, and JAX-RPC. Acco= rdingly, the sample OrderServiceClient access the backend OrderService via = all those strategies now. OrderServiceClient also gives rough performance m= easures. >=20 > Juergen >=20 > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: Rob H. <ro...@ca...> - 2004-08-10 15:48:44
|
All, I am working through some support classes for JMX. Once in particular is JmxProxyFactoryBean. This class will generate a proxy for a JMX resource and allow FactoryBean access to the proxy. You need to supply the ObjectName for the MBean and I was wondering whether to type the property as String or ObjectName and use a custom PropertyEditor. If the PropertyEditor is the way to go, is there some kind of standard way for registering these? Should the FactoryBean do it itself, or should this be left to the user? Rob |
|
From: <jue...@we...> - 2004-08-10 08:35:22
|
I've finally committed my new HTTP invoker remoting strategy: It resides = in the remoting.httpinvoker package.Usage is just like Hessian, Burlap, = or RMI invoker: Simply define an HttpInvokerServiceExporter on the = server side, and a corresponding HttpInvokerProxyFactoryBean on the = client side. Use an HTTP URL just like with Hessian or Burlap, that's = it. =20 The main difference to Hessian is that this HTTP invoker uses Java = serialization, just like RMI. It more or less combines the advantages of = Hessian (HTTP-based, easy to set up) and RMI (full power of Java = serialization). In particular, it should work nicely with Hibernate = collections. It's about as fast as Hessian or RMI, so performance should = not be an issue either. =20 HttpInvokerProxyFactoryBean uses a HttpInvokerRequestExecutor strategy = for the actual executing of HTTP POST requests. Default is = SimpleHttpInvokerRequestExecutor, using J2SE's HttpURLConnection (so no = external library necessary). Alternatively, there's = CommonsHttpInvokerRequestExecutor which uses Jakarta Commons HttpClient, = potentially with HTTP authentication, HTTP connection pooling, etc. =20 I've also added the HTTP invoker as further remoting strategy to the = JPetStore sample app. JPetStore's OrderService now gets exposed via 5 = different remoting strategies: Hessian, Burlap, HTTP invoker, RMI, and = JAX-RPC. Accordingly, the sample OrderServiceClient access the backend = OrderService via all those strategies now. OrderServiceClient also gives = rough performance measures. =20 Juergen |
|
From: <al...@jt...> - 2004-08-09 23:08:13
|
<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.74</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>08/10/2004 00:53:39</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>08/09/2004 18:35:08</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>merged CosMailTestSuite into MailTestSuite</td></tr></tabl=
e><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: =
(8) </td></tr><tr class=3D"modifications-evenrow"><td c=
lass=3D"modifications-data">deleted</td><td class=3D"modifications-data">jh=
oeller</td><td class=3D"modifications-data">test/org/springframework/mail/C=
osMailTestSuite.java</td><td class=3D"modifications-data">merged CosMailTes=
tSuite into MailTestSuite</td></tr><tr class=3D"modifications-oddrow"><td c=
lass=3D"modifications-data">modified</td><td class=3D"modifications-data">j=
hoeller</td><td class=3D"modifications-data">test/org/springframework/mail/=
MailTestSuite.java</td><td class=3D"modifications-data">merged CosMailTestS=
uite into MailTestSuite</td></tr><tr class=3D"modifications-evenrow"><td cl=
ass=3D"modifications-data">modified</td><td class=3D"modifications-data">jh=
oeller</td><td class=3D"modifications-data">src/org/springframework/mail/ja=
vamail/MimeMessageHelper.java</td><td class=3D"modifications-data">reworked=
HTML text handling</td></tr><tr class=3D"modifications-oddrow"><td class=
=3D"modifications-data">modified</td><td class=3D"modifications-data">luke_=
t</td><td class=3D"modifications-data">/project.properties</td><td class=3D=
"modifications-data">Added jsf jar to dependencies. Updated commons-attribu=
tes version to 2.1</td></tr><tr class=3D"modifications-evenrow"><td class=
=3D"modifications-data">modified</td><td class=3D"modifications-data">luke_=
t</td><td class=3D"modifications-data">/project.xml</td><td class=3D"modifi=
cations-data">Added jsf jar to dependencies. Updated commons-attributes ver=
sion to 2.1</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modifi=
cations-data">modified</td><td class=3D"modifications-data">jhoeller</td><t=
d class=3D"modifications-data">src/org/springframework/validation/Validatio=
nUtils.java</td><td class=3D"modifications-data">added overloaded rejectIfE=
mpty and rejectIfEmptyOrWhitespace methods that take error arguments</td></=
tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-data">mod=
ified</td><td class=3D"modifications-data">jhoeller</td><td class=3D"modifi=
cations-data">test/org/springframework/transaction/interceptor/AbstractTran=
sactionAspectTests.java</td><td class=3D"modifications-data">fixed after-re=
turning behavior to always call commit even if transaction is not new</td><=
/tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-data">mod=
ified</td><td class=3D"modifications-data">jhoeller</td><td class=3D"modifi=
cations-data">src/org/springframework/transaction/interceptor/TransactionAs=
pectSupport.java</td><td class=3D"modifications-data">fixed after-returning=
behavior to always call commit even if transaction is not new</td></tr></t=
able><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: Rod J. <rod...@in...> - 2004-08-09 14:46:02
|
I'd support autoconversion. I don't see any problems with it. Thomas?
R
----- Original Message -----=20
From: "j=FCrgen h=F6ller [werk3AT]" <jue...@we...>
To: <spr...@li...>
Sent: Monday, August 09, 2004 1:48 PM
Subject: Re: [Springframework-developer] java.util.Date to java.sql.Date
Sounds plausible! I'm inclined to add this extra check.
Would it be appropriate to add similar checks for java.sql.Time and
java.sql.Timestamp too?
Thomas, Rod, others - any thoughts on this?
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf
Of Estes, James D - St. Louis, MO
Sent: Monday, August 09, 2004 12:43 PM
To: spr...@li...
Subject: RE: [Springframework-developer] java.util.Date to java.sql.Date
...forgot to see if it is already a sql date:
else if (sqlType =3D=3D Types.DATE && (inValue instanceof java.util.Date)=
&&
!(inValue instanceof java.sql.Date)) {
ps.setObject(paramIndex,
new java.sql.Date(((java.util.Date)inValue).getTime()));
}
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...] On Behalf
Of Estes, James D - St. Louis, MO
Sent: Friday, August 06, 2004 9:23 AM
To: spr...@li...
Subject: [Springframework-developer] java.util.Date to java.sql.Date
I'm constantly converting from util.Date to sql.Date in my Dao when I'm
passing my params to the MappingSqlQuery's execute method...not a huge
deal, its just annoying when I forget and then see it pop up at runtime.
I was wondering if spring could step in and do the conversion for me. I
believe this should really be a feature of the DB Driver, but at least
for Oracle, it complains when I try to bind a util date to a parameter
declared as a Types.DATE (stack trace snippet below). I realize that
with a sql date the time information should/will be truncated, but I
think that is the expected behavior anyway since I'm saying the type is
a Types.DATE.
I did some digging and found where it would be nice to have the
conversion done for me:
StatementCreatorUtils, line 106...something like
else if (sqlType =3D=3D Types.DATE && (inValue instanceof java.util.Date)=
) {
ps.setObject(paramIndex,
new java.sql.Date(((java.util.Date)inValue).getTime()));
}
...could be inserted.
Would this be possible? Or are there some deeper issues I'm not
thinking about. I'm pretty sure this would work well for Oracle, but
not sure about other DBs.
Thanks,
James
java.sql.SQLException: Invalid conversion requested
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at
oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedState
ment.java:3017)
at
oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedState
ment.java:3107)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.setObject(WSJdbcPrepar
edStatement.java:1088)
at
org.springframework.jdbc.core.StatementCreatorUtils.setParameterValue(St
atementCreatorUtils.java:107)
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Estes, J. D - S. L. M. <jam...@us...> - 2004-08-09 13:17:31
|
I believe it would be appropriate. Version with those checks included =
(slightly modified for performance when type is not time related):
else if (sqlType =3D=3D Types.DATE){
if((inValue instanceof java.util.Date) &&
!(inValue instanceof java.sql.Date)) {
inValue =3D=20
new java.sql.Date(((java.util.Date)inValue).getTime());
}
ps.setObject(paramIndex, inValue, Types.DATE);
}
else if(sqlType =3D=3D Types.TIMESTAMP){
if((inValue instanceof java.util.Date) &&
!(inValue instanceof java.sql.Timestamp)) {
inValue =3D=20
new java.sql.Timestamp(((java.util.Date)inValue).getTime());
}
ps.setObject(paramIndex, inValue, Types.TIMESTAMP);
}
else if(sqlType =3D=3D Types.TIME){
if((inValue instanceof java.util.Date) &&
!(inValue instanceof java.sql.Time)) {
inValue =3D=20
new java.sql.Time (((java.util.Date)inValue).getTime());
}
ps.setObject(paramIndex, inValue, Types.TIME);
}
James
-----Original Message-----
From: spr...@li... =
[mailto:spr...@li...] On Behalf =
Of j=FCrgen h=F6ller [werk3AT]
Sent: Monday, August 09, 2004 7:48 AM
To: spr...@li...
Subject: Re: [Springframework-developer] java.util.Date to java.sql.Date
Sounds plausible! I'm inclined to add this extra check.
Would it be appropriate to add similar checks for java.sql.Time and =
java.sql.Timestamp too?
Thomas, Rod, others - any thoughts on this?
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf
Of Estes, James D - St. Louis, MO
Sent: Monday, August 09, 2004 12:43 PM
To: spr...@li...
Subject: RE: [Springframework-developer] java.util.Date to java.sql.Date
...forgot to see if it is already a sql date:
else if (sqlType =3D=3D Types.DATE && (inValue instanceof =
java.util.Date) &&
!(inValue instanceof java.sql.Date)) {
ps.setObject(paramIndex,=20
new java.sql.Date(((java.util.Date)inValue).getTime()));
}
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...] On Behalf
Of Estes, James D - St. Louis, MO
Sent: Friday, August 06, 2004 9:23 AM
To: spr...@li...
Subject: [Springframework-developer] java.util.Date to java.sql.Date
I'm constantly converting from util.Date to sql.Date in my Dao when I'm
passing my params to the MappingSqlQuery's execute method...not a huge
deal, its just annoying when I forget and then see it pop up at runtime.
I was wondering if spring could step in and do the conversion for me. I
believe this should really be a feature of the DB Driver, but at least
for Oracle, it complains when I try to bind a util date to a parameter
declared as a Types.DATE (stack trace snippet below). I realize that
with a sql date the time information should/will be truncated, but I
think that is the expected behavior anyway since I'm saying the type is
a Types.DATE. =20
I did some digging and found where it would be nice to have the
conversion done for me:
StatementCreatorUtils, line 106...something like
else if (sqlType =3D=3D Types.DATE && (inValue instanceof =
java.util.Date)) {
ps.setObject(paramIndex,=20
new java.sql.Date(((java.util.Date)inValue).getTime()));
}
...could be inserted.
Would this be possible? Or are there some deeper issues I'm not
thinking about. I'm pretty sure this would work well for Oracle, but
not sure about other DBs.
Thanks,
James
java.sql.SQLException: Invalid conversion requested
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at
oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedState
ment.java:3017)
at
oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedState
ment.java:3107)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.setObject(WSJdbcPrepar
edStatement.java:1088)
at
org.springframework.jdbc.core.StatementCreatorUtils.setParameterValue(St
atementCreatorUtils.java:107)
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: <jue...@we...> - 2004-08-09 12:46:16
|
Sounds plausible! I'm inclined to add this extra check.
Would it be appropriate to add similar checks for java.sql.Time and =
java.sql.Timestamp too?
Thomas, Rod, others - any thoughts on this?
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf
Of Estes, James D - St. Louis, MO
Sent: Monday, August 09, 2004 12:43 PM
To: spr...@li...
Subject: RE: [Springframework-developer] java.util.Date to java.sql.Date
...forgot to see if it is already a sql date:
else if (sqlType =3D=3D Types.DATE && (inValue instanceof =
java.util.Date) &&
!(inValue instanceof java.sql.Date)) {
ps.setObject(paramIndex,=20
new java.sql.Date(((java.util.Date)inValue).getTime()));
}
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...] On Behalf
Of Estes, James D - St. Louis, MO
Sent: Friday, August 06, 2004 9:23 AM
To: spr...@li...
Subject: [Springframework-developer] java.util.Date to java.sql.Date
I'm constantly converting from util.Date to sql.Date in my Dao when I'm
passing my params to the MappingSqlQuery's execute method...not a huge
deal, its just annoying when I forget and then see it pop up at runtime.
I was wondering if spring could step in and do the conversion for me. I
believe this should really be a feature of the DB Driver, but at least
for Oracle, it complains when I try to bind a util date to a parameter
declared as a Types.DATE (stack trace snippet below). I realize that
with a sql date the time information should/will be truncated, but I
think that is the expected behavior anyway since I'm saying the type is
a Types.DATE. =20
I did some digging and found where it would be nice to have the
conversion done for me:
StatementCreatorUtils, line 106...something like
else if (sqlType =3D=3D Types.DATE && (inValue instanceof =
java.util.Date)) {
ps.setObject(paramIndex,=20
new java.sql.Date(((java.util.Date)inValue).getTime()));
}
...could be inserted.
Would this be possible? Or are there some deeper issues I'm not
thinking about. I'm pretty sure this would work well for Oracle, but
not sure about other DBs.
Thanks,
James
java.sql.SQLException: Invalid conversion requested
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at
oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedState
ment.java:3017)
at
oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedState
ment.java:3107)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.setObject(WSJdbcPrepar
edStatement.java:1088)
at
org.springframework.jdbc.core.StatementCreatorUtils.setParameterValue(St
atementCreatorUtils.java:107)
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Estes, J. D - S. L. M. <jam...@us...> - 2004-08-09 10:43:23
|
...forgot to see if it is already a sql date:
else if (sqlType =3D=3D Types.DATE && (inValue instanceof =
java.util.Date) &&
!(inValue instanceof java.sql.Date)) {
ps.setObject(paramIndex,=20
new java.sql.Date(((java.util.Date)inValue).getTime()));
}
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...] On Behalf
Of Estes, James D - St. Louis, MO
Sent: Friday, August 06, 2004 9:23 AM
To: spr...@li...
Subject: [Springframework-developer] java.util.Date to java.sql.Date
I'm constantly converting from util.Date to sql.Date in my Dao when I'm
passing my params to the MappingSqlQuery's execute method...not a huge
deal, its just annoying when I forget and then see it pop up at runtime.
I was wondering if spring could step in and do the conversion for me. I
believe this should really be a feature of the DB Driver, but at least
for Oracle, it complains when I try to bind a util date to a parameter
declared as a Types.DATE (stack trace snippet below). I realize that
with a sql date the time information should/will be truncated, but I
think that is the expected behavior anyway since I'm saying the type is
a Types.DATE. =20
I did some digging and found where it would be nice to have the
conversion done for me:
StatementCreatorUtils, line 106...something like
else if (sqlType =3D=3D Types.DATE && (inValue instanceof =
java.util.Date)) {
ps.setObject(paramIndex,=20
new java.sql.Date(((java.util.Date)inValue).getTime()));
}
...could be inserted.
Would this be possible? Or are there some deeper issues I'm not
thinking about. I'm pretty sure this would work well for Oracle, but
not sure about other DBs.
Thanks,
James
java.sql.SQLException: Invalid conversion requested
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at
oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedState
ment.java:3017)
at
oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedState
ment.java:3107)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.setObject(WSJdbcPrepar
edStatement.java:1088)
at
org.springframework.jdbc.core.StatementCreatorUtils.setParameterValue(St
atementCreatorUtils.java:107)
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: <al...@jt...> - 2004-08-08 23:08:06
|
<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.73</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>08/09/2004 00:16:24</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 14 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>08/08/2004 13:19:14</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>added "entityInterceptorBeanName" property</td></tr></tabl=
e><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: =
(3) </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/HibernateInterceptor.java</td><td class=3D"modifications-data">adde=
d "entityInterceptorBeanName" property</td></tr><tr class=3D"modifications-=
oddrow"><td class=3D"modifications-data">modified</td><td class=3D"modifica=
tions-data">jhoeller</td><td class=3D"modifications-data">test/org/springfr=
amework/orm/hibernate/HibernateInterceptorTests.java</td><td class=3D"modif=
ications-data">added "entityInterceptorBeanName" property</td></tr><tr clas=
s=3D"modifications-evenrow"><td class=3D"modifications-data">modified</td><=
td class=3D"modifications-data">jhoeller</td><td class=3D"modifications-dat=
a">docs/reference/src/beans.xml</td><td class=3D"modifications-data">fixed =
example code</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: Stefan D S. <ste...@us...> - 2004-08-08 15:18:37
|
After trying to build a dynamic breadcrumb (page path), I have ran into a=
n issue where the URL path has to be duplicated in the controller code an=
d therefore causes the maintainance of paths in two places.
For example:
<bean id=3D"urlMapping" class=3D"org.springframework.web.servlet.handler.=
SimpleUrlHandlerMapping">
<property name=3D"interceptors">
<list>
<ref bean=3D"localeChangeInterceptor" />
</list>
</property>
<property name=3D"mappings">
<props>
<prop key=3D"/index.htm">homeController</prop>
<prop key=3D"/secure/main.htm">homeController</prop>
</props>
</property>
</bean>
Since the path is the key (e.g. /secure/main.htm), there is no way to get=
to this path in your controller code when preparing (e.g. a breadcrumb) =
for a dynamic view but to duplicate the path in the controller (or a reso=
urce bundle, another bean etc.). Even in using the mappings property of t=
he SimpleUrlHandleMapping bean, since the paths are the keys, you will ne=
ed to know the path therefore changing the path in the SimpleUrlHandleMap=
ping, will warrant a change in the application code which uses that path =
within a breadcrumb path scenario.
My preferance would be to see that the mappings property in the URL is no=
t keyed off the actual path itself but given a name as done in views.prop=
erties (e.g. main.url) so that this can be used in the application code a=
s a maping to the actual path and therefore the maintenance would only ne=
ed to be done in the SimpleUrlHandleMapping bean definition.
Maybe one way around this is to use XML Entities or something similar. I =
think some discussions around those were going on recently.=
|
|
From: Rod J. <rod...@in...> - 2004-08-07 18:40:35
|
As Colin surmises, this is the intended behaviour (first match found). It could possibly be changed if people object, but I think that style of overloading is really the problem. R ----- Original Message ----- From: "Rob Harrop" <ro...@ca...> To: <spr...@li...> Sent: Thursday, August 05, 2004 3:54 PM Subject: Re: [Springframework-developer] Method Replacement > I agree about not using compatible types for overloading - this is > actually an example I am writing for some one to explain how method > replacement works and I came across this behavior and wondered if it is > desirable. > > Rob > > Colin Sampaleanu wrote: > > > Rob Harrop wrote: > > > >> All, > >> > >> I am noticing some strange behavior when using method replacement. > >> > >> I have a bean that has two methods: foo(String) and foo(Object). My > >> method replacer will only replace foo(String) and in my configuration > >> I specify: > >> > >> <replaced-method name="fooBean" replacer="methodReplacer"> > >> <arg-type>String</arg-type> > >> </replaced-method> > >> > >> Yet the method replacer is getting invoked whenever I invoke > >> foo(Object) is this correct or is this a bug? > >> > >> rob > > > > > > Rod can give a qualified answer, but I think that this is probably > > happening due to the way that resolution is happening, where the > > arg-type will match any target method that can take that arg type. In > > general, it's not a great practice in your classes to overload methods > > such that one method takes a superclass of another... > > > > Colin > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > one more big change to announce. We are now OSTG- Open Source Technology > > Group. Come see the changes on the new OSTG site. www.ostg.com > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: <al...@jt...> - 2004-08-06 23:09:32
|
<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.72</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>08/07/2004 00:16:23</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 14 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>08/06/2004 12:50:09</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>fixed code example</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: =
(2) </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">docs/reference/src/aop.xml</td=
><td class=3D"modifications-data">fixed code example</td></tr><tr class=3D"=
modifications-oddrow"><td class=3D"modifications-data">modified</td><td cla=
ss=3D"modifications-data">davison</td><td class=3D"modifications-data">docs=
/reference/src/beans.xml</td><td class=3D"modifications-data">sample code f=
ixes</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: Estes, J. D - S. L. M. <jam...@us...> - 2004-08-06 14:23:30
|
I'm constantly converting from util.Date to sql.Date in my Dao when I'm
passing my params to the MappingSqlQuery's execute method...not a huge
deal, its just annoying when I forget and then see it pop up at runtime.
I was wondering if spring could step in and do the conversion for me. I
believe this should really be a feature of the DB Driver, but at least
for Oracle, it complains when I try to bind a util date to a parameter
declared as a Types.DATE (stack trace snippet below). I realize that
with a sql date the time information should/will be truncated, but I
think that is the expected behavior anyway since I'm saying the type is
a Types.DATE. =20
I did some digging and found where it would be nice to have the
conversion done for me:
StatementCreatorUtils, line 106...something like
else if (sqlType =3D=3D Types.DATE && (inValue instanceof =
java.util.Date)) {
ps.setObject(paramIndex,=20
new java.sql.Date(((java.util.Date)inValue).getTime()));
}
...could be inserted.
Would this be possible? Or are there some deeper issues I'm not
thinking about. I'm pretty sure this would work well for Oracle, but
not sure about other DBs.
Thanks,
James
java.sql.SQLException: Invalid conversion requested
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at
oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedState
ment.java:3017)
at
oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedState
ment.java:3107)
at
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.setObject(WSJdbcPrepar
edStatement.java:1088)
at
org.springframework.jdbc.core.StatementCreatorUtils.setParameterValue(St
atementCreatorUtils.java:107)
|
|
From: Thomas R. <tho...@tr...> - 2004-08-06 13:21:55
|
Danilo, I have the basic functionality done and it's just a matter of fixing up the JavaDoc and documentation. This can hopefully be done before 1.1 final. If not it will be part of 1.2. I will probably add support for an updatable RowSet in 1.2. Thomas Danilo Luiz Rheinheimer wrote: > Thomas Risberg wrote: > >> We have some code in the sandbox that allows you to retrieve a cached >> rowset ... > > > Will the queryForRowSet included on Spring 1.1 ? > I think this is usefull and easy to implement. > Are there any reason to not include it ? > > Danilo. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > |
|
From: <jue...@we...> - 2004-08-05 23:17:48
|
Such a JmsGatewaySupport base class sounds like a good idea. The name is =
also appropriate, as it isn't a DAO and thus shouldn't be called =
JmsDaoSupport. The implementation should be straightforward: Basically, =
holding a JmsTemplate and offering one setter for a direct JmsTemplate =
instance and one for a ConnectionFactory (which automatically creates a =
JmsTemplate for it). That would be analogous to JdbcDaoSupport, =
HibernateDaoSupport etc.
=20
Juergen
=20
________________________________
Von: spr...@li... im Auftrag =
von Mark Pollack
Gesendet: Do 05.08.2004 18:48
An: spr...@li...
Betreff: RE: [Springframework-developer] Re: JmsTemplate102
Hi,
Interesting, I guess you would like to have it as a convenience class to
write code like this
public class JmsOrderGateway extends JmsGatewaySupport implement
OrderService
{
public void sendOrder(Order o)
{
getJmsTemplate().send(o);
}
}
In this case you would configure the JmsOrderGateway with an instance of
JmsTemplate that has a default destination and MessageConverter to =
convert
an Order object to jms messages. Another stub implementation of
OrderService could be used for testing purposes.... Or maybe one based =
on
email? MailGatewaySupport anyone?
One difference with the DAO analogy is that there is not a corresponding
unified exception hierarchy across different messaging systems. We had
thought of providing a common messaging exception hierarchy but it =
didn't
seem there was enough meaningful overlap among different messaging
implementations to provide value and the JMS hierarchy is pretty good.
Certainly interested in discussing the point some more though...
Cheers,
Mark
> -----Original Message-----
> From: spr...@li...
> [mailto:spr...@li...]
> On Behalf Of Stig Kleppe-Jorgensen
> Sent: Wednesday, August 04, 2004 5:30 AM
> To: spr...@li...
> Subject: [Springframework-developer] Re: JmsTemplate102
>
>
> j=FCrgen h=F6ller[ werk3AT] <juergen.hoeller <at> werk3at.com> writes:
>
> >
> > Well, given that JmsTemplate for JMS 1.1 can use a uniform manner of
> accessing queues and topic, and that
> > JmsTemplate itself already has a pubSubDomain property (for
> creating
> > dynamic
> destinations), we
> > thought that JmsTemplate102 should use the same approach.
> >
> > I agree that separate QueueJmsTemplate and TopicJmsTemplate
> subclass
> > of
> JmsTemplate would have been a
> > viable strategy too. The pubSubDomain flag would have been somewhat
> > confusing
> there, though.
> >
> > After all, the JMS 1.0.2 style is not for the long term
> anyway, as I
> > expect
> it to be superseded by JMS 1.1 quite
> > quickly. That's also the reason why JmsTemplate is not called
> > JmsTemplate11
> anymore but rather uses the
> > generic name.
>
> Ok, that sounds good :-)
>
> Are you planning to add a JmsDaoSupport (like
> HibernateDaoSupport) as a convenience class? I've done that
> myself in code I'm writing and think it works out well.
>
> Regards,
> Stig
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the
> changes on Linux.com, ITManagersJournal and NewsForge in the
> past few weeks? Now, one more big change to announce. We are
> now OSTG- Open Source Technology Group. Come see the changes
> on the new OSTG site. www.ostg.com
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: <al...@jt...> - 2004-08-05 23:09:25
|
<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.71</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>08/06/2004 00:15:50</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 15 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>08/05/2004 19:10:59</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>refined Resource and MimeMessageHelper</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: =
(23) </td></tr><tr class=3D"modifications-evenrow"><td =
class=3D"modifications-data">modified</td><td class=3D"modifications-data">=
jhoeller</td><td class=3D"modifications-data">/changelog.txt</td><td class=
=3D"modifications-data">refined Resource and MimeMessageHelper</td></tr><tr=
class=3D"modifications-oddrow"><td class=3D"modifications-data">modified</=
td><td class=3D"modifications-data">jhoeller</td><td class=3D"modifications=
-data">src/org/springframework/mail/javamail/MimeMessageHelper.java</td><td=
class=3D"modifications-data">added "isMultipart", "getMimeMultipart", "add=
Inline" methods</td></tr><tr class=3D"modifications-evenrow"><td class=3D"m=
odifications-data">modified</td><td class=3D"modifications-data">jhoeller</=
td><td class=3D"modifications-data">src/org/springframework/core/io/UrlReso=
urce.java</td><td class=3D"modifications-data">added "getFilename" and "cre=
ateRelative" methods to Resource interface, provided more efficient "equals=
" and "hashCode" implementations</td></tr><tr class=3D"modifications-oddrow=
"><td class=3D"modifications-data">modified</td><td class=3D"modifications-=
data">jhoeller</td><td class=3D"modifications-data">src/org/springframework=
/core/io/AbstractResource.java</td><td class=3D"modifications-data">added "=
getFilename" and "createRelative" methods to Resource interface, provided m=
ore efficient "equals" and "hashCode" implementations</td></tr><tr class=3D=
"modifications-evenrow"><td class=3D"modifications-data">modified</td><td c=
lass=3D"modifications-data">jhoeller</td><td class=3D"modifications-data">s=
rc/org/springframework/core/io/ClassPathResource.java</td><td class=3D"modi=
fications-data">added "getFilename" and "createRelative" methods to Resourc=
e interface, provided more efficient "equals" and "hashCode" implementation=
s</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-da=
ta">modified</td><td class=3D"modifications-data">jhoeller</td><td class=3D=
"modifications-data">src/org/springframework/core/io/FileSystemResource.jav=
a</td><td class=3D"modifications-data">added "getFilename" and "createRelat=
ive" methods to Resource interface, provided more efficient "equals" and "h=
ashCode" implementations</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/core/i=
o/Resource.java</td><td class=3D"modifications-data">added "getFilename" an=
d "createRelative" methods to Resource interface, provided more efficient "=
equals" and "hashCode" implementations</td></tr><tr class=3D"modifications-=
oddrow"><td class=3D"modifications-data">modified</td><td class=3D"modifica=
tions-data">jhoeller</td><td class=3D"modifications-data">src/org/springfra=
mework/web/context/support/ServletContextResource.java</td><td class=3D"mod=
ifications-data">added "getFilename" and "createRelative" methods to Resour=
ce interface, provided more efficient "equals" and "hashCode" implementatio=
ns</td></tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-=
data">modified</td><td class=3D"modifications-data">jhoeller</td><td class=
=3D"modifications-data">docs/reference/src/beans.xml</td><td class=3D"modif=
ications-data">fixed example code</td></tr><tr class=3D"modifications-oddro=
w"><td class=3D"modifications-data">modified</td><td class=3D"modifications=
-data">kdonald</td><td class=3D"modifications-data">sandbox/src/org/springf=
ramework/rules/values/CompoundFormModel.java</td><td class=3D"modifications=
-data">support for enabling/disabling form models, for convenient ignoring =
of "optional" forms</td></tr><tr class=3D"modifications-evenrow"><td class=
=3D"modifications-data">modified</td><td class=3D"modifications-data">kdona=
ld</td><td class=3D"modifications-data">sandbox/src/org/springframework/rul=
es/values/DefaultFormModel.java</td><td class=3D"modifications-data">suppor=
t for enabling/disabling form models, for convenient ignoring of "optional"=
forms</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modificatio=
ns-data">modified</td><td class=3D"modifications-data">kdonald</td><td clas=
s=3D"modifications-data">sandbox/src/org/springframework/rules/values/FormM=
odel.java</td><td class=3D"modifications-data">support for enabling/disabli=
ng form models, for convenient ignoring of "optional" forms</td></tr><tr cl=
ass=3D"modifications-evenrow"><td class=3D"modifications-data">modified</td=
><td class=3D"modifications-data">kdonald</td><td class=3D"modifications-da=
ta">sandbox/src/org/springframework/rules/values/ValidatingFormModel.java</=
td><td class=3D"modifications-data">support for enabling/disabling form mod=
els, for convenient ignoring of "optional" forms</td></tr><tr class=3D"modi=
fications-oddrow"><td class=3D"modifications-data">modified</td><td class=
=3D"modifications-data">johnsonr</td><td class=3D"modifications-data">src/o=
rg/springframework/beans/factory/config/PropertyOverrideConfigurer.java</td=
><td class=3D"modifications-data">Minor refactoring to open up applying pro=
perties and add hasPropertyOverrides() method</td></tr><tr class=3D"modific=
ations-evenrow"><td class=3D"modifications-data">modified</td><td class=3D"=
modifications-data">dkopylenko</td><td class=3D"modifications-data">src/org=
/springframework/aop/framework/ProxyFactoryBean.java</td><td class=3D"modif=
ications-data">Got rid of AspectException import</td></tr><tr class=3D"modi=
fications-oddrow"><td class=3D"modifications-data">modified</td><td class=
=3D"modifications-data">dkopylenko</td><td class=3D"modifications-data">src=
/org/springframework/aop/framework/ProxyFactoryBean.java</td><td class=3D"m=
odifications-data">There is no need for setProxyInterfaces() to declare tha=
t it throws AspectException. It does not.</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">samples/jpets=
tore/src/org/springframework/samples/jpetstore/web/spring/OrderFormControll=
er.java</td><td class=3D"modifications-data">no processCancel and isFormSub=
mission necessary anymore</td></tr><tr class=3D"modifications-oddrow"><td c=
lass=3D"modifications-data">modified</td><td class=3D"modifications-data">j=
hoeller</td><td class=3D"modifications-data">src/org/springframework/web/se=
rvlet/mvc/AbstractCommandController.java</td><td class=3D"modifications-dat=
a">no method parameter alignment</td></tr><tr class=3D"modifications-evenro=
w"><td class=3D"modifications-data">modified</td><td class=3D"modifications=
-data">jhoeller</td><td class=3D"modifications-data">src/org/springframewor=
k/web/servlet/mvc/AbstractFormController.java</td><td class=3D"modification=
s-data">no method parameter alignment</td></tr><tr class=3D"modifications-o=
ddrow"><td class=3D"modifications-data">modified</td><td class=3D"modificat=
ions-data">jhoeller</td><td class=3D"modifications-data">src/org/springfram=
ework/web/servlet/mvc/SimpleFormController.java</td><td class=3D"modificati=
ons-data">no method parameter alignment</td></tr><tr class=3D"modifications=
-evenrow"><td class=3D"modifications-data">modified</td><td class=3D"modifi=
cations-data">jhoeller</td><td class=3D"modifications-data">src/org/springf=
ramework/web/servlet/mvc/AbstractWizardFormController.java</td><td class=3D=
"modifications-data">turned validatePage and processCancel non-abstract, ad=
ded overloaded validatePage version, overrode isFormSubmission to check isF=
inish and isCancel</td></tr><tr class=3D"modifications-oddrow"><td class=3D=
"modifications-data">modified</td><td class=3D"modifications-data">colins</=
td><td class=3D"modifications-data">/.classpath</td><td class=3D"modificati=
ons-data">add jsf-api.jar</td></tr><tr class=3D"modifications-evenrow"><td =
class=3D"modifications-data">modified</td><td class=3D"modifications-data">=
kdonald</td><td class=3D"modifications-data">sandbox/src/org/springframewor=
k/rules/predicates/CompoundUnaryPredicate.java</td><td class=3D"modificatio=
ns-data">made serializable</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: Darren D. <da...@da...> - 2004-08-05 22:29:55
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 05 August 2004 21:47, Tim Kettering wrote: > Just noticed this a minute ago.. (again in the same code example) - the > ref bean examples seem to be closed out incorrectly. (two instances - > see below). fixed too. Thanks Tim. =2D --=20 Darren Davison Public Key: http://www.davison.uk.net/pages/key.htm =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBErTdKLMLAN01aw0RAjv+AJ9ZA38KQ8dOEbm/H9Hs51Ani/jkewCbBB35 t371Pvd0emPiVMgP7bWbI4Y=3D =3DSpIv =2D----END PGP SIGNATURE----- |
|
From: Gamal <gam...@ag...> - 2004-08-05 21:15:50
|
Hello,
In the country example you have the following:
public ModelAndView handleMain(HttpServletRequest request, =
HttpServletResponse response) throws ServletException {
RefreshablePagedListHolder listHolder =3D =
(RefreshablePagedListHolder) request.getSession(true).getAttribute =
(COUNTRIES_ATTR);
if (null =3D=3D listHolder) {
listHolder =3D new RefreshablePagedListHolder();
listHolder.setSourceProvider(new CountriesProvider());
listHolder.setFilter(new CountriesFilter());
request.getSession(true).setAttribute(COUNTRIES_ATTR, listHolder);
}
BindException ex =3D BindUtils.bind(request, listHolder, "countries");
listHolder.setLocale(RequestContextUtils.getLocale(request));
boolean forceRefresh =3D request.getParameter("forceRefresh") !=3D =
null;
listHolder.refresh(forceRefresh);
return new ModelAndView(mainView, ex.getModel());
}
From this code, I have the following comment and question:
=20
You are setting the CountriesProvider as sourceProvider, but this class =
is a CountriesController Nested class so you are putting in the session =
indirectly all the controller with the dao and other fields of this =
controller. I think that this is not so good therefore I want to ask to =
you if you have other options to do this.
Thanks in advance
Gamal
|
|
From: Tim K. <tim...@vi...> - 2004-08-05 20:48:06
|
Just noticed this a minute ago.. (again in the same code example) - the
ref bean examples seem to be closed out incorrectly. (two instances -
see below). I guess this illustrates how dangerous cut/paste/modify
can be. :D
<!-- results in a setSomeMap(java.util.Map) call -->
<property name="someMap">
<map>
<entry key="yup an entry">
<value>just some string</value>
</entry>
<entry key="yup a ref">
<ref bean="myDataSource"</ref> // <!---------
CLOSED OUT INCORRECTLY
</entry>
</map>
</property>
<!-- results in a setSomeSet(java.util.Set) call -->
<property name="someSet">
<set>
<value>just some string</value>
<ref bean="myDataSource"</ref> // <!-- CLOSED OUT
INCORRECTLY
</map>
</property>
On Aug 5, 2004, at 12:29 PM, Colin Sampaleanu wrote:
> Thanks, fixed...
>
> Tim Kettering wrote:
>
>>
>> Don't know if this already has been reported, but on the online user
>> reference document in section 3.3.2, the code example seems to have
>> the wrong closing tag. (should be </set> not </map>)
>>
>> <!-- results in a setSomeSet(java.util.Set) call -->
>> <property name="someSet">
>> <set>
>> <value>just some string</value>
>> <ref bean="myDataSource"</ref>
>> </map>
>> </property>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by OSTG. Have you noticed the changes
>> on
>> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
>> one more big change to announce. We are now OSTG- Open Source
>> Technology
>> Group. Come see the changes on the new OSTG site. www.ostg.com
>> _______________________________________________
>> Springframework-developer mailing list
>> Spr...@li...
>> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source
> Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
|
|
From: Gamal <gam...@ag...> - 2004-08-05 20:29:48
|
Hello,
In the country example you have the following:
public ModelAndView handleMain(HttpServletRequest request, =
HttpServletResponse response) throws ServletException {
RefreshablePagedListHolder listHolder =3D =
(RefreshablePagedListHolder) request.getSession(true).getAttribute =
(COUNTRIES_ATTR);
if (null =3D=3D listHolder) {
listHolder =3D new RefreshablePagedListHolder();
listHolder.setSourceProvider(new CountriesProvider());
listHolder.setFilter(new CountriesFilter());
request.getSession(true).setAttribute(COUNTRIES_ATTR, listHolder);
}
BindException ex =3D BindUtils.bind(request, listHolder, "countries");
listHolder.setLocale(RequestContextUtils.getLocale(request));
boolean forceRefresh =3D request.getParameter("forceRefresh") !=3D =
null;
listHolder.refresh(forceRefresh);
return new ModelAndView(mainView, ex.getModel());
}
From this code, I have the following comment and question:
=20
You are setting the CountriesProvider as sourceProvider, but this class =
is a CountriesController Nested class so you are putting in the session =
indirectly all the controller with the dao and other fields of this =
controller. I think that this is not so good therefore I want to ask to =
you if you have other options to do this.
Thanks in advance
Gamal
|
|
From: Mark P. <mar...@co...> - 2004-08-05 19:39:04
|
Hi, I for one would certainly be interested in taking a closer look at what you have done. - Mark > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] > On Behalf Of eu > Sent: Thursday, August 05, 2004 12:55 PM > To: spr...@li... > Subject: [Springframework-developer] generic j2ee connector for JMS > > > Hi, > > I've implemented a generic utility CCI and non-CCI JCA 1.0 > connector > for JMS. The primary goal is to get container managed > connection pooling > (container wide pooling) and declarative transaction support for > external JMS servers or/and interdomain communication (especially for > outbound calls). > > It is been tested on Weblogic 7 and MQSeries 5.3 with XA. > Perhaps it > will be also more natural solution for Weblogic 8 as an > alternative to > its proprietory foreighn JMS provider feature (which is not > awailable in > Weblogic 7). > > Also it seems that non-CCI version (which is exposing JMS > API) work > quite well with new Spring JMS framework. > > If anybody is interested please let me know. I'd like to > release code > under Apache-like license but rightn now not sure where to host it. > > regards, > Eugene > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the > changes on Linux.com, ITManagersJournal and NewsForge in the > past few weeks? Now, one more big change to announce. We are > now OSTG- Open Source Technology Group. Come see the changes > on the new OSTG site. www.ostg.com > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: eu <eu...@pl...> - 2004-08-05 16:54:58
|
Hi, I've implemented a generic utility CCI and non-CCI JCA 1.0 connector for JMS. The primary goal is to get container managed connection pooling (container wide pooling) and declarative transaction support for external JMS servers or/and interdomain communication (especially for outbound calls). It is been tested on Weblogic 7 and MQSeries 5.3 with XA. Perhaps it will be also more natural solution for Weblogic 8 as an alternative to its proprietory foreighn JMS provider feature (which is not awailable in Weblogic 7). Also it seems that non-CCI version (which is exposing JMS API) work quite well with new Spring JMS framework. If anybody is interested please let me know. I'd like to release code under Apache-like license but rightn now not sure where to host it. regards, Eugene |
|
From: <jue...@we...> - 2004-08-05 16:52:18
|
Indeed, those properties are used for overriding the corresponding = values in the JavaMail session, which is explicitly supported by the = JavaMail API. They don't need to be set on the session, which allows the = session to just define shared settings (for example, in case of a = session fetched from JNDI). Of course you can configure everything via JavaMail properties. But you = can also use JavaMailSenderImpl's bean properties, not caring about = JavaMail session in the first place. I do believe that there is value in = both, so I'd like to keep both options - which is more or less necessary = for backwards compatibility anyway... Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Alef Arendsen Sent: Thursday, August 05, 2004 5:39 PM To: spr...@li... Subject: [Springframework-developer] JavaMailSenderImpl - bug & removal of setters?? Guys, I tried to send mail today using JavaMailSenderImpl and came across the fact that the host, username, password and port, protocol properties aren't in fact used to configure the session at all (unless I'm totally mistaken) ... It also seems a bit silly to provide setters for properties you can also set using the javaMailProperties property... We either have to make the host/user/pass/port/protocol properties work (i.e. configure the session using them) or remove them completely, letting the user configure the session either himself, or by using the javaMailProperties property. I opt for the latter... Anybody? Alef ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |