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: <jue...@we...> - 2004-08-02 15:10:17
|
Thanks for spotting those, Claus!
I've just addressed most of them; the only remaining ones are:
Missing javadoc for class/interface:
- org.springframework.aop.framework.AdvisedSupportListener
- org.springframework.aop.framework.AopProxy
Rod, can you please add class-level javadoc for those two?
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf
Of Claus Ibsen
Sent: Monday, August 02, 2004 4:17 PM
To: spr...@li...
Subject: [Springframework-developer] More minor typos in javadoc
(cosmetic)
Hi
Yeah I browsed some of the javadoc for v1.1RC1 to get more familiar with =
Spring.
I have some time once in a while at work since I am waiting for BEA =
Workshop to
finish compiling or BEA Portal Server to startup - usually 3-5 min.
Crap this is slow development environment. But hey you got to do a
living and our current project involves these '(un)development =
environments'.
So in my dream of being free again using whatever editor and ant
build system and without an EJB container I check out spring.
Well anyway here are my disconveries (javadoc only):
Missing javadoc for class/interface:
- org.springframework.aop.framework.AdvisedSupportListener
- org.springframework.aop.framework.AopProxy
- org.springframework.jms.connection.JmsTransactionManager
- org.springframework.scheduling.quartz.SchedulerFactoryBean.
DelayedSchedulerStartException
- =
org.springframework.scheduling.quartz.ResourceJobSchedulingDataProcessor.=
JobSchedulingDataInitializationException
- rg.springframework.web.servlet.mvc.throwaway.
ThrowawayControllerHandlerAdapter
- org.springframework.web.servlet.view.AbstractTemplateViewResolver
Other:
- org.springframework.dao.ConcurrencyFailureException
(wrong spellings: aconcurrency =3D> a concurrency, failur =3D> =
failure)
- org.springframework.ejb.support
(missing end paranthesis in the package description)
- org.springframework.jdbc.object.RdbmsOperation
(should use the 2nd sentense as the first sentense to have better
overview description)
-------------------------------------------------------
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: Claus I. <cs...@ma...> - 2004-08-02 14:23:04
|
Hi
Yeah I browsed some of the javadoc for v1.1RC1 to get more familiar with Spring.
I have some time once in a while at work since I am waiting for BEA Workshop to
finish compiling or BEA Portal Server to startup - usually 3-5 min.
Crap this is slow development environment. But hey you got to do a
living and our current project involves these '(un)development environments'.
So in my dream of being free again using whatever editor and ant
build system and without an EJB container I check out spring.
Well anyway here are my disconveries (javadoc only):
Missing javadoc for class/interface:
- org.springframework.aop.framework.AdvisedSupportListener
- org.springframework.aop.framework.AopProxy
- org.springframework.jms.connection.JmsTransactionManager
- org.springframework.scheduling.quartz.SchedulerFactoryBean.
DelayedSchedulerStartException
- org.springframework.scheduling.quartz.ResourceJobSchedulingDataProcessor.
JobSchedulingDataInitializationException
- rg.springframework.web.servlet.mvc.throwaway.
ThrowawayControllerHandlerAdapter
- org.springframework.web.servlet.view.AbstractTemplateViewResolver
Other:
- org.springframework.dao.ConcurrencyFailureException
(wrong spellings: aconcurrency => a concurrency, failur => failure)
- org.springframework.ejb.support
(missing end paranthesis in the package description)
- org.springframework.jdbc.object.RdbmsOperation
(should use the 2nd sentense as the first sentense to have better
overview description)
|
|
From: Stig Kleppe-J. <sj...@on...> - 2004-08-02 14:01:52
|
Hi! Just playing around with the JMS-support (it's looking great!) and was puzzled that JmsTemplate102 is not divided in 2 classes, one for Queues and one for Topics. Are there any reasons why this is not done? Looks like a better OO solution than having a bunch of if/else's... Regards, Stig Kleppe-Jorgensen |
|
From: Rob H. <ro...@ca...> - 2004-08-02 13:20:57
|
Everyone, I finished off the inital stage of work on JMX attribute change notifications. Added a bunch of tests to verify that these work. May need to do some refactoring to enable a few more methods to have better coverage, but for now the code is working and can be tested out. I don't have much time this week, but I imagine I should have enough time to get the basics of MBean registration done, so that Spring can actually register the user's own MBeans. Plus I want to get the basics of an adapter host in place to host adaptors of different implementations such as SUN RI and MX4J. Next week I'll most likely start on either notifications through AOP or JSR 160 integration. Also want to add JmxTemplate which may be useful and finish of the JDK proxy. I'll certainly add proxying to the JSR160 support so that remote JMX resources can be accessed using a proxy instead of the JSR 160 classes. I also want to look at making BeanFactories available via JMX and it would be cool if I could add a persistence scheme to the MBeans so that when an attribute changes in JMX it can be written back to the BeanFactory. Rob |
|
From: Alef A. <al...@jt...> - 2004-08-02 08:53:56
|
Thanks for spotting this, I've just updated the JavaDoc. Alef =20 > -----Original Message----- > From: spr...@li...=20 > [mailto:spr...@li...] > On Behalf Of Claus Ibsen > Sent: Monday, August 02, 2004 10:46 AM > To: spr...@li... > Subject: [Springframework-developer] Typo in javadoc for=20 > v1.1RC1 (cosmetic) >=20 > Hi >=20 > It is me again with the picky details. >=20 > It is the class description for: > org.springframework.ui.context.Theme=20 >=20 > A Theme can resolve theme-specific messages, codes, file=20 > paths, etc (e.g. CSS and image files in a web environment).=20 >=20 > The dot's in e.g. ends the sentence in the package overview as: > A Theme can resolve theme-specific messages, codes, file=20 > paths, etc (e.g. >=20 > You could replace the dots in e.g. with . >=20 > A Theme can resolve theme-specific messages, codes, file=20 > paths, etc (e.g. CSS and image files in a web environment).=20 >=20 > /Claus >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the=20 > changes on Linux.com, ITManagersJournal and NewsForge in the=20 > past few weeks? Now, one more big change to announce. We are=20 > now OSTG- Open Source Technology Group. Come see the changes=20 > on the new OSTG site. www.ostg.com=20 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 >=20 >=20 >=20 |
|
From: Claus I. <cs...@ma...> - 2004-08-02 08:40:46
|
Hi It is me again with the picky details. It is the class description for: org.springframework.ui.context.Theme A Theme can resolve theme-specific messages, codes, file paths, etc (e.g. CSS and image files in a web environment). The dot's in e.g. ends the sentence in the package overview as: A Theme can resolve theme-specific messages, codes, file paths, etc (e.g. You could replace the dots in e.g. with . A Theme can resolve theme-specific messages, codes, file paths, etc (e.g. CSS and image files in a web environment). /Claus |
|
From: Oliver H. <Ol...@ou...> - 2004-08-02 00:35:05
|
J=FCrgen, all,
I committed my remoting code to the Spring RCP sandbox last Friday but =
was holding off on letting anyone know as I haven't ironed out the proxy =
generation just yet (not sure whether to use the Spring or JDK proxy =
code), check it out.=20
> What approach is your current prototype using? Do you use
> org.springframework.remoting.support.RemoteInvocation or some=20
> custom class for representing invocations? What do you think=20
> about the above approach, and about adding generic support=20
> for retry strategies across all of Spring's supported=20
> remoting protocols?
Internally I use my own custom invocation (called .Request) and =
InvocationResult (.Reply) classes but essentially the invocation class =
is almost identical to the Spring RemoteInvocation (in my class the =
parameter types are encoded in the method name rather than being =
transferred as an array). I also have a set of drop in replacements for =
HessianProxyFactoryBean and HessianServiceExporter with full support =
BASIC authentication but on top of that my system also has pluggable =
protocols and transports (though I've only implemented HTTP and =
serialization).
The most interesting thing IMO from my code is probably the retry stuff. =
The biggest issue with any kind of retry system is to make sure we =
*never* invoke a remote method twice unless we know for sure it is safe =
to do so. I.e. We certainly wouldn't want any CRUD operation to be =
executed twice but perhaps we wouldn't mind if a query operation was. To =
allow the remoting system to make a decision about retry I have the =
following:
public interface RetryDecisionManager {
public boolean shouldRetry(Request request, int retryNumber, =
SimpleRemotingException e); =20
}
And to help the RetryDecisionManager every SimpleRemotingException has a =
property "recoverable". Throughout my code wherever a =
SimpleRemotingException is thrown I've tried to categorize the =
recoverability of the exception into 3 states:
1) Recoverable=3DYES is any exception where the system is sure that the =
remote method was *not* invoked.
2) Recoverable=3DNO is any exception where the system is sure that the =
remote method *was* invoked. =20
3) Recoverable=3DMAYBE is any exception where the system has no idea =
whether the remote method was or was not invoked. This is the most =
common case.
So a simplistic RetryDecisionManager might just be something like this:
// Only retry when we are certain the remote method was not invoked and =
only
// retry a maximum of 10 times.
public boolean shouldRetry(Request request, int retryNumber, =
SimpleRemotingException e) {
return e.isRecoverable() =3D=3D Recoverable.YES && retryNumber < 3;
}=09
A more complex one might also have a look at the request:
// Only retry when we are certain the remote method was not invoked or =
the
// remote method is a finder.
public boolean shouldRetry(Request request, int retryNumber, =
SimpleRemotingException e) {
return e.isRecoverable() =3D=3D Recoverable.YES=20
|| request.getMethodDesc().indexof("find") !=3D -1;
}=09
Or perhaps even ask for some user input:
public boolean shouldRetry(Request request, int retryNumber, =
SimpleRemotingException e) {
return JOptionPane.showConfirmDialog(parentComponent, "There was a =
problem connecting to the server: " + e.getMessage() + ". Do you wish to =
retry?") =3D=3D JOptionPane.YES_OPTION;
}
Another nice feature is that authentication is done using a callback =
which is invoked for every request:
public interface AuthenticationCallback {
public Authentication authenticate(Request request);
}
public interface Authentication {
public Object getPrincipal();
public Object getCredentials();
}
At the moment the system only does BASIC authentication but other =
methods could be added.
In addition to this there's also some progress tracking support code and =
invocation interception stuff bit this is not very well developed.=20
Anyway please check it out and let me know whether you think any of it's =
useful. I think it would be a big value add if Spring provided a really =
nice remoting implementation with good retry, progress and security =
support.=20
Ollie
|
|
From: <al...@jt...> - 2004-08-01 23:12:34
|
<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.68</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>08/02/2004 00:16:10</td></tr><=
tr><td class=3D"header-data"><span class=3D"header-label">Time to build:&nb=
sp;</span>13 minutes 19 seconds</td></tr><tr><td class=3D"header-data"><spa=
n class=3D"header-label">Last changed: </span>08/01/2004 19:03:29</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>Missing static factory method now throws better exception<=
/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: =
(3) </td></tr><tr class=3D"modifications-evenrow"><td c=
lass=3D"modifications-data">modified</td><td class=3D"modifications-data">j=
ohnsonr</td><td class=3D"modifications-data">test/org/springframework/beans=
/factory/xml/XmlBeanFactoryTestSuite.java</td><td class=3D"modifications-da=
ta">Missing static factory method now throws better exception</td></tr><tr =
class=3D"modifications-oddrow"><td class=3D"modifications-data">modified</t=
d><td class=3D"modifications-data">johnsonr</td><td class=3D"modifications-=
data">test/org/springframework/beans/factory/xml/factory-methods.xml</td><t=
d class=3D"modifications-data">Missing static factory method now throws bet=
ter exception</td></tr><tr class=3D"modifications-evenrow"><td class=3D"mod=
ifications-data">modified</td><td class=3D"modifications-data">johnsonr</td=
><td class=3D"modifications-data">src/org/springframework/beans/factory/sup=
port/AbstractAutowireCapableBeanFactory.java</td><td class=3D"modifications=
-data">Missing static factory method now throws better exception</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: Seth L. <set...@gm...> - 2004-08-01 21:36:40
|
On Sun, 1 Aug 2004 21:41:24 +0200, j=FCrgen h=F6ller [werk3AT] <jue...@we...> wrote: > Ollie, all, >=20 > I've been carrying around the idea of HTTP-based remoting with Java seria= lization myself for quite a while, but not added it to Spring yet, focussin= g on the RMI invoker and Hessian instead. Good to see that there's interest= in such an approach, and good to see that you're already prototyping a sol= ution! >=20 > Today I've played a bit with a simple implementation myself: an exporter = and a proxy factory that simply serialize RemoteInvocation and RemoteInvoca= tionResult objects over HTTP. Each is just about 50 lines of code currently= . The exporter is a Spring web controller, just like HessianServiceExporter= , participating in Spring's web framework. The proxy factory uses Commons H= ttpClient to access a specified service URL. Server and client side just in= teract with RemoteInvocation and RemoteInvocationResult objects. >=20 +1 !! No more Burlap hacks. :) Thanks, Seth |
|
From: <jue...@we...> - 2004-08-01 19:39:01
|
Ollie, all, =20 I've been carrying around the idea of HTTP-based remoting with Java = serialization myself for quite a while, but not added it to Spring yet, = focussing on the RMI invoker and Hessian instead. Good to see that = there's interest in such an approach, and good to see that you're = already prototyping a solution! =20 Today I've played a bit with a simple implementation myself: an exporter = and a proxy factory that simply serialize RemoteInvocation and = RemoteInvocationResult objects over HTTP. Each is just about 50 lines of = code currently. The exporter is a Spring web controller, just like = HessianServiceExporter, participating in Spring's web framework. The = proxy factory uses Commons HttpClient to access a specified service URL. = Server and client side just interact with RemoteInvocation and = RemoteInvocationResult objects. =20 I've reused some of the code from Spring's RMI invoker mechanism here, = which I already designed as generic remoting support. As with the RMI = invoker, it's straightforward to add further context information to = RemoteInvocation, by using an appropriate subclass: for example, user = credentials. It's even the very same mechanism for both, just going = through the RMI subsystem in the one case and serializing over HTTP in = the other case! =20 My current prototype is deliberately as simple as possible: It is = designed as drop-in replacement for HessianProxyFactoryBean and = HessianServiceExporter, using analogous configuration style (i.e. one = exporter per service). The only Hessian feature it doesn't support yet = is HTTP basic authentication - which you can define in Hessian to = authenticate against the server (not necessarily for passing along = application-specific user credentials). =20 I'm surprised by how simple this was: It didn't take much more than two = hours of initial coding and testing. Of course, it lacks support for = retries and for progress bars at this point of time. Nevertheless, we = certainly have similar goals here: So I suggest to merge our efforts. If = we do retries in standard Spring, I'd like to add this in a generic = fashion for all of Spring's supported remoting protocols. Progress bars = is harder, as we need hooks into the streaming code here. =20 I'm inclined to add my basic version of this to Spring 1.1 final, as it = is so straightforward and so analogous to the existing Hessian / Burlap = / RMI invoker support. Retry strategies etc are definitely a 1.2 = feature, though. My biggest issue is the naming, actually: = "SimpleHttpServiceExporter" and "SimpleHttpClientInterceptor" don't = sound too convincing. Any better naming suggestions? We should get = serialization into the name, or use some acronym... =20 What approach is your current prototype using? Do you use = org.springframework.remoting.support.RemoteInvocation or some custom = class for representing invocations? What do you think about the above = approach, and about adding generic support for retry strategies across = all of Spring's supported remoting protocols? =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag von = Oliver Hutchison Gesendet: Mi 28.07.2004 08:52 An: spr...@li... Betreff: RE: [Springframework-user] Spring-Hibernate using by Burlap Andy, Seth, J=FCrgen, everyone, I'd be happy to submit my own remoting implementation. It's lacking a = bit of polish but I'm currently in the process of making it almost = "drop-in" compatible with the Spring Hessian support code. It's works in a similar way to Hessian (I've borrowed quite a few ideas = and a bit of code - though it doesn't reimplement any of the Hessian = API) but it's based on Java serialization rather than the custom = serialization code in Hessian. What this means is that the only = requirement on invocations is that all arguments are Serializable. This = also gets rid of any problems with Hibernate collections assuming you = *do* include the Hibernate jar on the client side ;-) A nice little extra is the ability to retry invocations that fail = because of IOException etc. The system allows you to register a = RetryDecisionManager which can interrogate the invocation and the = exception that has caused the failure. The remoting system also flags = all exceptions to indicate whether they are recoverable or not and when = it's not sure it also uses a "Maybe" recoverable status. It certainly wouldn't be hard to add some hooks for a progress bar. Andy = what did you have in mind? Anyway If you're interested please let me know and I'll clean up the = code a bit and send it through to the list. Ollie ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id=10040&op=3Dick _______________________________________________ Springframework-user mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-user |
|
From: Stefan D S. <ste...@us...> - 2004-08-01 16:48:32
|
This is how I solved this. I used Quartz abstraction from within Spring and scheduled the delete process as a Job. So now the the trigger runs every 50 secs and deletes the items in a FIFO queue from commons (org.apache.commons.collections.buffer.UnboundedFifoBuffer). Now the successview is returned immediately when the user presses the 'delete' button. When the trigger runs the item is deleted from the queue. Not sure what race conditions I may encounter yet, but appears good so far. Subject: Re: [Springframework-developer] Asynchronous Controller Handling Ronald, thank you for your response. Actually, that is correct in the usual and most of the cases. In my case, once I removed the deleted item from the list in the session and logically delete it in the DB and send it for asynchrnous deletion, then I just want the user to get back the list with it deleted (even if it isn't deleted yet, but appears that way to the user since the perception to them is that they cannot see it). I have done this in the past using the two techniques mentioned so far (JMS, thread) before using Spring, just wanted to know if Spring had a way to handle this natively. Sunday, August 01, 2004 6:49 AM To: spr...@li... cc: From: Ronald Haring <ro...@co...> Subject: Re: [Springframework-developer] Asynchronous Controller Handling But basically you cant do this with http. Http submits a page, then waits for the return. So when you want to have a scenario with automatic update of a page, you will have to use some constant polling technique (by using the refresh meta tag for instance). You should then refresh to some status page that will query some session parameter or database parameter. The thread or jms should then upon completion set this parameter in the session or the database, so that on the next poll of the browser the page will be shown as completed. Ronald Seth Ladd wrote: >On Sat, 31 Jul 2004 20:07:32 -0400, Stefan D Sookraj ><ste...@us...> wrote: > > >>All, >>I have a situation where the functionality behind the 'delete' buttons on >>my form takes some time to process therefore the user just sits there and >>wait until the success view comes back. Is there any asynchronous way to >>hand off this processing and return the success view immediately that is >>built into the framework, or would I have to do this with a separate thread >>or using other techniques? Thank you. >> >> > >You may want to look into Spring's new JMS support. That is one way >to handle this scenario. > >Seth > > >------------------------------------------------------- >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: Stefan D S. <ste...@us...> - 2004-08-01 12:51:56
|
Any idea if there is a sample app that shows the JMS configuration in Spring? I know this is in the works but not sure how far along. Saturday, July 31, 2004 8:52 PM To: spr...@li... cc: From: Seth Ladd <set...@gm...> Subject: Re: [Springframework-developer] Asynchronous Controller Handling On Sat, 31 Jul 2004 20:07:32 -0400, Stefan D Sookraj <ste...@us...> wrote: > > > All, > I have a situation where the functionality behind the 'delete' buttons on > my form takes some time to process therefore the user just sits there and > wait until the success view comes back. Is there any asynchronous way to > hand off this processing and return the success view immediately that is > built into the framework, or would I have to do this with a separate thread > or using other techniques? Thank you. You may want to look into Spring's new JMS support. That is one way to handle this scenario. Seth ------------------------------------------------------- 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: Stefan D S. <ste...@us...> - 2004-08-01 12:51:54
|
Ronald, thank you for your response. Actually, that is correct in the usual and most of the cases. In my case, once I removed the deleted item from the list in the session and logically delete it in the DB and send it for asynchrnous deletion, then I just want the user to get back the list with it deleted (even if it isn't deleted yet, but appears that way to the user since the perception to them is that they cannot see it). I have done this in the past using the two techniques mentioned so far (JMS, thread) before using Spring, just wanted to know if Spring had a way to handle this natively. Sunday, August 01, 2004 6:49 AM To: spr...@li... cc: From: Ronald Haring <ro...@co...> Subject: Re: [Springframework-developer] Asynchronous Controller Handling But basically you cant do this with http. Http submits a page, then waits for the return. So when you want to have a scenario with automatic update of a page, you will have to use some constant polling technique (by using the refresh meta tag for instance). You should then refresh to some status page that will query some session parameter or database parameter. The thread or jms should then upon completion set this parameter in the session or the database, so that on the next poll of the browser the page will be shown as completed. Ronald Seth Ladd wrote: >On Sat, 31 Jul 2004 20:07:32 -0400, Stefan D Sookraj ><ste...@us...> wrote: > > >>All, >>I have a situation where the functionality behind the 'delete' buttons on >>my form takes some time to process therefore the user just sits there and >>wait until the success view comes back. Is there any asynchronous way to >>hand off this processing and return the success view immediately that is >>built into the framework, or would I have to do this with a separate thread >>or using other techniques? Thank you. >> >> > >You may want to look into Spring's new JMS support. That is one way >to handle this scenario. > >Seth > > >------------------------------------------------------- >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: Ronald H. <ro...@co...> - 2004-08-01 10:45:04
|
But basically you cant do this with http. Http submits a page, then waits for the return. So when you want to have a scenario with automatic update of a page, you will have to use some constant polling technique (by using the refresh meta tag for instance). You should then refresh to some status page that will query some session parameter or database parameter. The thread or jms should then upon completion set this parameter in the session or the database, so that on the next poll of the browser the page will be shown as completed. Ronald Seth Ladd wrote: >On Sat, 31 Jul 2004 20:07:32 -0400, Stefan D Sookraj ><ste...@us...> wrote: > > >>All, >>I have a situation where the functionality behind the 'delete' buttons on >>my form takes some time to process therefore the user just sits there and >>wait until the success view comes back. Is there any asynchronous way to >>hand off this processing and return the success view immediately that is >>built into the framework, or would I have to do this with a separate thread >>or using other techniques? Thank you. >> >> > >You may want to look into Spring's new JMS support. That is one way >to handle this scenario. > >Seth > > >------------------------------------------------------- >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: Colin S. <col...@ex...> - 2004-08-01 03:28:31
|
Barry Kaplan wrote: >> >> If it has a class, it's usable as its own bean, and in fact you need >> to make it lazy-init=true or singleton=true to stop the factory from > > > Did you mean singleton="false" ?? Yes, sorry... |
|
From: Seth L. <set...@gm...> - 2004-08-01 00:41:37
|
On Sat, 31 Jul 2004 20:07:32 -0400, Stefan D Sookraj <ste...@us...> wrote: > > > All, > I have a situation where the functionality behind the 'delete' buttons on > my form takes some time to process therefore the user just sits there and > wait until the success view comes back. Is there any asynchronous way to > hand off this processing and return the success view immediately that is > built into the framework, or would I have to do this with a separate thread > or using other techniques? Thank you. You may want to look into Spring's new JMS support. That is one way to handle this scenario. Seth |
|
From: Stefan D S. <ste...@us...> - 2004-08-01 00:07:49
|
All, I have a situation where the functionality behind the 'delete' buttons on my form takes some time to process therefore the user just sits there and wait until the success view comes back. Is there any asynchronous way to hand off this processing and return the success view immediately that is built into the framework, or would I have to do this with a separate thread or using other techniques? Thank you. |
|
From: <al...@jt...> - 2004-07-31 23:13:02
|
<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.67</td></tr><tr><td class=3D"header-data"><span class=
=3D"header-label">Date of build: </span>08/01/2004 00:16:34</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>07/31/2004 16:34:20</td>=
</tr><tr><td class=3D"header-data"><span class=3D"header-label">Last log en=
try: </span>clarify child bean definitions a bit</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: =
(12) </td></tr><tr class=3D"modifications-evenrow"><td =
class=3D"modifications-data">modified</td><td class=3D"modifications-data">=
colins</td><td class=3D"modifications-data">docs/reference/src/beans.xml</t=
d><td class=3D"modifications-data">clarify child bean definitions a bit</td=
></tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-data">m=
odified</td><td class=3D"modifications-data">colins</td><td class=3D"modifi=
cations-data">docs/reference/src/jms.xml</td><td class=3D"modifications-dat=
a">remove extra CR from CRCRLF at end of lines...</td></tr><tr class=3D"mod=
ifications-evenrow"><td class=3D"modifications-data">modified</td><td class=
=3D"modifications-data">jhoeller</td><td class=3D"modifications-data">sampl=
es/imagedb/build.xml</td><td class=3D"modifications-data">added -source=3D"=
1.3" to javadoc targets, unified javadoc target style</td></tr><tr class=3D=
"modifications-oddrow"><td class=3D"modifications-data">modified</td><td cl=
ass=3D"modifications-data">jhoeller</td><td class=3D"modifications-data">sa=
mples/jpetstore/build.xml</td><td class=3D"modifications-data">added -sourc=
e=3D"1.3" to javadoc targets, unified javadoc target style</td></tr><tr cla=
ss=3D"modifications-evenrow"><td class=3D"modifications-data">modified</td>=
<td class=3D"modifications-data">jhoeller</td><td class=3D"modifications-da=
ta">samples/tiles-example/build.xml</td><td class=3D"modifications-data">ad=
ded -source=3D"1.3" to javadoc targets, unified javadoc target style</td></=
tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-data">modi=
fied</td><td class=3D"modifications-data">jhoeller</td><td class=3D"modific=
ations-data">samples/petclinic/build.xml</td><td class=3D"modifications-dat=
a">added -source=3D"1.3" to javadoc targets, unified javadoc target style</=
td></tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-data=
">modified</td><td class=3D"modifications-data">jhoeller</td><td class=3D"m=
odifications-data">samples/webapp-minimal/build.xml</td><td class=3D"modifi=
cations-data">added -source=3D"1.3" to javadoc targets, unified javadoc tar=
get style</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modifica=
tions-data">modified</td><td class=3D"modifications-data">jhoeller</td><td =
class=3D"modifications-data">samples/countries/build.xml</td><td class=3D"m=
odifications-data">added -source=3D"1.3" to javadoc targets, unified javado=
c target style</td></tr><tr class=3D"modifications-evenrow"><td class=3D"mo=
difications-data">added</td><td class=3D"modifications-data">jhoeller</td><=
td class=3D"modifications-data">test/org/springframework/beans/factory/conf=
ig/CustomEditorConfigurerTests.java</td><td class=3D"modifications-data">mo=
ved array class name resolution to ClassUtils.forName, ClassEditor and Cust=
omEditorConfigurer delegate to ClassUtils.forName</td></tr><tr class=3D"mod=
ifications-oddrow"><td class=3D"modifications-data">modified</td><td class=
=3D"modifications-data">jhoeller</td><td class=3D"modifications-data">src/o=
rg/springframework/beans/propertyeditors/ClassEditor.java</td><td class=3D"=
modifications-data">moved array class name resolution to ClassUtils.forName=
, ClassEditor and CustomEditorConfigurer delegate to ClassUtils.forName</td=
></tr><tr class=3D"modifications-evenrow"><td class=3D"modifications-data">=
modified</td><td class=3D"modifications-data">jhoeller</td><td class=3D"mod=
ifications-data">src/org/springframework/util/ClassUtils.java</td><td class=
=3D"modifications-data">moved array class name resolution to ClassUtils.for=
Name, ClassEditor and CustomEditorConfigurer delegate to ClassUtils.forName=
</td></tr><tr class=3D"modifications-oddrow"><td class=3D"modifications-dat=
a">modified</td><td class=3D"modifications-data">jhoeller</td><td class=3D"=
modifications-data">src/org/springframework/beans/factory/config/CustomEdit=
orConfigurer.java</td><td class=3D"modifications-data">moved array class na=
me resolution to ClassUtils.forName, ClassEditor and CustomEditorConfigurer=
delegate to ClassUtils.forName</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: <jue...@we...> - 2004-07-31 22:11:14
|
There's nothing special to do in Spring here, so I assume it's an iBATIS =
problem. Maybe post this on the iBATIS forum?
=20
Juergen
=20
________________________________
Von: spr...@li... im Auftrag =
von Stefan D Sookraj
Gesendet: So 01.08.2004 00:01
An: spr...@li...
Cc: cli...@ib...
Betreff: Re: [Springframework-developer] How to do batch with Spring =
using Ibatis
I still canot get pass why the application hangs on this particular =
line:=20
=20
executor.executeBatch();
=20
I know that executor is an Ibatis API, but is there anything else in =
Spring that needs to be configured to use it appropriately? Thanks.
=20
=20
=20
=20
=20
Subject: Re: [Springframework-developer] How to do batch with Spring =
using Ibatis
Ok, my application is hung at the line :
=20
executor.executeBatch();
=20
=20
Why would this happen?
=20
=20
=20
=20
=20
=20
=20
=20
=20
I made a mistake, the transactions I mentioned was for something else. =
Here is what is really happening. I put a log statement just when =
entering and exiting the call to deleteFamily and here is where the =
application hangs (The browser is also hanging waiting for a response)
=20
=20
2004-07-31 14:43:50,841 DEBUG =
[com.ibm.method.web.manage.FamiliesAddUpdateDelController] - <Entering =
deleteFamily(fbo)...........>
2004-07-31 14:43:50,841 DEBUG [java.sql.Connection] - <{conn-100135} =
Connection>
=20
=20
=20
It appears it is not coming out of the deleteFamily method which now =
looks like this:
=20
=20
public void deleteFamily(final FamiliesBO fbo) throws =
DataAccessException {
=20
getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
public Object doInSqlMapClient(SqlMapExecutor executor) throws =
SQLException {
executor.startBatch();
executor.delete("AuthMaint.deleteCatExtendName", =
fbo.getMethodElement());
Iterator itr =3D fbo.getRepItem().iterator();
while (itr.hasNext()) {
Map m =3D (HashMap) itr.next();
executor.delete("AuthMaint.deleteDocMap", m);
executor.delete("AuthMaint.deleteRepItem", m);
}
executor.delete("AuthMaint.deleteContentEdition", =
fbo.getMethodElement());
executor.delete("AuthMaint.deleteMthElem", =
fbo.getMethodElement());
=20
executor.executeBatch();
=20
return null;
}
});
=20
}
=20
=20
=20
=20
=20
=20
=20
=20
=20
=20
=20
Thanks Dmitriy! Actually I had done that and it fixed the problem. Now,
what I am noticing is that before using the batch all my statements =
woere
done in one transaction, now using the executor, it appears that every
statement is now done in its own transaction. Why would this be the =
case?
=20
=20
=20
=20
=20
Stefan,
=20
declare FamiliesBO argument as final i.e.
=20
public void deleteFamily(final FamiliesBO fbo) throws
DataAccessException {...}
=20
Regards,
Dmitriy.
=20
=20
Stefan D Sookraj wrote:
=20
> OK,
> I put 'public' in front of the line and that got rid of the error. =
i.e.
>
> public Object doInSqlMapClient(SqlMapExecutor executor) throws
> SQLException
>
> now, the only issue I am having is that I am having an error on the
> passed in business object (fbo).
>
> The error is: 'Cannot refer to a non-final variable fbo inside an
> inner class defined in a different method'
>
>
> public void deleteFamily(FamiliesBO fbo) throws DataAccessException {
>
> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
> public Object doInSqlMapClient(SqlMapExecutor executor)
> throws SQLException {
> executor.startBatch();
> executor.delete("AuthMaint.deleteCatExtendName",
> fbo.getMethodElement());
> Iterator itr =3D fbo.getRepItem().iterator();
> while (itr.hasNext()) {
> Map m =3D (HashMap) itr.next();
> executor.delete("AuthMaint.deleteDocMap", m);
> executor.delete("AuthMaint.deleteRepItem", m);
> }
> executor.delete("AuthMaint.deleteContentEdition",
> fbo.getMethodElement());
> executor.delete("AuthMaint.deleteMthElem",
> fbo.getMethodElement());
>
> executor.executeBatch();
> }
> });
>
> }
>
>
>
>
>
>
>
>
> Juergen,
> Thank you for the response. I am getting this error trying to
> implement the code snippit you provided.
>
> At this line I get the error:
> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
>
> Error:
> Cannot reduce the visibility of the inherited method from
> SqlMapClientCallback
>
>
> I am doing this in my DAO in my doUpdate method.
>
>
>
>
>
>
>
>
>
> Saturday, July 31, 2004 10:51 AM
> To: <spr...@li...>
> cc:
> From: j=FCrgen h=F6ller [werk3AT] <jue...@we...>
> Subject: Re: [Springframework-developer] How to do batch with Spring
> using Ibatis
>
>
>
> Implement a custom SqlMapClientCallback for this, a la:
>
> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
> executor.startBatch();
> executor.update(...);
> executor.update(...);
>
> executor.executeBatch();
> }
> });
>
> Generally, a SqlMapClientCallback allows you to call any methods on
> the passed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The
> template will automatically convert SQLExceptions to
> DataAccessExceptions, just like it does for the convenience operations
> defined on the template itself.
>
> Juergen
>
>
> ________________________________
>
> Von: spr...@li... im Auftrag
> von Stefan D Sookraj
> Gesendet: Sa 31.07.2004 16:08
> An: spr...@li...
> Cc: spr...@li...; =
cli...@ib...
> Betreff: [Springframework-developer] How to do batch with Spring using
> Ibatis
>
>
>
>
>
>
>
> How do you invoke the underlying Ibatis API batch methods from Spring?
> I am
> using org.springframework.orm.ibatis.SqlMapClientTemplate, but the =
iBatis
> batch API is not exposed. If I use Ibatis API directly, I have to =
handle
> the SQLExceptions. Is this the right way to be able to use the IBatis
> batch
> API from Spring? Thank you.
>
>
>
> -------------------------------------------------------
> 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
=20
=20
=20
=20
-------------------------------------------------------
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
=20
=20
=20
-------------------------------------------------------
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
2004-07-31 14:43:50,841 DEBUG =
[com.ibm.method.web.manage.FamiliesAddUpdateDelController] - <Entering =
deleteFamily(fbo)...........>
2004-07-31 14:43:50,841 DEBUG [java.sql.Connection] - <{conn-100135} =
Connection>
|
|
From: Stefan D S. <ste...@us...> - 2004-07-31 22:02:36
|
I still canot get pass why the application hangs on this particular line:=
=
executor.executeBatch();
I know that executor is an Ibatis API, but is there anything else in Spri=
ng that needs to be configured to use it appropriately? Thanks.
Subject: Re: [Springframework-developer] How to do batch with Spring usin=
g Ibatis
Ok, my application is hung at the line :
executor.executeBatch();
Why would this happen?
=
I made a mistake, the transactions I mentioned was for something else. He=
re is what is really happening. I put a log statement just when entering =
and exiting the call to deleteFamily and here is where the application ha=
ngs (The browser is also hanging waiting for a response)
2004-07-31 14:43:50,841 DEBUG [com.ibm.method.web.manage.FamiliesAddUpdat=
eDelController] - <Entering deleteFamily(fbo)...........>
2004-07-31 14:43:50,841 DEBUG [java.sql.Connection] - <{conn-100135} Conn=
ection>
It appears it is not coming out of the deleteFamily method which now look=
s like this:
public void deleteFamily(final FamiliesBO fbo) throws DataAccessException=
{
getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
public Object doInSqlMapClient(SqlMapExecutor executor) throws S=
QLException {
executor.startBatch();
executor.delete("AuthMaint.deleteCatExtendName", fbo.getMetho=
dElement());
Iterator itr =3D fbo.getRepItem().iterator();
while (itr.hasNext()) {
Map m =3D (HashMap) itr.next();
executor.delete("AuthMaint.deleteDocMap", m);
executor.delete("AuthMaint.deleteRepItem", m);
}
executor.delete("AuthMaint.deleteContentEdition", fbo.getMeth=
odElement());
executor.delete("AuthMaint.deleteMthElem", fbo.getMethodEleme=
nt());
executor.executeBatch();
=
return null;
}
});
}
Thanks Dmitriy! Actually I had done that and it fixed the problem. Now,
what I am noticing is that before using the batch all my statements woere=
done in one transaction, now using the executor, it appears that every
statement is now done in its own transaction. Why would this be the case?=
Stefan,
declare FamiliesBO argument as final i.e.
public void deleteFamily(final FamiliesBO fbo) throws
DataAccessException {...}
Regards,
Dmitriy.
Stefan D Sookraj wrote:
> OK,
> I put 'public' in front of the line and that got rid of the error. i.e.=
>
> public Object doInSqlMapClient(SqlMapExecutor executor) throws
> SQLException
>
> now, the only issue I am having is that I am having an error on the
> passed in business object (fbo).
>
> The error is: 'Cannot refer to a non-final variable fbo inside an
> inner class defined in a different method'
>
>
> public void deleteFamily(FamiliesBO fbo) throws DataAccessException {
>
> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
> public Object doInSqlMapClient(SqlMapExecutor executor)
> throws SQLException {
> executor.startBatch();
> executor.delete("AuthMaint.deleteCatExtendName",
> fbo.getMethodElement());
> Iterator itr =3D fbo.getRepItem().iterator();
> while (itr.hasNext()) {
> Map m =3D (HashMap) itr.next();
> executor.delete("AuthMaint.deleteDocMap", m);
> executor.delete("AuthMaint.deleteRepItem", m);
> }
> executor.delete("AuthMaint.deleteContentEdition",
> fbo.getMethodElement());
> executor.delete("AuthMaint.deleteMthElem",
> fbo.getMethodElement());
>
> executor.executeBatch();
> }
> });
>
> }
>
>
>
>
>
>
>
>
> Juergen,
> Thank you for the response. I am getting this error trying to
> implement the code snippit you provided.
>
> At this line I get the error:
> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
>
> Error:
> Cannot reduce the visibility of the inherited method from
> SqlMapClientCallback
>
>
> I am doing this in my DAO in my doUpdate method.
>
>
>
>
>
>
>
>
>
> Saturday, July 31, 2004 10:51 AM
> To: <spr...@li...>
> cc:
> From: j=FCrgen h=F6ller [werk3AT] <jue...@we...>
> Subject: Re: [Springframework-developer] How to do batch with Spring
> using Ibatis
>
>
>
> Implement a custom SqlMapClientCallback for this, a la:
>
> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
> executor.startBatch();
> executor.update(...);
> executor.update(...);
>
> executor.executeBatch();
> }
> });
>
> Generally, a SqlMapClientCallback allows you to call any methods on
> the passed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The
> template will automatically convert SQLExceptions to
> DataAccessExceptions, just like it does for the convenience operations
> defined on the template itself.
>
> Juergen
>
>
> ________________________________
>
> Von: spr...@li... im Auftrag
> von Stefan D Sookraj
> Gesendet: Sa 31.07.2004 16:08
> An: spr...@li...
> Cc: spr...@li...; cli...@ib...=
m
> Betreff: [Springframework-developer] How to do batch with Spring using
> Ibatis
>
>
>
>
>
>
>
> How do you invoke the underlying Ibatis API batch methods from Spring?
> I am
> using org.springframework.orm.ibatis.SqlMapClientTemplate, but the iBat=
is
> batch API is not exposed. If I use Ibatis API directly, I have to handl=
e
> the SQLExceptions. Is this the right way to be able to use the IBatis
> batch
> API from Spring? Thank you.
>
>
>
> -------------------------------------------------------
> 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 Technolog=
y
> 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 Technolog=
y
> 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
2004-07-31 14:43:50,841 DEBUG [com.ibm.method.web.manage.FamiliesAddUpdat=
eDelController] - <Entering deleteFamily(fbo)...........>
2004-07-31 14:43:50,841 DEBUG [java.sql.Connection] - <{conn-100135} Conn=
ection>=
|
|
From: Barry K. <gr...@me...> - 2004-07-31 20:47:53
|
> > If it has a class, it's usable as its own bean, and in fact you need to > make it lazy-init=true or singleton=true to stop the factory from Did you mean singleton="false" ?? |
|
From: Stefan D S. <ste...@us...> - 2004-07-31 18:56:21
|
Ok, my application is hung at the line :
executor.executeBatch();
Why would this happen?
I made a mistake, the transactions I mentioned was for something else. He=
re is what is really happening. I put a log statement just when entering =
and exiting the call to deleteFamily and here is where the application ha=
ngs (The browser is also hanging waiting for a response)
2004-07-31 14:43:50,841 DEBUG [com.ibm.method.web.manage.FamiliesAddUpdat=
eDelController] - <Entering deleteFamily(fbo)...........>
2004-07-31 14:43:50,841 DEBUG [java.sql.Connection] - <{conn-100135} Conn=
ection>
It appears it is not coming out of the deleteFamily method which now look=
s like this:
public void deleteFamily(final FamiliesBO fbo) throws DataAccessException=
{
getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
public Object doInSqlMapClient(SqlMapExecutor executor) throws S=
QLException {
executor.startBatch();
executor.delete("AuthMaint.deleteCatExtendName", fbo.getMetho=
dElement());
Iterator itr =3D fbo.getRepItem().iterator();
while (itr.hasNext()) {
Map m =3D (HashMap) itr.next();
executor.delete("AuthMaint.deleteDocMap", m);
executor.delete("AuthMaint.deleteRepItem", m);
}
executor.delete("AuthMaint.deleteContentEdition", fbo.getMeth=
odElement());
executor.delete("AuthMaint.deleteMthElem", fbo.getMethodEleme=
nt());
executor.executeBatch();
=
return null;
}
});
}
Thanks Dmitriy! Actually I had done that and it fixed the problem. Now,
what I am noticing is that before using the batch all my statements woere=
done in one transaction, now using the executor, it appears that every
statement is now done in its own transaction. Why would this be the case?=
Stefan,
declare FamiliesBO argument as final i.e.
public void deleteFamily(final FamiliesBO fbo) throws
DataAccessException {...}
Regards,
Dmitriy.
Stefan D Sookraj wrote:
> OK,
> I put 'public' in front of the line and that got rid of the error. i.e.=
>
> public Object doInSqlMapClient(SqlMapExecutor executor) throws
> SQLException
>
> now, the only issue I am having is that I am having an error on the
> passed in business object (fbo).
>
> The error is: 'Cannot refer to a non-final variable fbo inside an
> inner class defined in a different method'
>
>
> public void deleteFamily(FamiliesBO fbo) throws DataAccessException {
>
> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
> public Object doInSqlMapClient(SqlMapExecutor executor)
> throws SQLException {
> executor.startBatch();
> executor.delete("AuthMaint.deleteCatExtendName",
> fbo.getMethodElement());
> Iterator itr =3D fbo.getRepItem().iterator();
> while (itr.hasNext()) {
> Map m =3D (HashMap) itr.next();
> executor.delete("AuthMaint.deleteDocMap", m);
> executor.delete("AuthMaint.deleteRepItem", m);
> }
> executor.delete("AuthMaint.deleteContentEdition",
> fbo.getMethodElement());
> executor.delete("AuthMaint.deleteMthElem",
> fbo.getMethodElement());
>
> executor.executeBatch();
> }
> });
>
> }
>
>
>
>
>
>
>
>
> Juergen,
> Thank you for the response. I am getting this error trying to
> implement the code snippit you provided.
>
> At this line I get the error:
> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
>
> Error:
> Cannot reduce the visibility of the inherited method from
> SqlMapClientCallback
>
>
> I am doing this in my DAO in my doUpdate method.
>
>
>
>
>
>
>
>
>
> Saturday, July 31, 2004 10:51 AM
> To: <spr...@li...>
> cc:
> From: j=FCrgen h=F6ller [werk3AT] <jue...@we...>
> Subject: Re: [Springframework-developer] How to do batch with Spring
> using Ibatis
>
>
>
> Implement a custom SqlMapClientCallback for this, a la:
>
> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
> executor.startBatch();
> executor.update(...);
> executor.update(...);
>
> executor.executeBatch();
> }
> });
>
> Generally, a SqlMapClientCallback allows you to call any methods on
> the passed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The
> template will automatically convert SQLExceptions to
> DataAccessExceptions, just like it does for the convenience operations
> defined on the template itself.
>
> Juergen
>
>
> ________________________________
>
> Von: spr...@li... im Auftrag
> von Stefan D Sookraj
> Gesendet: Sa 31.07.2004 16:08
> An: spr...@li...
> Cc: spr...@li...; cli...@ib...=
m
> Betreff: [Springframework-developer] How to do batch with Spring using
> Ibatis
>
>
>
>
>
>
>
> How do you invoke the underlying Ibatis API batch methods from Spring?
> I am
> using org.springframework.orm.ibatis.SqlMapClientTemplate, but the iBat=
is
> batch API is not exposed. If I use Ibatis API directly, I have to handl=
e
> the SQLExceptions. Is this the right way to be able to use the IBatis
> batch
> API from Spring? Thank you.
>
>
>
> -------------------------------------------------------
> 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 Technolog=
y
> 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 Technolog=
y
> 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
2004-07-31 14:43:50,841 DEBUG [com.ibm.method.web.manage.FamiliesAddUpdat=
eDelController] - <Entering deleteFamily(fbo)...........>
2004-07-31 14:43:50,841 DEBUG [java.sql.Connection] - <{conn-100135} Conn=
ection>=
|
|
From: Stefan D S. <ste...@us...> - 2004-07-31 18:48:05
|
I made a mistake, the transactions I mentioned was for something else. He=
re is what is really happening. I put a log statement just when entering =
and exiting the call to deleteFamily and here is where the application ha=
ngs (The browser is also hanging waiting for a response)
2004-07-31 14:43:50,841 DEBUG [com.ibm.method.web.manage.FamiliesAddUpdat=
eDelController] - <Entering deleteFamily(fbo)...........>
2004-07-31 14:43:50,841 DEBUG [java.sql.Connection] - <{conn-100135} Conn=
ection>
It appears it is not coming out of the deleteFamily method which now look=
s like this:
public void deleteFamily(final FamiliesBO fbo) throws DataAccessException=
{
getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
public Object doInSqlMapClient(SqlMapExecutor executor) throws S=
QLException {
executor.startBatch();
executor.delete("AuthMaint.deleteCatExtendName", fbo.getMetho=
dElement());
Iterator itr =3D fbo.getRepItem().iterator();
while (itr.hasNext()) {
Map m =3D (HashMap) itr.next();
executor.delete("AuthMaint.deleteDocMap", m);
executor.delete("AuthMaint.deleteRepItem", m);
}
executor.delete("AuthMaint.deleteContentEdition", fbo.getMeth=
odElement());
executor.delete("AuthMaint.deleteMthElem", fbo.getMethodEleme=
nt());
executor.executeBatch();
=
return null;
}
});
}
Thanks Dmitriy! Actually I had done that and it fixed the problem. Now,
what I am noticing is that before using the batch all my statements woere=
done in one transaction, now using the executor, it appears that every
statement is now done in its own transaction. Why would this be the case?=
Stefan,
declare FamiliesBO argument as final i.e.
public void deleteFamily(final FamiliesBO fbo) throws
DataAccessException {...}
Regards,
Dmitriy.
Stefan D Sookraj wrote:
> OK,
> I put 'public' in front of the line and that got rid of the error. i.e.=
>
> public Object doInSqlMapClient(SqlMapExecutor executor) throws
> SQLException
>
> now, the only issue I am having is that I am having an error on the
> passed in business object (fbo).
>
> The error is: 'Cannot refer to a non-final variable fbo inside an
> inner class defined in a different method'
>
>
> public void deleteFamily(FamiliesBO fbo) throws DataAccessException {
>
> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
> public Object doInSqlMapClient(SqlMapExecutor executor)
> throws SQLException {
> executor.startBatch();
> executor.delete("AuthMaint.deleteCatExtendName",
> fbo.getMethodElement());
> Iterator itr =3D fbo.getRepItem().iterator();
> while (itr.hasNext()) {
> Map m =3D (HashMap) itr.next();
> executor.delete("AuthMaint.deleteDocMap", m);
> executor.delete("AuthMaint.deleteRepItem", m);
> }
> executor.delete("AuthMaint.deleteContentEdition",
> fbo.getMethodElement());
> executor.delete("AuthMaint.deleteMthElem",
> fbo.getMethodElement());
>
> executor.executeBatch();
> }
> });
>
> }
>
>
>
>
>
>
>
>
> Juergen,
> Thank you for the response. I am getting this error trying to
> implement the code snippit you provided.
>
> At this line I get the error:
> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
>
> Error:
> Cannot reduce the visibility of the inherited method from
> SqlMapClientCallback
>
>
> I am doing this in my DAO in my doUpdate method.
>
>
>
>
>
>
>
>
>
> Saturday, July 31, 2004 10:51 AM
> To: <spr...@li...>
> cc:
> From: j=FCrgen h=F6ller [werk3AT] <jue...@we...>
> Subject: Re: [Springframework-developer] How to do batch with Spring
> using Ibatis
>
>
>
> Implement a custom SqlMapClientCallback for this, a la:
>
> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
> executor.startBatch();
> executor.update(...);
> executor.update(...);
>
> executor.executeBatch();
> }
> });
>
> Generally, a SqlMapClientCallback allows you to call any methods on
> the passed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The
> template will automatically convert SQLExceptions to
> DataAccessExceptions, just like it does for the convenience operations
> defined on the template itself.
>
> Juergen
>
>
> ________________________________
>
> Von: spr...@li... im Auftrag
> von Stefan D Sookraj
> Gesendet: Sa 31.07.2004 16:08
> An: spr...@li...
> Cc: spr...@li...; cli...@ib...=
m
> Betreff: [Springframework-developer] How to do batch with Spring using
> Ibatis
>
>
>
>
>
>
>
> How do you invoke the underlying Ibatis API batch methods from Spring?
> I am
> using org.springframework.orm.ibatis.SqlMapClientTemplate, but the iBat=
is
> batch API is not exposed. If I use Ibatis API directly, I have to handl=
e
> the SQLExceptions. Is this the right way to be able to use the IBatis
> batch
> API from Spring? Thank you.
>
>
>
> -------------------------------------------------------
> 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 Technolog=
y
> 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 Technolog=
y
> 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
2004-07-31 14:43:50,841 DEBUG [com.ibm.method.web.manage.FamiliesAddUpdat=
eDelController] - <Entering deleteFamily(fbo)...........>
2004-07-31 14:43:50,841 DEBUG [java.sql.Connection] - <{conn-100135} Conn=
ection>=
|
|
From: Stefan D S. <ste...@us...> - 2004-07-31 18:28:51
|
Thanks Dmitriy! Actually I had done that and it fixed the problem. Now,=
what I am noticing is that before using the batch all my statements woe=
re
done in one transaction, now using the executor, it appears that every
statement is now done in its own transaction. Why would this be the cas=
e?
Stefan,
declare FamiliesBO argument as final i.e.
public void deleteFamily(final FamiliesBO fbo) throws
DataAccessException {...}
Regards,
Dmitriy.
Stefan D Sookraj wrote:
> OK,
> I put 'public' in front of the line and that got rid of the error. i.=
e.
>
> public Object doInSqlMapClient(SqlMapExecutor executor) throws
> SQLException
>
> now, the only issue I am having is that I am having an error on the
> passed in business object (fbo).
>
> The error is: 'Cannot refer to a non-final variable fbo inside an
> inner class defined in a different method'
>
>
> public void deleteFamily(FamiliesBO fbo) throws DataAccessException {=
>
> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
> public Object doInSqlMapClient(SqlMapExecutor executor)
> throws SQLException {
> executor.startBatch();
> executor.delete("AuthMaint.deleteCatExtendName",
> fbo.getMethodElement());
> Iterator itr =3D fbo.getRepItem().iterator();
> while (itr.hasNext()) {
> Map m =3D (HashMap) itr.next();
> executor.delete("AuthMaint.deleteDocMap", m);
> executor.delete("AuthMaint.deleteRepItem", m);
> }
> executor.delete("AuthMaint.deleteContentEdition",
> fbo.getMethodElement());
> executor.delete("AuthMaint.deleteMthElem",
> fbo.getMethodElement());
>
> executor.executeBatch();
> }
> });
>
> }
>
>
>
>
>
>
>
>
> Juergen,
> Thank you for the response. I am getting this error trying to
> implement the code snippit you provided.
>
> At this line I get the error:
> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
>
> Error:
> Cannot reduce the visibility of the inherited method from
> SqlMapClientCallback
>
>
> I am doing this in my DAO in my doUpdate method.
>
>
>
>
>
>
>
>
>
> Saturday, July 31, 2004 10:51 AM
> To: <spr...@li...>
> cc:
> From: j=FCrgen h=F6ller [werk3AT] <jue...@we...>
> Subject: Re: [Springframework-developer] How to do batch with Spring
> using Ibatis
>
>
>
> Implement a custom SqlMapClientCallback for this, a la:
>
> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException =
{
> executor.startBatch();
> executor.update(...);
> executor.update(...);
>
> executor.executeBatch();
> }
> });
>
> Generally, a SqlMapClientCallback allows you to call any methods on
> the passed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The
> template will automatically convert SQLExceptions to
> DataAccessExceptions, just like it does for the convenience operation=
s
> defined on the template itself.
>
> Juergen
>
>
> ________________________________
>
> Von: spr...@li... im Auftrag=
> von Stefan D Sookraj
> Gesendet: Sa 31.07.2004 16:08
> An: spr...@li...
> Cc: spr...@li...; clinton.begin@ibatis.=
com
> Betreff: [Springframework-developer] How to do batch with Spring usin=
g
> Ibatis
>
>
>
>
>
>
>
> How do you invoke the underlying Ibatis API batch methods from Spring=
?
> I am
> using org.springframework.orm.ibatis.SqlMapClientTemplate, but the iB=
atis
> batch API is not exposed. If I use Ibatis API directly, I have to han=
dle
> the SQLExceptions. Is this the right way to be able to use the IBatis=
> batch
> API from Spring? Thank you.
>
>
>
> -------------------------------------------------------
> 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 Technol=
ogy
> 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-develope=
r
>
>
>
>
> -------------------------------------------------------
> 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 Technol=
ogy
> 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-develope=
r
-------------------------------------------------------
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 Technolog=
y
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: Dmitriy K. <dko...@ru...> - 2004-07-31 18:26:08
|
Oops, didn't see your email. Glad that you solved it ;-)
Cheers,
Dmitriy.
Dmitriy Kopylenko wrote:
> Stefan,
>
> declare FamiliesBO argument as final i.e.
>
> public void deleteFamily(final FamiliesBO fbo) throws
> DataAccessException {...}
>
> Regards,
> Dmitriy.
>
>
> Stefan D Sookraj wrote:
>
>> OK,
>> I put 'public' in front of the line and that got rid of the error. i.e.
>>
>> public Object doInSqlMapClient(SqlMapExecutor executor) throws
>> SQLException
>>
>> now, the only issue I am having is that I am having an error on the
>> passed in business object (fbo).
>>
>> The error is: 'Cannot refer to a non-final variable fbo inside an
>> inner class defined in a different method'
>>
>>
>> public void deleteFamily(FamiliesBO fbo) throws DataAccessException {
>>
>> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
>> public Object doInSqlMapClient(SqlMapExecutor executor)
>> throws SQLException {
>> executor.startBatch();
>> executor.delete("AuthMaint.deleteCatExtendName",
>> fbo.getMethodElement());
>> Iterator itr = fbo.getRepItem().iterator();
>> while (itr.hasNext()) {
>> Map m = (HashMap) itr.next();
>> executor.delete("AuthMaint.deleteDocMap", m);
>> executor.delete("AuthMaint.deleteRepItem", m);
>> }
>> executor.delete("AuthMaint.deleteContentEdition",
>> fbo.getMethodElement());
>> executor.delete("AuthMaint.deleteMthElem",
>> fbo.getMethodElement());
>>
>> executor.executeBatch();
>> }
>> });
>>
>> }
>>
>>
>>
>>
>>
>>
>>
>>
>> Juergen,
>> Thank you for the response. I am getting this error trying to
>> implement the code snippit you provided.
>>
>> At this line I get the error:
>> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException
>>
>> Error:
>> Cannot reduce the visibility of the inherited method from
>> SqlMapClientCallback
>>
>>
>> I am doing this in my DAO in my doUpdate method.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Saturday, July 31, 2004 10:51 AM
>> To: <spr...@li...>
>> cc:
>> From: jürgen höller [werk3AT] <jue...@we...>
>> Subject: Re: [Springframework-developer] How to do batch with Spring
>> using Ibatis
>>
>>
>>
>> Implement a custom SqlMapClientCallback for this, a la:
>>
>> getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
>> Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException {
>> executor.startBatch();
>> executor.update(...);
>> executor.update(...);
>>
>> executor.executeBatch();
>> }
>> });
>>
>> Generally, a SqlMapClientCallback allows you to call any methods on
>> the passed-in com.ibatis.sqlmap.client.SqlMapExecutor object. The
>> template will automatically convert SQLExceptions to
>> DataAccessExceptions, just like it does for the convenience
>> operations defined on the template itself.
>>
>> Juergen
>>
>>
>> ________________________________
>>
>> Von: spr...@li... im Auftrag
>> von Stefan D Sookraj
>> Gesendet: Sa 31.07.2004 16:08
>> An: spr...@li...
>> Cc: spr...@li...; cli...@ib...
>> Betreff: [Springframework-developer] How to do batch with Spring
>> using Ibatis
>>
>>
>>
>>
>>
>>
>>
>> How do you invoke the underlying Ibatis API batch methods from
>> Spring? I am
>> using org.springframework.orm.ibatis.SqlMapClientTemplate, but the
>> iBatis
>> batch API is not exposed. If I use Ibatis API directly, I have to handle
>> the SQLExceptions. Is this the right way to be able to use the IBatis
>> batch
>> API from Spring? Thank you.
>>
>>
>>
>> -------------------------------------------------------
>> 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
|