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: <al...@in...> - 2005-04-18 12:17:24
|
View results here -> http://opensource.jteam.nl/build/buildresults/springmodules?log=log20050418142638Lbuild.2 |
|
From: <al...@jt...> - 2005-04-18 11:11:46
|
View results here -> http://opensource.jteam.nl/build/buildresults/springmodules?log=log20050418132057Lbuild.1 |
|
From: Juergen H. <ju...@in...> - 2005-04-18 09:50:05
|
I see... you consider scanning the services in the middle-tier application
context. This won't be that straightforward, though: a
BeanFactoryPostProcessor only applies to beans in its *own* context. So all
you could do is scan all beans in the entire context hierarchy through
getBeanNames/getType calls, which I'm not particularly fond of.
Frankly, I don't really see the need for another abstraction: people do *not
have to* implement their own custom servlets already - the current
DispatcherServlet works just fine for exporting remote services only! If
Jason doesn't want to touch our DispatcherServlet because it smells like
Spring Web MVC to him, which he wants to stay away from for religious
reasons, that's - bluntly said - his problem, not ours.
You do have a point there regarding MVC vs servlet support separation.
However, that would only work with a restructing of the package hierarchy
there, because the current "web.servlet" package is essentially the direct
basis for the controllers and views of the MVC framework. If we wanted to
separate those into different modules, we'd get a problem, because we'd need
to separate classes in the same subpackage tree there.
The current line drawn between spring-web.jar and spring-webmvc.jar is that
the latter includes "web.servlet" plus subpackages and the former includes
everything else. That works pretty well in general, because spring-web.jar
is all you need to make a Spring application context work with Struts, JSF,
Tapestry, any third-party MVC framework.
Of course, once you want to export HTTP-based remote services, you do need
spring-webmvc.jar even when working with a third-party web MVC framework. I
consider that acceptable, though: spring-webmvc.jar simply includes a
generic dispatcher necessary for HTTP-based remoting, which will coexist
nicely with any third-party MVC framework.
That's why I asked whether we have a real problem to solve here. In essence,
everything already works sufficiently well, in my opinion. Well, we could
save some kilobytes if we tailored a jar file for HTTP-based remote
exporters, but is this really about jar file size?? A 100 KB up or down
really doesn't matter in a server-side application, in particular with big
1.6 MB babies such as Hibernate3 and Axis around.
If exporting remote services through annotations only becomes a major use
case, we can still add a special servlet for that - which wouldn't even
derive from FrameworkServlet, though, because it wouldn't have its own
application context. And for scenarios where exporters are defined
explicitly in a Spring application context (which I expect to stay around),
DispatcherServlet should be just fine.
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf Of
Alef Arendsen
Sent: Monday, April 18, 2005 10:34 AM
To: spr...@li...
Subject: RE: [Springframework-developer] MVC DispatcherSevlet vs
HandlerServlet
Autodetecting services could be done by a Bean(Factory)PostProcessor
inspecting all beans in the middle-tier application context. Not that I
particularly like doing it using annotations, but it's possible.
There were two reasons for introducing another abstraction. One was merely
an estethic (keeping people from have to implement their own custom
servlets - I don't like custom stuff that much :). The other was to
facilitate a possible separating of the MVC stuff from the core servlet
packages (we *are* still planning a restructuring of the project for 1.3,
aren't we).
About the Handler interface: that wouldn't really be an appropriate name,
would it, since we already have the HandlerAdapter. We'd then have to create
a HandlerHandlerAdapter? Besides that I don't think it would add much value
(as you noted already).
----------------------------------------------------------------------------
--
From: spr...@li...
[mailto:spr...@li...] On Behalf Of
Juergen Hoeller
Sent: Friday, April 15, 2005 10:43 PM
To: spr...@li...
Subject: Re: [Springframework-developer] MVC DispatcherSevlet vs
HandlerServlet
Hi Alef,
Yes, XFire seems to become a viable alternative to Axis... which is
already overdue :-)
I'm not sure what to do about DispatcherServlet, though. DispatcherServlet
is deliberately kept as powerful as it is to be able to serve both GUI
controllers and remote exporters... Our current exporters do implement
Controller, right, but it is perfectly valid for a Controller to return null
to indicate that it handled the response itself. Frankly, I don't see a real
problem here.
Locale handling, view resolving and theme handling doesn't get in the way
*at all* if you just use a DispatcherServlet for exporting remote services.
I consider these as optional services that DispatcherServlet offers, just
like an ApplicationContext optionally supports a MessageSource. If you don't
need them for a specific dispatcher, they are not even visible - no
definitions necessary, no corresponding arguments coming in (there is the
ModelAndView return value, admittedly, but I consider that acceptable).
Also, why would a separate HandlerServlet remove the need for a
xxx-servlet.xml? That application context definition is loaded by
*FrameworkServlet*, not DispatcherServlet itself... a HandlerServlet derived
from FrameworkServlet would still require its own context definition file
(which is the point of FrameworkServlet).
Even with annotated services, wouldn't you still need some enumeration of
the services to export? Or do you intend to auto-scan all jar files for
annotated classes and auto-expose them? (which has been in discussion for
EJB3 too, and which I don't really like - coarse-grained facades such as Web
Services should be defined explicitly, at least their implementation class
names. what if there are multiple services in a jar, but just some of them
should be activated for a specific deployment?).
One advantage of the current remoting-exporter-as-Controller style is that
it is easy to mix-and-match GUI Controllers and remoting exporters in the
*same DispatcherServlet context definition*, if desired. Of course you will
want to separate those if there are numerous remoting services, but it's
nevertheless a nice option to combine those into the same dispatcher.
Essentially, what would be left if we strip off all those
DispatcherServlet services? A servlet that autodetects some services to
export, without an explicit context definition, autowiring those services
with Spring middle tier beans? That sounds like a quite separate servlet to
me, not sharing much with our full-power DispatcherServlet in the first
place... On the other hand, if remote exporters are defined explicitly,
Spring bean definitions in a DispatcherServlet context sound perfectly
appropriate to me!
Actually, I have considered introducing a Handler interface in the
web.servlet or web.servlet.handler package before, with a "void
handleRequest(request, response)" signature (that is, no optional
ModelAndView return value), to be implemented by our remote exporters. We
could quite easily retrofit this, without backwards compatibility issues.
With even the ModelAndView becoming invisible to such Handler
implementations, I don't see any issue with letting our standard
DispatcherServlet handle them.
If Jason wants to implement his own exporter servlet, that's fine with me
:-) I think we should approach this pragmatically: If DispatcherServlet is
perfectly sufficient for handling remote exporters from a technical
perspective (with some of its optional services hiding), we don't need to
create a separate servlet for that, in particular if we want to keep the
option to define remote exporter definitions in web GUI contexts too.
What do you think? Did I miss your point? :-) Would that be an acceptable
way going forward for you? Do you think that such a reduced Handler
interface is valuable enough to warrant its introduction?
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf Of
Alef Arendsen
Sent: Friday, April 15, 2005 6:03 PM
To: spr...@li...
Subject: [Springframework-developer] MVC DispatcherSevlet vs
HandlerServlet
Juergen, everybody,
As you might have seen, we're pretty busy promoting XFire. Jason
(Carreira) and Hani are both using it and as it seems they are pretty
positive! One thing that concerns me a bit is the DispatcherServlet for
Spring. Our current exporters are Controllers while in fact the don't really
have to return a ModelAndView (they handle everything themselves).
Furthermore there is a lot of stuff going on in teh DispatcherServlet that
doesn't really concern remoting (locale handling, view resolving, theme
handling - of which I think the latter should be deprecated in 1.3 and
removed in 2.0 maybe since nobody uses it). I was dicussing with Arjen
(co-worker, XFire committer) the option to introduce a extra level of
abstraction for the DispatcherServlet.
1) DispatcherServlet extends HandlerServlet extends FrameworkServlet or
2) DispatcherServlet extends FrameworkServlet and an additional
RemotingServlet extends FrameworkServlet
The reasoning here would be the following:
a) remove the need to create a xxx-servlet.xml if you only have
annotated services (for instance with JSR181 annotations)
b) remove themehandling, localehandling, etcetera when exporting
services through http, rmi, soap, etcetera
c) remove the need for people (like Jason) that don't like Spring Web
MVC to use the DispatcherServlet (I know, it's stupid, but Jason already
implemented his own custom servlet :)
This might also facilitate the separation of the MVC bits and the core
if we want this (themehandling, localehandling are only needed in case
you're doing web mvc).
What do you think?
alef
|
|
From: Juergen H. <ju...@in...> - 2005-04-18 09:15:29
|
Everybody, I'm currently preparing everything for the actual 1.2 RC2 release, which will happen this afternoon - finally, after various last-minute bug fixes and enhancements slipped in... I've already upgraded to Hibernate 3.0.1, which has been released this morning, and will now go into testing the sample apps. Please refrain from commits until the release is finished! Juergen |
|
From: Alef A. <al...@jt...> - 2005-04-18 08:34:03
|
Autodetecting services could be done by a Bean(Factory)PostProcessor inspecting all beans in the middle-tier application context. Not that I particularly like doing it using annotations, but it's possible. =20 There were two reasons for introducing another abstraction. One was merely an estethic (keeping people from have to implement their own custom servlets - I don't like custom stuff that much :). The other was to facilitate a possible separating of the MVC stuff from the core servlet packages (we *are* still planning a restructuring of the project for 1.3, aren't we). =20 About the Handler interface: that wouldn't really be an appropriate name, would it, since we already have the HandlerAdapter. We'd then have to create a HandlerHandlerAdapter? Besides that I don't think it would add much value (as you noted already). =20 ________________________________ From: spr...@li... [mailto:spr...@li...] On Behalf Of Juergen Hoeller Sent: Friday, April 15, 2005 10:43 PM To: spr...@li... Subject: Re: [Springframework-developer] MVC DispatcherSevlet vs HandlerServlet Hi Alef, =20 Yes, XFire seems to become a viable alternative to Axis... which is already overdue :-) =20 I'm not sure what to do about DispatcherServlet, though. DispatcherServlet is deliberately kept as powerful as it is to be able to serve both GUI controllers and remote exporters... Our current exporters do implement Controller, right, but it is perfectly valid for a Controller to return null to indicate that it handled the response itself. Frankly, I don't see a real problem here. =20 Locale handling, view resolving and theme handling doesn't get in the way *at all* if you just use a DispatcherServlet for exporting remote services. I consider these as optional services that DispatcherServlet offers, just like an ApplicationContext optionally supports a MessageSource. If you don't need them for a specific dispatcher, they are not even visible - no definitions necessary, no corresponding arguments coming in (there is the ModelAndView return value, admittedly, but I consider that acceptable). =20 Also, why would a separate HandlerServlet remove the need for a xxx-servlet.xml? That application context definition is loaded by *FrameworkServlet*, not DispatcherServlet itself... a HandlerServlet derived from FrameworkServlet would still require its own context definition file (which is the point of FrameworkServlet). =20 Even with annotated services, wouldn't you still need some enumeration of the services to export? Or do you intend to auto-scan all jar files for annotated classes and auto-expose them? (which has been in discussion for EJB3 too, and which I don't really like - coarse-grained facades such as Web Services should be defined explicitly, at least their implementation class names. what if there are multiple services in a jar, but just some of them should be activated for a specific deployment?). =20 One advantage of the current remoting-exporter-as-Controller style is that it is easy to mix-and-match GUI Controllers and remoting exporters in the *same DispatcherServlet context definition*, if desired. Of course you will want to separate those if there are numerous remoting services, but it's nevertheless a nice option to combine those into the same dispatcher. =20 Essentially, what would be left if we strip off all those DispatcherServlet services? A servlet that autodetects some services to export, without an explicit context definition, autowiring those services with Spring middle tier beans? That sounds like a quite separate servlet to me, not sharing much with our full-power DispatcherServlet in the first place... On the other hand, if remote exporters are defined explicitly, Spring bean definitions in a DispatcherServlet context sound perfectly appropriate to me! =20 Actually, I have considered introducing a Handler interface in the web.servlet or web.servlet.handler package before, with a "void handleRequest(request, response)" signature (that is, no optional ModelAndView return value), to be implemented by our remote exporters. We could quite easily retrofit this, without backwards compatibility issues. With even the ModelAndView becoming invisible to such Handler implementations, I don't see any issue with letting our standard DispatcherServlet handle them. =20 If Jason wants to implement his own exporter servlet, that's fine with me :-) I think we should approach this pragmatically: If DispatcherServlet is perfectly sufficient for handling remote exporters from a technical perspective (with some of its optional services hiding), we don't need to create a separate servlet for that, in particular if we want to keep the option to define remote exporter definitions in web GUI contexts too. =20 What do you think? Did I miss your point? :-) Would that be an acceptable way going forward for you? Do you think that such a reduced Handler interface is valuable enough to warrant its introduction? =20 Juergen =20 =20 =20 -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Alef Arendsen Sent: Friday, April 15, 2005 6:03 PM To: spr...@li... Subject: [Springframework-developer] MVC DispatcherSevlet vs HandlerServlet =09 =09 Juergen, everybody, =20 As you might have seen, we're pretty busy promoting XFire. Jason (Carreira) and Hani are both using it and as it seems they are pretty positive! One thing that concerns me a bit is the DispatcherServlet for Spring. Our current exporters are Controllers while in fact the don't really have to return a ModelAndView (they handle everything themselves). Furthermore there is a lot of stuff going on in teh DispatcherServlet that doesn't really concern remoting (locale handling, view resolving, theme handling - of which I think the latter should be deprecated in 1.3 and removed in 2.0 maybe since nobody uses it). I was dicussing with Arjen (co-worker, XFire committer) the option to introduce a extra level of abstraction for the DispatcherServlet. =20 1) DispatcherServlet extends HandlerServlet extends FrameworkServlet or 2) DispatcherServlet extends FrameworkServlet and an additional RemotingServlet extends FrameworkServlet =20 The reasoning here would be the following: =20 a) remove the need to create a xxx-servlet.xml if you only have annotated services (for instance with JSR181 annotations) b) remove themehandling, localehandling, etcetera when exporting services through http, rmi, soap, etcetera c) remove the need for people (like Jason) that don't like Spring Web MVC to use the DispatcherServlet (I know, it's stupid, but Jason already implemented his own custom servlet :) =20 This might also facilitate the separation of the MVC bits and the core if we want this (themehandling, localehandling are only needed in case you're doing web mvc). =20 What do you think? =20 alef =20 |
|
From: <al...@jt...> - 2005-04-17 22:24:26
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20050418001550Lbuild.248 |
|
From: <al...@jt...> - 2005-04-16 22:26:26
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20050417001643Lbuild.247 |
|
From: Erwin V. <erw...@er...> - 2005-04-16 08:54:59
|
We do now! :-) Actually there was a bug in the Preview 2 release that was causing problems. That's fixed now and I've added a "Flow Launcher" sample application that demonstrates launching flows with input parameters: as stand-alone flow, as subflow or from and end state of another flow. Erwin Vervaet erw...@er... ----- Original Message ----- From: "Dmitriy Kopylenko" <dko...@ru...> To: <spr...@li...> Sent: Monday, April 11, 2005 9:25 PM Subject: Re: [Springframework-developer] Web Flow: forwarding to another flow... > Erwin, > > do you have any examples of redirecting from one flow to another...? > > Dmitriy. > > Erwin Vervaet wrote: > >> You can't do it with a forward because of the problem you describe, but >> it is possible with a "redirect:..". If you want to pass parameters to >> the launching flow, pass them as request parameters (not attributes since >> you're redirecting). >> >> Erwin Vervaet >> erw...@er... >> ----- Original Message ----- From: "Will Butler" >> <wil...@ra...> >> To: <spr...@li...> >> Sent: Monday, April 11, 2005 8:24 PM >> Subject: [Springframework-developer] Web Flow: forwarding to another >> flow... >> >> >>> Is it possible to use a "forward:..." in an end state to halt execution >>> of one flow and start another? When the request is made to the first >>> flow to make the transition to the end state, its flow id has been >>> placed in the request parameters. This is necessary, of course, to look >>> up the first flow. When the forward occurs, the flow id from the first >>> flow is still in the request. The flow execution manager then tries to >>> look up the second flow using the first flow's id, which fails >>> miserably. Is this something that just cannot be done, or is there a >>> workaround that I could try? >>> >>> Thanks! >>> >>> Will >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>> _______________________________________________ >>> Springframework-developer mailing list >>> Spr...@li... >>> https://lists.sourceforge.net/lists/listinfo/springframework-developer >>> >>> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |
|
From: <al...@jt...> - 2005-04-15 22:28:05
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20050416001601Lbuild.246 |
|
From: Juergen H. <ju...@in...> - 2005-04-15 21:48:22
|
Well, I should mention a limitation of that SimpleServletHandlerAdapter approach (handling direct Servlet instances defined as beans): the Servlet instances cannot be populated with ServletConfig init parameters - only with the ServletContext and with bean properties that they expose. This rules out many existing Servlet implementations, unfortunately. There is a solution for holding any existing Servlet in a Spring DispatcherServlet, though: ServletWrappingController. This essentially wraps an entire Servlet, managing the lifecycle of the Servlet internally, allowing to apply specific init parameters to it. This can be used to hold an entire Struts ActionServlet within a Spring context, for example, applying Spring HandlerInterceptors to it etc. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Matt Sgarlata Sent: Friday, April 15, 2005 11:03 PM To: spr...@li... Subject: [Springframework-developer] Re: MVC DispatcherSevlet vs HandlerServlet Oooh... I didn't know that! This provides a very clear upgrade path to Spring MVC from Struts. Route all requests through Spring and have Spring forward along control to legacy Struts actions where appropriate. Very nice! Matt Juergen Hoeller wrote: > BTW, did you know that since Spring 1.1.5, you can even define > javax.servlet.Servlet instances in a DispatcherServlet context - mapping > them through HandlerMappings, automatically populating them with the > ServletContext, destroying them on shutdown :-) It's been one of those > gimmicks I've added to demonstrate that it's easily possible. > > Juergen > > > > -----Original Message----- > *From:* spr...@li... > [mailto:spr...@li...]*On > Behalf Of *Juergen Hoeller > *Sent:* Friday, April 15, 2005 10:43 PM > *To:* spr...@li... > *Subject:* Re: [Springframework-developer] MVC DispatcherSevlet vs > HandlerServlet > > Hi Alef, > > Yes, XFire seems to become a viable alternative to Axis... which is > already overdue :-) > > I'm not sure what to do about DispatcherServlet, though. > DispatcherServlet is deliberately kept as powerful as it is to be > able to serve both GUI controllers and remote exporters... Our > current exporters do implement Controller, right, but it is > perfectly valid for a Controller to return null to indicate that it > handled the response itself. Frankly, I don't see a real problem here. > > Locale handling, view resolving and theme handling doesn't get in > the way *at all* if you just use a DispatcherServlet for exporting > remote services. I consider these as optional services that > DispatcherServlet offers, just like an ApplicationContext optionally > supports a MessageSource. If you don't need them for a specific > dispatcher, they are not even visible - no definitions necessary, no > corresponding arguments coming in (there is the ModelAndView return > value, admittedly, but I consider that acceptable). > > Also, why would a separate HandlerServlet remove the need for a > xxx-servlet.xml? That application context definition is loaded by > *FrameworkServlet*, not DispatcherServlet itself... a HandlerServlet > derived from FrameworkServlet would still require its own context > definition file (which is the point of FrameworkServlet). > > Even with annotated services, wouldn't you still need some > enumeration of the services to export? Or do you intend to auto-scan > all jar files for annotated classes and auto-expose them? (which has > been in discussion for EJB3 too, and which I don't really like - > coarse-grained facades such as Web Services should be defined > explicitly, at least their implementation class names. what if there > are multiple services in a jar, but just some of them should be > activated for a specific deployment?). > > One advantage of the current remoting-exporter-as-Controller style > is that it is easy to mix-and-match GUI Controllers and remoting > exporters in the *same DispatcherServlet context definition*, if > desired. Of course you will want to separate those if there are > numerous remoting services, but it's nevertheless a nice option to > combine those into the same dispatcher. > > Essentially, what would be left if we strip off all those > DispatcherServlet services? A servlet that autodetects some services > to export, without an explicit context definition, autowiring those > services with Spring middle tier beans? That sounds like a quite > separate servlet to me, not sharing much with our full-power > DispatcherServlet in the first place... On the other hand, if remote > exporters are defined explicitly, Spring bean definitions in a > DispatcherServlet context sound perfectly appropriate to me! > > Actually, I have considered introducing a Handler interface in the > web.servlet or web.servlet.handler package before, with a "void > handleRequest(request, response)" signature (that is, no optional > ModelAndView return value), to be implemented by our remote > exporters. We could quite easily retrofit this, without backwards > compatibility issues. With even the ModelAndView becoming invisible > to such Handler implementations, I don't see any issue with letting > our standard DispatcherServlet handle them. > > If Jason wants to implement his own exporter servlet, that's fine > with me :-) I think we should approach this pragmatically: If > DispatcherServlet is perfectly sufficient for handling remote > exporters from a technical perspective (with some of its optional > services hiding), we don't need to create a separate servlet for > that, in particular if we want to keep the option to define remote > exporter definitions in web GUI contexts too. > > What do you think? Did I miss your point? :-) Would that be an > acceptable way going forward for you? Do you think that such a > reduced Handler interface is valuable enough to warrant its > introduction? > > Juergen > > > > > -----Original Message----- > *From:* spr...@li... > [mailto:spr...@li...]*On > Behalf Of *Alef Arendsen > *Sent:* Friday, April 15, 2005 6:03 PM > *To:* spr...@li... > *Subject:* [Springframework-developer] MVC DispatcherSevlet vs > HandlerServlet > > Juergen, everybody, > > As you might have seen, we're pretty busy promoting XFire. Jason > (Carreira) and Hani are both using it and as it seems they are > pretty positive! One thing that concerns me a bit is the > DispatcherServlet for Spring. Our current exporters are > Controllers while in fact the don't really have to return a > ModelAndView (they handle everything themselves). Furthermore > there is a lot of stuff going on in teh DispatcherServlet that > doesn't really concern remoting (locale handling, view > resolving, theme handling - of which I think the latter > should be deprecated in 1.3 and removed in 2.0 maybe since > nobody uses it). I was dicussing with Arjen (co-worker, XFire > committer) the option to introduce a extra level of abstraction > for the DispatcherServlet. > > 1) DispatcherServlet extends HandlerServlet extends > FrameworkServlet or > 2) DispatcherServlet extends FrameworkServlet and an additional > RemotingServlet extends FrameworkServlet > > The reasoning here would be the following: > > a) remove the need to create a xxx-servlet.xml if you only have > annotated services (for instance with JSR181 annotations) > b) remove themehandling, localehandling, etcetera when exporting > services through http, rmi, soap, etcetera > c) remove the need for people (like Jason) that don't like > Spring Web MVC to use the DispatcherServlet (I know, it's > stupid, but Jason already implemented his own custom servlet :) > > This might also facilitate the separation of the MVC bits and > the core if we want this (themehandling, localehandling are only > needed in case you're doing web mvc). > > What do you think? > > alef > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Juergen H. <ju...@in...> - 2005-04-15 21:09:34
|
On reconsideration, I'm not sure whether a separate Handler interface
without ModelAndView return value is really worth it. Implementing the
Controller interface and returning null seems acceptable to me too.
Aside from Jason refusing to define a Spring DispatcherServlet in his
WebWork app, even if just for the purpose of exposing remote services - is
there an actual problem that needs to be solved?
The implicit default LocaleResolver and ThemeResolver are not even *invoked*
for a DispatcherServlet that doesn't render a View... removing them doesn't
really add any value, as they hide so nicely anyway when not used. I think
it's fine to consider them as optional services, as I said, simply not used
when exporting remote services.
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf Of
Juergen Hoeller
Sent: Friday, April 15, 2005 10:46 PM
To: spr...@li...
Subject: Re: [Springframework-developer] MVC DispatcherSevlet vs
HandlerServlet
BTW, did you know that since Spring 1.1.5, you can even define
javax.servlet.Servlet instances in a DispatcherServlet context - mapping
them through HandlerMappings, automatically populating them with the
ServletContext, destroying them on shutdown :-) It's been one of those
gimmicks I've added to demonstrate that it's easily possible.
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf Of
Juergen Hoeller
Sent: Friday, April 15, 2005 10:43 PM
To: spr...@li...
Subject: Re: [Springframework-developer] MVC DispatcherSevlet vs
HandlerServlet
Hi Alef,
Yes, XFire seems to become a viable alternative to Axis... which is
already overdue :-)
I'm not sure what to do about DispatcherServlet, though.
DispatcherServlet is deliberately kept as powerful as it is to be able to
serve both GUI controllers and remote exporters... Our current exporters do
implement Controller, right, but it is perfectly valid for a Controller to
return null to indicate that it handled the response itself. Frankly, I
don't see a real problem here.
Locale handling, view resolving and theme handling doesn't get in the
way *at all* if you just use a DispatcherServlet for exporting remote
services. I consider these as optional services that DispatcherServlet
offers, just like an ApplicationContext optionally supports a MessageSource.
If you don't need them for a specific dispatcher, they are not even
visible - no definitions necessary, no corresponding arguments coming in
(there is the ModelAndView return value, admittedly, but I consider that
acceptable).
Also, why would a separate HandlerServlet remove the need for a
xxx-servlet.xml? That application context definition is loaded by
*FrameworkServlet*, not DispatcherServlet itself... a HandlerServlet derived
from FrameworkServlet would still require its own context definition file
(which is the point of FrameworkServlet).
Even with annotated services, wouldn't you still need some enumeration
of the services to export? Or do you intend to auto-scan all jar files for
annotated classes and auto-expose them? (which has been in discussion for
EJB3 too, and which I don't really like - coarse-grained facades such as Web
Services should be defined explicitly, at least their implementation class
names. what if there are multiple services in a jar, but just some of them
should be activated for a specific deployment?).
One advantage of the current remoting-exporter-as-Controller style is
that it is easy to mix-and-match GUI Controllers and remoting exporters in
the *same DispatcherServlet context definition*, if desired. Of course you
will want to separate those if there are numerous remoting services, but
it's nevertheless a nice option to combine those into the same dispatcher.
Essentially, what would be left if we strip off all those
DispatcherServlet services? A servlet that autodetects some services to
export, without an explicit context definition, autowiring those services
with Spring middle tier beans? That sounds like a quite separate servlet to
me, not sharing much with our full-power DispatcherServlet in the first
place... On the other hand, if remote exporters are defined explicitly,
Spring bean definitions in a DispatcherServlet context sound perfectly
appropriate to me!
Actually, I have considered introducing a Handler interface in the
web.servlet or web.servlet.handler package before, with a "void
handleRequest(request, response)" signature (that is, no optional
ModelAndView return value), to be implemented by our remote exporters. We
could quite easily retrofit this, without backwards compatibility issues.
With even the ModelAndView becoming invisible to such Handler
implementations, I don't see any issue with letting our standard
DispatcherServlet handle them.
If Jason wants to implement his own exporter servlet, that's fine with
me :-) I think we should approach this pragmatically: If DispatcherServlet
is perfectly sufficient for handling remote exporters from a technical
perspective (with some of its optional services hiding), we don't need to
create a separate servlet for that, in particular if we want to keep the
option to define remote exporter definitions in web GUI contexts too.
What do you think? Did I miss your point? :-) Would that be an
acceptable way going forward for you? Do you think that such a reduced
Handler interface is valuable enough to warrant its introduction?
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf Of
Alef Arendsen
Sent: Friday, April 15, 2005 6:03 PM
To: spr...@li...
Subject: [Springframework-developer] MVC DispatcherSevlet vs
HandlerServlet
Juergen, everybody,
As you might have seen, we're pretty busy promoting XFire. Jason
(Carreira) and Hani are both using it and as it seems they are pretty
positive! One thing that concerns me a bit is the DispatcherServlet for
Spring. Our current exporters are Controllers while in fact the don't really
have to return a ModelAndView (they handle everything themselves).
Furthermore there is a lot of stuff going on in teh DispatcherServlet that
doesn't really concern remoting (locale handling, view resolving, theme
handling - of which I think the latter should be deprecated in 1.3 and
removed in 2.0 maybe since nobody uses it). I was dicussing with Arjen
(co-worker, XFire committer) the option to introduce a extra level of
abstraction for the DispatcherServlet.
1) DispatcherServlet extends HandlerServlet extends FrameworkServlet
or
2) DispatcherServlet extends FrameworkServlet and an additional
RemotingServlet extends FrameworkServlet
The reasoning here would be the following:
a) remove the need to create a xxx-servlet.xml if you only have
annotated services (for instance with JSR181 annotations)
b) remove themehandling, localehandling, etcetera when exporting
services through http, rmi, soap, etcetera
c) remove the need for people (like Jason) that don't like Spring Web
MVC to use the DispatcherServlet (I know, it's stupid, but Jason already
implemented his own custom servlet :)
This might also facilitate the separation of the MVC bits and the core
if we want this (themehandling, localehandling are only needed in case
you're doing web mvc).
What do you think?
alef
|
|
From: Matt S. <sga...@us...> - 2005-04-15 21:04:40
|
Oooh... I didn't know that! This provides a very clear upgrade path to Spring MVC from Struts. Route all requests through Spring and have Spring forward along control to legacy Struts actions where appropriate. Very nice! Matt Juergen Hoeller wrote: > BTW, did you know that since Spring 1.1.5, you can even define > javax.servlet.Servlet instances in a DispatcherServlet context - mapping > them through HandlerMappings, automatically populating them with the > ServletContext, destroying them on shutdown :-) It's been one of those > gimmicks I've added to demonstrate that it's easily possible. > > Juergen > > > > -----Original Message----- > *From:* spr...@li... > [mailto:spr...@li...]*On > Behalf Of *Juergen Hoeller > *Sent:* Friday, April 15, 2005 10:43 PM > *To:* spr...@li... > *Subject:* Re: [Springframework-developer] MVC DispatcherSevlet vs > HandlerServlet > > Hi Alef, > > Yes, XFire seems to become a viable alternative to Axis... which is > already overdue :-) > > I'm not sure what to do about DispatcherServlet, though. > DispatcherServlet is deliberately kept as powerful as it is to be > able to serve both GUI controllers and remote exporters... Our > current exporters do implement Controller, right, but it is > perfectly valid for a Controller to return null to indicate that it > handled the response itself. Frankly, I don't see a real problem here. > > Locale handling, view resolving and theme handling doesn't get in > the way *at all* if you just use a DispatcherServlet for exporting > remote services. I consider these as optional services that > DispatcherServlet offers, just like an ApplicationContext optionally > supports a MessageSource. If you don't need them for a specific > dispatcher, they are not even visible - no definitions necessary, no > corresponding arguments coming in (there is the ModelAndView return > value, admittedly, but I consider that acceptable). > > Also, why would a separate HandlerServlet remove the need for a > xxx-servlet.xml? That application context definition is loaded by > *FrameworkServlet*, not DispatcherServlet itself... a HandlerServlet > derived from FrameworkServlet would still require its own context > definition file (which is the point of FrameworkServlet). > > Even with annotated services, wouldn't you still need some > enumeration of the services to export? Or do you intend to auto-scan > all jar files for annotated classes and auto-expose them? (which has > been in discussion for EJB3 too, and which I don't really like - > coarse-grained facades such as Web Services should be defined > explicitly, at least their implementation class names. what if there > are multiple services in a jar, but just some of them should be > activated for a specific deployment?). > > One advantage of the current remoting-exporter-as-Controller style > is that it is easy to mix-and-match GUI Controllers and remoting > exporters in the *same DispatcherServlet context definition*, if > desired. Of course you will want to separate those if there are > numerous remoting services, but it's nevertheless a nice option to > combine those into the same dispatcher. > > Essentially, what would be left if we strip off all those > DispatcherServlet services? A servlet that autodetects some services > to export, without an explicit context definition, autowiring those > services with Spring middle tier beans? That sounds like a quite > separate servlet to me, not sharing much with our full-power > DispatcherServlet in the first place... On the other hand, if remote > exporters are defined explicitly, Spring bean definitions in a > DispatcherServlet context sound perfectly appropriate to me! > > Actually, I have considered introducing a Handler interface in the > web.servlet or web.servlet.handler package before, with a "void > handleRequest(request, response)" signature (that is, no optional > ModelAndView return value), to be implemented by our remote > exporters. We could quite easily retrofit this, without backwards > compatibility issues. With even the ModelAndView becoming invisible > to such Handler implementations, I don't see any issue with letting > our standard DispatcherServlet handle them. > > If Jason wants to implement his own exporter servlet, that's fine > with me :-) I think we should approach this pragmatically: If > DispatcherServlet is perfectly sufficient for handling remote > exporters from a technical perspective (with some of its optional > services hiding), we don't need to create a separate servlet for > that, in particular if we want to keep the option to define remote > exporter definitions in web GUI contexts too. > > What do you think? Did I miss your point? :-) Would that be an > acceptable way going forward for you? Do you think that such a > reduced Handler interface is valuable enough to warrant its > introduction? > > Juergen > > > > > -----Original Message----- > *From:* spr...@li... > [mailto:spr...@li...]*On > Behalf Of *Alef Arendsen > *Sent:* Friday, April 15, 2005 6:03 PM > *To:* spr...@li... > *Subject:* [Springframework-developer] MVC DispatcherSevlet vs > HandlerServlet > > Juergen, everybody, > > As you might have seen, we're pretty busy promoting XFire. Jason > (Carreira) and Hani are both using it and as it seems they are > pretty positive! One thing that concerns me a bit is the > DispatcherServlet for Spring. Our current exporters are > Controllers while in fact the don't really have to return a > ModelAndView (they handle everything themselves). Furthermore > there is a lot of stuff going on in teh DispatcherServlet that > doesn't really concern remoting (locale handling, view > resolving, theme handling - of which I think the latter > should be deprecated in 1.3 and removed in 2.0 maybe since > nobody uses it). I was dicussing with Arjen (co-worker, XFire > committer) the option to introduce a extra level of abstraction > for the DispatcherServlet. > > 1) DispatcherServlet extends HandlerServlet extends > FrameworkServlet or > 2) DispatcherServlet extends FrameworkServlet and an additional > RemotingServlet extends FrameworkServlet > > The reasoning here would be the following: > > a) remove the need to create a xxx-servlet.xml if you only have > annotated services (for instance with JSR181 annotations) > b) remove themehandling, localehandling, etcetera when exporting > services through http, rmi, soap, etcetera > c) remove the need for people (like Jason) that don't like > Spring Web MVC to use the DispatcherServlet (I know, it's > stupid, but Jason already implemented his own custom servlet :) > > This might also facilitate the separation of the MVC bits and > the core if we want this (themehandling, localehandling are only > needed in case you're doing web mvc). > > What do you think? > > alef > |
|
From: Juergen H. <ju...@in...> - 2005-04-15 20:47:13
|
BTW, did you know that since Spring 1.1.5, you can even define
javax.servlet.Servlet instances in a DispatcherServlet context - mapping
them through HandlerMappings, automatically populating them with the
ServletContext, destroying them on shutdown :-) It's been one of those
gimmicks I've added to demonstrate that it's easily possible.
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf Of
Juergen Hoeller
Sent: Friday, April 15, 2005 10:43 PM
To: spr...@li...
Subject: Re: [Springframework-developer] MVC DispatcherSevlet vs
HandlerServlet
Hi Alef,
Yes, XFire seems to become a viable alternative to Axis... which is
already overdue :-)
I'm not sure what to do about DispatcherServlet, though. DispatcherServlet
is deliberately kept as powerful as it is to be able to serve both GUI
controllers and remote exporters... Our current exporters do implement
Controller, right, but it is perfectly valid for a Controller to return null
to indicate that it handled the response itself. Frankly, I don't see a real
problem here.
Locale handling, view resolving and theme handling doesn't get in the way
*at all* if you just use a DispatcherServlet for exporting remote services.
I consider these as optional services that DispatcherServlet offers, just
like an ApplicationContext optionally supports a MessageSource. If you don't
need them for a specific dispatcher, they are not even visible - no
definitions necessary, no corresponding arguments coming in (there is the
ModelAndView return value, admittedly, but I consider that acceptable).
Also, why would a separate HandlerServlet remove the need for a
xxx-servlet.xml? That application context definition is loaded by
*FrameworkServlet*, not DispatcherServlet itself... a HandlerServlet derived
from FrameworkServlet would still require its own context definition file
(which is the point of FrameworkServlet).
Even with annotated services, wouldn't you still need some enumeration of
the services to export? Or do you intend to auto-scan all jar files for
annotated classes and auto-expose them? (which has been in discussion for
EJB3 too, and which I don't really like - coarse-grained facades such as Web
Services should be defined explicitly, at least their implementation class
names. what if there are multiple services in a jar, but just some of them
should be activated for a specific deployment?).
One advantage of the current remoting-exporter-as-Controller style is that
it is easy to mix-and-match GUI Controllers and remoting exporters in the
*same DispatcherServlet context definition*, if desired. Of course you will
want to separate those if there are numerous remoting services, but it's
nevertheless a nice option to combine those into the same dispatcher.
Essentially, what would be left if we strip off all those
DispatcherServlet services? A servlet that autodetects some services to
export, without an explicit context definition, autowiring those services
with Spring middle tier beans? That sounds like a quite separate servlet to
me, not sharing much with our full-power DispatcherServlet in the first
place... On the other hand, if remote exporters are defined explicitly,
Spring bean definitions in a DispatcherServlet context sound perfectly
appropriate to me!
Actually, I have considered introducing a Handler interface in the
web.servlet or web.servlet.handler package before, with a "void
handleRequest(request, response)" signature (that is, no optional
ModelAndView return value), to be implemented by our remote exporters. We
could quite easily retrofit this, without backwards compatibility issues.
With even the ModelAndView becoming invisible to such Handler
implementations, I don't see any issue with letting our standard
DispatcherServlet handle them.
If Jason wants to implement his own exporter servlet, that's fine with me
:-) I think we should approach this pragmatically: If DispatcherServlet is
perfectly sufficient for handling remote exporters from a technical
perspective (with some of its optional services hiding), we don't need to
create a separate servlet for that, in particular if we want to keep the
option to define remote exporter definitions in web GUI contexts too.
What do you think? Did I miss your point? :-) Would that be an acceptable
way going forward for you? Do you think that such a reduced Handler
interface is valuable enough to warrant its introduction?
Juergen
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...]On Behalf Of
Alef Arendsen
Sent: Friday, April 15, 2005 6:03 PM
To: spr...@li...
Subject: [Springframework-developer] MVC DispatcherSevlet vs
HandlerServlet
Juergen, everybody,
As you might have seen, we're pretty busy promoting XFire. Jason
(Carreira) and Hani are both using it and as it seems they are pretty
positive! One thing that concerns me a bit is the DispatcherServlet for
Spring. Our current exporters are Controllers while in fact the don't really
have to return a ModelAndView (they handle everything themselves).
Furthermore there is a lot of stuff going on in teh DispatcherServlet that
doesn't really concern remoting (locale handling, view resolving, theme
handling - of which I think the latter should be deprecated in 1.3 and
removed in 2.0 maybe since nobody uses it). I was dicussing with Arjen
(co-worker, XFire committer) the option to introduce a extra level of
abstraction for the DispatcherServlet.
1) DispatcherServlet extends HandlerServlet extends FrameworkServlet or
2) DispatcherServlet extends FrameworkServlet and an additional
RemotingServlet extends FrameworkServlet
The reasoning here would be the following:
a) remove the need to create a xxx-servlet.xml if you only have
annotated services (for instance with JSR181 annotations)
b) remove themehandling, localehandling, etcetera when exporting
services through http, rmi, soap, etcetera
c) remove the need for people (like Jason) that don't like Spring Web
MVC to use the DispatcherServlet (I know, it's stupid, but Jason already
implemented his own custom servlet :)
This might also facilitate the separation of the MVC bits and the core
if we want this (themehandling, localehandling are only needed in case
you're doing web mvc).
What do you think?
alef
|
|
From: Juergen H. <ju...@in...> - 2005-04-15 20:43:34
|
Hi Alef, Yes, XFire seems to become a viable alternative to Axis... which is already overdue :-) I'm not sure what to do about DispatcherServlet, though. DispatcherServlet is deliberately kept as powerful as it is to be able to serve both GUI controllers and remote exporters... Our current exporters do implement Controller, right, but it is perfectly valid for a Controller to return null to indicate that it handled the response itself. Frankly, I don't see a real problem here. Locale handling, view resolving and theme handling doesn't get in the way *at all* if you just use a DispatcherServlet for exporting remote services. I consider these as optional services that DispatcherServlet offers, just like an ApplicationContext optionally supports a MessageSource. If you don't need them for a specific dispatcher, they are not even visible - no definitions necessary, no corresponding arguments coming in (there is the ModelAndView return value, admittedly, but I consider that acceptable). Also, why would a separate HandlerServlet remove the need for a xxx-servlet.xml? That application context definition is loaded by *FrameworkServlet*, not DispatcherServlet itself... a HandlerServlet derived from FrameworkServlet would still require its own context definition file (which is the point of FrameworkServlet). Even with annotated services, wouldn't you still need some enumeration of the services to export? Or do you intend to auto-scan all jar files for annotated classes and auto-expose them? (which has been in discussion for EJB3 too, and which I don't really like - coarse-grained facades such as Web Services should be defined explicitly, at least their implementation class names. what if there are multiple services in a jar, but just some of them should be activated for a specific deployment?). One advantage of the current remoting-exporter-as-Controller style is that it is easy to mix-and-match GUI Controllers and remoting exporters in the *same DispatcherServlet context definition*, if desired. Of course you will want to separate those if there are numerous remoting services, but it's nevertheless a nice option to combine those into the same dispatcher. Essentially, what would be left if we strip off all those DispatcherServlet services? A servlet that autodetects some services to export, without an explicit context definition, autowiring those services with Spring middle tier beans? That sounds like a quite separate servlet to me, not sharing much with our full-power DispatcherServlet in the first place... On the other hand, if remote exporters are defined explicitly, Spring bean definitions in a DispatcherServlet context sound perfectly appropriate to me! Actually, I have considered introducing a Handler interface in the web.servlet or web.servlet.handler package before, with a "void handleRequest(request, response)" signature (that is, no optional ModelAndView return value), to be implemented by our remote exporters. We could quite easily retrofit this, without backwards compatibility issues. With even the ModelAndView becoming invisible to such Handler implementations, I don't see any issue with letting our standard DispatcherServlet handle them. If Jason wants to implement his own exporter servlet, that's fine with me :-) I think we should approach this pragmatically: If DispatcherServlet is perfectly sufficient for handling remote exporters from a technical perspective (with some of its optional services hiding), we don't need to create a separate servlet for that, in particular if we want to keep the option to define remote exporter definitions in web GUI contexts too. What do you think? Did I miss your point? :-) Would that be an acceptable way going forward for you? Do you think that such a reduced Handler interface is valuable enough to warrant its introduction? Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Alef Arendsen Sent: Friday, April 15, 2005 6:03 PM To: spr...@li... Subject: [Springframework-developer] MVC DispatcherSevlet vs HandlerServlet Juergen, everybody, As you might have seen, we're pretty busy promoting XFire. Jason (Carreira) and Hani are both using it and as it seems they are pretty positive! One thing that concerns me a bit is the DispatcherServlet for Spring. Our current exporters are Controllers while in fact the don't really have to return a ModelAndView (they handle everything themselves). Furthermore there is a lot of stuff going on in teh DispatcherServlet that doesn't really concern remoting (locale handling, view resolving, theme handling - of which I think the latter should be deprecated in 1.3 and removed in 2.0 maybe since nobody uses it). I was dicussing with Arjen (co-worker, XFire committer) the option to introduce a extra level of abstraction for the DispatcherServlet. 1) DispatcherServlet extends HandlerServlet extends FrameworkServlet or 2) DispatcherServlet extends FrameworkServlet and an additional RemotingServlet extends FrameworkServlet The reasoning here would be the following: a) remove the need to create a xxx-servlet.xml if you only have annotated services (for instance with JSR181 annotations) b) remove themehandling, localehandling, etcetera when exporting services through http, rmi, soap, etcetera c) remove the need for people (like Jason) that don't like Spring Web MVC to use the DispatcherServlet (I know, it's stupid, but Jason already implemented his own custom servlet :) This might also facilitate the separation of the MVC bits and the core if we want this (themehandling, localehandling are only needed in case you're doing web mvc). What do you think? alef |
|
From: Matt S. <sga...@us...> - 2005-04-15 16:43:14
|
I was thinking some of the behavior in the DispatcherServlet could be isolated as servlet filters. That way they could be applied to other servlet's such as Jason's servlet, or Struts' ActionServlet :) Matt Alef Arendsen wrote: > Juergen, everybody, > > As you might have seen, we're pretty busy promoting XFire. Jason > (Carreira) and Hani are both using it and as it seems they are pretty > positive! One thing that concerns me a bit is the DispatcherServlet for > Spring. Our current exporters are Controllers while in fact the don't > really have to return a ModelAndView (they handle everything > themselves). Furthermore there is a lot of stuff going on in teh > DispatcherServlet that doesn't really concern remoting (locale handling, > view resolving, theme handling - of which I think the latter should be > deprecated in 1.3 and removed in 2.0 maybe since nobody uses it). I was > dicussing with Arjen (co-worker, XFire committer) the option to > introduce a extra level of abstraction for the DispatcherServlet. > > 1) DispatcherServlet extends HandlerServlet extends FrameworkServlet or > 2) DispatcherServlet extends FrameworkServlet and an additional > RemotingServlet extends FrameworkServlet > > The reasoning here would be the following: > > a) remove the need to create a xxx-servlet.xml if you only have > annotated services (for instance with JSR181 annotations) > b) remove themehandling, localehandling, etcetera when exporting > services through http, rmi, soap, etcetera > c) remove the need for people (like Jason) that don't like Spring Web > MVC to use the DispatcherServlet (I know, it's stupid, but Jason already > implemented his own custom servlet :) > > This might also facilitate the separation of the MVC bits and the core > if we want this (themehandling, localehandling are only needed in case > you're doing web mvc). > > What do you think? > > alef > |
|
From: Alef A. <al...@jt...> - 2005-04-15 16:03:20
|
Juergen, everybody, =20 As you might have seen, we're pretty busy promoting XFire. Jason (Carreira) and Hani are both using it and as it seems they are pretty positive! One thing that concerns me a bit is the DispatcherServlet for Spring. Our current exporters are Controllers while in fact the don't really have to return a ModelAndView (they handle everything themselves). Furthermore there is a lot of stuff going on in teh DispatcherServlet that doesn't really concern remoting (locale handling, view resolving, theme handling - of which I think the latter should be deprecated in 1.3 and removed in 2.0 maybe since nobody uses it). I was dicussing with Arjen (co-worker, XFire committer) the option to introduce a extra level of abstraction for the DispatcherServlet. =20 1) DispatcherServlet extends HandlerServlet extends FrameworkServlet or 2) DispatcherServlet extends FrameworkServlet and an additional RemotingServlet extends FrameworkServlet =20 The reasoning here would be the following: =20 a) remove the need to create a xxx-servlet.xml if you only have annotated services (for instance with JSR181 annotations) b) remove themehandling, localehandling, etcetera when exporting services through http, rmi, soap, etcetera c) remove the need for people (like Jason) that don't like Spring Web MVC to use the DispatcherServlet (I know, it's stupid, but Jason already implemented his own custom servlet :) =20 This might also facilitate the separation of the MVC bits and the core if we want this (themehandling, localehandling are only needed in case you're doing web mvc). =20 What do you think? =20 alef =20 |
|
From: Matt R. <li...@ra...> - 2005-04-14 23:23:16
|
I checked and I have the latest stuff from CVS, but I did have last night's and today's JARs in my deployed app. ;-) All seems to work fine now - nice job! Matt On Apr 14, 2005, at 4:30 PM, Thomas Risberg wrote: > Matt, > > Are you using the most recent version from CVS - I got the same error > yesterday - it was due to a refactoring misstake in the following line > in DefaultValidatorFactory: > > private static final String ERRORS_KEY = > "org.springframework.validation.Errors"; > > > the ERRORS_KEY was wrong so the null pointer exception was from a > missing error object. I did however fix it last night and my local > tests run fine. > > Thomas > > > On Apr 14, 2005, at 5:57 PM, Matt Raible wrote: > >> Client-side validation seems to work fine, but not server side. >> Here's the error: >> >> ERROR - ValidatorAction.executeValidationMethod(602) | Unhandled >> exception thrown during validation: null >> java.lang.NullPointerException >> at >> org.springmodules.commons.validator.Resources.rejectValue(Resources.ja >> va:66) >> at >> org.springmodules.commons.validator.FieldChecks.validateRequired(Field >> Checks.java:87) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j >> ava:39) >> >> Matt >> >> >> On Apr 14, 2005, at 9:00 AM, Thomas Risberg wrote: >> >>> Matt, >>> >>> I forgot the tld -- I have added it to the build. I changed the uri >>> back to http://www.springmodules.org/tags/commons-validator - same >>> as before except for the domain name. >>> >>> Thanks for testing it :) >>> >>> Thomas >>> >>> >>> On Apr 14, 2005, at 12:40 AM, Matt Raible wrote: >>> >>>> I tried it and the springmodules-validator-dev-20050413.jar seems >>>> to be missing the taglib.tld in the META-INF directory. I built the >>>> project using "ant alljars". >>>> >>>> 0 Wed Apr 13 22:12:46 MDT 2005 META-INF/ >>>> 217 Wed Apr 13 22:12:44 MDT 2005 META-INF/MANIFEST.MF >>>> 0 Wed Apr 13 22:12:44 MDT 2005 org/ >>>> 0 Wed Apr 13 22:12:44 MDT 2005 org/springmodules/ >>>> 0 Wed Apr 13 22:12:44 MDT 2005 org/springmodules/commons/ >>>> 0 Wed Apr 13 22:12:44 MDT 2005 >>>> org/springmodules/commons/validator/ >>>> 0 Wed Apr 13 22:12:44 MDT 2005 >>>> org/springmodules/commons/validator/taglib/ >>>> 2392 Wed Apr 13 22:12:44 MDT 2005 >>>> org/springmodules/commons/validator/BeanValidator.class >>>> 4596 Wed Apr 13 22:12:44 MDT 2005 >>>> org/springmodules/commons/validator/DefaultValidatorFactory.class >>>> 11261 Wed Apr 13 22:12:44 MDT 2005 >>>> org/springmodules/commons/validator/FieldChecks.class >>>> 3404 Wed Apr 13 22:12:44 MDT 2005 >>>> org/springmodules/commons/validator/NamedBeanValidator.class >>>> 4625 Wed Apr 13 22:12:44 MDT 2005 >>>> org/springmodules/commons/validator/Resources.class >>>> 2974 Wed Apr 13 22:12:44 MDT 2005 >>>> org/springmodules/commons/validator/ValidatorAdaptor.class >>>> 446 Wed Apr 13 22:12:44 MDT 2005 >>>> org/springmodules/commons/validator/ValidatorFactory.class >>>> 1305 Wed Apr 13 22:12:44 MDT 2005 >>>> org/springmodules/commons/validator/taglib/ >>>> JavascriptValidatorTag$1.class >>>> 13579 Wed Apr 13 22:12:44 MDT 2005 >>>> org/springmodules/commons/validator/taglib/ >>>> JavascriptValidatorTag.class >>>> >>>> This results in the following error: >>>> >>>> org.apache.jasper.JasperException: /index.jsp(1,1) The absolute >>>> uri: http://www.springmodules.org/tags/spring-commons-validator >>>> cannot be resolved in either web.xml or the jar files deployed with >>>> this application >>>> at >>>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultError >>>> Handler.java:39) >>>> >>>> BTW, is there any way to have a shorter URI - something like >>>> http://www.springmodules.org/tags/validator? >>>> >>>> Thanks, >>>> >>>> Matt >>>> >>>> On Apr 13, 2005, at 8:46 PM, Thomas Risberg wrote: >>>> >>>>> I have moved the Commons Validator support over to springmodules. >>>>> I did not make any changes other than the package names and >>>>> copyright/license notices. There are quite a few deprecated >>>>> methods - I guess some of the code is for an older version. >>>>> >>>>> The new package name is org.springmodules.commons.validator >>>>> and the new uri for the taglib is >>>>> http://www.springmodules.org/tags/spring-commons-validator >>>>> >>>>> Matt, since you seem to be the primary user of this support, could >>>>> you check the new code out and test it? >>>>> >>>>> Thomas >>>>> >>>>> >>>>> On Apr 13, 2005, at 5:40 PM, Rob Harrop wrote: >>>>> >>>>>> Thomas, >>>>>> >>>>>> If you are willing to work on it, I am happy for you to move it >>>>>> to Spring Modules now. I don't see any harm in including what is >>>>>> there in a 0.1 release if you are happy with it. >>>>>> >>>>>> Rob >>>>>> On 13 Apr 2005, at 20:52, tho...@tr... wrote: >>>>>> >>>>>>> Rob, >>>>>>> >>>>>>> I'm currently working on a project where I will use Commons >>>>>>> Validator outside of >>>>>>> a Web MVC environment. I still would like to be able to wire it >>>>>>> up using Spring >>>>>>> and I have been playing around with what's in the sandbox. I >>>>>>> have already >>>>>>> changed the package names, so let me know when/if it is a good >>>>>>> time to move >>>>>>> this to springmodules CVS. >>>>>>> >>>>>>> I moved most of it to org.springmodules.validation.commons >>>>>>> package except for >>>>>>> the tag library which I put in >>>>>>> org.springmodules.web.servlet.tags.validation.commons. I guess >>>>>>> it makes sense >>>>>>> to keep the package structure in org.springmodules the same as >>>>>>> org.springframework so it's easier to move code between the >>>>>>> projects. >>>>>>> >>>>>>> Thomas >>>>>>> >>>>>>> >>>>>>> Quoting Rob Harrop <rob...@in...>: >>>>>>> >>>>>>>> Well, I'll spend some time going through the sandbox and see >>>>>>>> what I think is >>>>>>>> a candidate for Spring Modules. I'll post the suggestions here >>>>>>>> and if >>>>>>>> everyone is happy I'll do the move. We have about 6 active >>>>>>>> developers on SM >>>>>>>> who are not core Spring devs, plus there is me so we may be >>>>>>>> able to breath >>>>>>>> some live back into the stuff in the sandbox. >>>>>>>> >>>>>>>> Rob >>>>>>>> >>>>>>>> -- >>>>>>>> Rob Harrop >>>>>>>> Interface21 - Spring Services from the Source >>>>>>>> http://www.springframework.com >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: spr...@li... >>>>>>>> [mailto:spr...@li...] >>>>>>>> On Behalf Of >>>>>>>> Juergen Hoeller >>>>>>>> Sent: 12 April 2005 22:17 >>>>>>>> To: spr...@li... >>>>>>>> Subject: Re: [Springframework-developer] Where does webflow >>>>>>>> live? >>>>>>>> >>>>>>>> Ah, our favorite topic once again ;-) >>>>>>>> >>>>>>>> I'm not entirely sure whether Web Flow will get its own module; >>>>>>>> could be too >>>>>>>> fine-granular. The binding framework quite certainly shouldn't, >>>>>>>> which would >>>>>>>> already cause a problem with Web Flow's current status if we >>>>>>>> had modules. >>>>>>>> >>>>>>>> To give some numbers: If we want to have the binding framework, >>>>>>>> JCA support, >>>>>>>> Hibernate support, Web Flow, etc as separate modules (which >>>>>>>> would be >>>>>>>> necessary to get your desired effect of not putting any >>>>>>>> early-access stuff >>>>>>>> in the sandbox), we would end up with at least 35 modules >>>>>>>> (that's our >>>>>>>> top-level packages plus some subpackages of relevant size). >>>>>>>> Frankly, I >>>>>>>> consider that a horror scenario in terms of management and >>>>>>>> would strongly >>>>>>>> vote against it. >>>>>>>> >>>>>>>> I guess what I'm saying is that modules only *look* >>>>>>>> convincingly easy, but >>>>>>>> won't be a general solution for the early access problem in >>>>>>>> practice. Keith, >>>>>>>> please try to imagine this in detail and don't just consider it >>>>>>>> as solution >>>>>>>> upfront. This is absolutely non-trivial when looking at the >>>>>>>> details. >>>>>>>> >>>>>>>> Before we continue to spread the word on modules, I'd like to >>>>>>>> see concrete >>>>>>>> suggestions for module separation, respecting the >>>>>>>> interdependencies outlined >>>>>>>> in section 3 of our readme. I have already tried multiple times >>>>>>>> to nail down >>>>>>>> some options, and have always failed to find a convincing >>>>>>>> separation. >>>>>>>> >>>>>>>> The current jar files (12) might be a starting point, but I'm >>>>>>>> not sure that >>>>>>>> they can serve as module granularity too... Some packages are >>>>>>>> joined >>>>>>>> together there rather arbitrarily (from a source module >>>>>>>> perspective), for >>>>>>>> example the ones in spring-support.jar, or the separation >>>>>>>> between >>>>>>>> spring-orm.jar (which includes the entire ORM support except >>>>>>>> for Hibernate) >>>>>>>> and spring-hibernate.jar. Those jar files cannot be mapped >>>>>>>> 1-to-1 to source >>>>>>>> modules. >>>>>>>> >>>>>>>> So in total, it's unclear to me how a concrete module >>>>>>>> separation could look >>>>>>>> like (the more I look at it, the harder it seems). I doubt that >>>>>>>> we can >>>>>>>> resolve this within the 1.3 timeframe, given that we have such >>>>>>>> an aggressive >>>>>>>> schedule there, with just two months for multiple major new >>>>>>>> features. >>>>>>>> >>>>>>>> Anyway, the real problem here is the sandbox, IMO. There's too >>>>>>>> much stuff in >>>>>>>> there, both dead and somewhat alive. Noone should have to rely >>>>>>>> on >>>>>>>> spring-sandbox.jar!! Everything that's of some use in there >>>>>>>> should move, >>>>>>>> either to the core or to Spring Modules. >>>>>>>> >>>>>>>> Juergen >>>>>>>> >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: spr...@li... >>>>>>>> [mailto:springframework-developer- >>>>>>>> ad...@li...]On Behalf >>>>>>>> Of Keith Donald >>>>>>>> Sent: Tuesday, April 12, 2005 9:24 PM >>>>>>>> To: spr...@li... >>>>>>>> Subject: RE: [Springframework-developer] Where does webflow >>>>>>>> live? >>>>>>>> >>>>>>>> >>>>>>>> Aye, this is exactly why we need a modular CVS structure and a >>>>>>>> smarter >>>>>>>> build, which Colin is leading up in the post 1.2 timeframe. >>>>>>>> >>>>>>>> Web flow is currently maintained in the sandbox, yes. This >>>>>>>> means it is also >>>>>>>> included in spring-sandbox.jar when the 'sandboxjar' target is >>>>>>>> run. >>>>>>>> >>>>>>>> Independent of that fact, the webflow.release target ships >>>>>>>> spring-webflow.jar and spring-webflow-support.jar, pulling in >>>>>>>> _just_ the >>>>>>>> required code from the sandbox needed to run spring webflow. >>>>>>>> >>>>>>>> So, I guess you can say we've taken the stance that people >>>>>>>> aren't developing >>>>>>>> apps with spring-sandbox.jar in their classpath. Hmm... >>>>>>>> >>>>>>>> In any case, in the future spring-webflow will be in its own >>>>>>>> module with its >>>>>>>> own distributable, along side other well-defined core modules, >>>>>>>> and the >>>>>>>> sandbox will die the death it deserves (or be only used for >>>>>>>> true 'scratch' >>>>>>>> stuff) >>>>>>>> >>>>>>>> Keith >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: spr...@li... >>>>>>>> [mailto:spr...@li...] >>>>>>>> On Behalf Of >>>>>>>> Matt Raible >>>>>>>> Sent: Tuesday, April 12, 2005 3:04 PM >>>>>>>> To: spr...@li... >>>>>>>> Subject: [Springframework-developer] Where does webflow live? >>>>>>>> >>>>>>>> I ran into some issues last night with spring-sandbox.jar from >>>>>>>> Spring >>>>>>>> 1.2 RC1 and Spring Web Flow PR2. The problem turned out to be >>>>>>>> that >>>>>>>> many of the flow classes where already in my >>>>>>>> spring-sandbox.jar. Once >>>>>>>> I deleted them from spring-sandbox.jar, everything worked fine. >>>>>>>> How do >>>>>>>> I eliminate this duplication in the future? Is the web flow >>>>>>>> stuff in >>>>>>>> spring-sandbox.jar? The main reason I'm using the sandbox JAR >>>>>>>> is for >>>>>>>> Commons Validator. >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> Matt >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------- >>>>>>>> SF email is sponsored by - The IT Product Guide >>>>>>>> Read honest & candid reviews on hundreds of IT Products from >>>>>>>> real users. >>>>>>>> Discover which products truly live up to the hype. Start >>>>>>>> reading now. >>>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>>>>> _______________________________________________ >>>>>>>> Springframework-developer mailing list >>>>>>>> Spr...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>>>>> developer >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------- >>>>>>>> SF email is sponsored by - The IT Product Guide >>>>>>>> Read honest & candid reviews on hundreds of IT Products from >>>>>>>> real users. >>>>>>>> Discover which products truly live up to the hype. Start >>>>>>>> reading now. >>>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>>>>> _______________________________________________ >>>>>>>> Springframework-developer mailing list >>>>>>>> Spr...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>>>>> developer >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------- >>>>>>>> SF email is sponsored by - The IT Product Guide >>>>>>>> Read honest & candid reviews on hundreds of IT Products from >>>>>>>> real users. >>>>>>>> Discover which products truly live up to the hype. Start >>>>>>>> reading now. >>>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>>>>> _______________________________________________ >>>>>>>> Springframework-developer mailing list >>>>>>>> Spr...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>>>>> developer >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------- >>>>>>>> SF email is sponsored by - The IT Product Guide >>>>>>>> Read honest & candid reviews on hundreds of IT Products from >>>>>>>> real users. >>>>>>>> Discover which products truly live up to the hype. Start >>>>>>>> reading now. >>>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>>>>> _______________________________________________ >>>>>>>> Springframework-developer mailing list >>>>>>>> Spr...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>>>>> developer >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> SF email is sponsored by - The IT Product Guide >>>>>>> Read honest & candid reviews on hundreds of IT Products from >>>>>>> real users. >>>>>>> Discover which products truly live up to the hype. Start reading >>>>>>> now. >>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>>>> _______________________________________________ >>>>>>> Springframework-developer mailing list >>>>>>> Spr...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>>>> developer >>>>>>> >>>>>> -- >>>>>> Rob Harrop >>>>>> Interface21 - Spring Services from the Source >>>>>> http://www.springframework.com >>>>>> >>>>>> Lead Developer - AOP & JMX, Spring Framework: >>>>>> http://www.springframework.org >>>>>> >>>>>> Author, "Pro Spring" >>>>>> (February 2005, with Jan Machacek). >>>>>> http://www.amazon.com/exec/obidos/ASIN/1590594614/ >>>>>> >>>>>> Author, "Pro Jakarta Velocity" >>>>>> (August 2004). >>>>>> http://www.amazon.com/exec/obidos/ASIN/159059410X/ >>>>>> >>>>>> Author, "Pro Jakarta Struts" >>>>>> (March 2004, with John Carnell). >>>>>> http://www.amazon.com/exec/obidos/ASIN/159059228X/ >>>>>> >>>>>> >>>>>> ____________________________________________________ >>>>>> Interface21 Limited >>>>>> Registered Office Summit House, 2-2a Highfield Road, Dartford, >>>>>> Kent DA1 2JY >>>>>> Registered in England and Wales No. 5187766 >>>>>> ____________________________________________________ >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> SF email is sponsored by - The IT Product Guide >>>>>> Read honest & candid reviews on hundreds of IT Products from real >>>>>> users. >>>>>> Discover which products truly live up to the hype. Start reading >>>>>> now. >>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>>> _______________________________________________ >>>>>> Springframework-developer mailing list >>>>>> Spr...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>>> developer >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF email is sponsored by - The IT Product Guide >>>>> Read honest & candid reviews on hundreds of IT Products from real >>>>> users. >>>>> Discover which products truly live up to the hype. Start reading >>>>> now. >>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>> _______________________________________________ >>>>> Springframework-developer mailing list >>>>> Spr...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>> developer >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF email is sponsored by - The IT Product Guide >>>> Read honest & candid reviews on hundreds of IT Products from real >>>> users. >>>> Discover which products truly live up to the hype. Start reading >>>> now. >>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>> _______________________________________________ >>>> Springframework-developer mailing list >>>> Spr...@li... >>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>> developer >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>> _______________________________________________ >>> Springframework-developer mailing list >>> Spr...@li... >>> https://lists.sourceforge.net/lists/listinfo/springframework- >>> developer >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real >> users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> |
|
From: Thomas R. <tho...@tr...> - 2005-04-14 22:30:28
|
Matt, Are you using the most recent version from CVS - I got the same error yesterday - it was due to a refactoring misstake in the following line in DefaultValidatorFactory: private static final String ERRORS_KEY = "org.springframework.validation.Errors"; the ERRORS_KEY was wrong so the null pointer exception was from a missing error object. I did however fix it last night and my local tests run fine. Thomas On Apr 14, 2005, at 5:57 PM, Matt Raible wrote: > Client-side validation seems to work fine, but not server side. > Here's the error: > > ERROR - ValidatorAction.executeValidationMethod(602) | Unhandled > exception thrown during validation: null > java.lang.NullPointerException > at > org.springmodules.commons.validator.Resources.rejectValue(Resources.jav > a:66) > at > org.springmodules.commons.validator.FieldChecks.validateRequired(FieldC > hecks.java:87) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja > va:39) > > Matt > > > On Apr 14, 2005, at 9:00 AM, Thomas Risberg wrote: > >> Matt, >> >> I forgot the tld -- I have added it to the build. I changed the uri >> back to http://www.springmodules.org/tags/commons-validator - same as >> before except for the domain name. >> >> Thanks for testing it :) >> >> Thomas >> >> >> On Apr 14, 2005, at 12:40 AM, Matt Raible wrote: >> >>> I tried it and the springmodules-validator-dev-20050413.jar seems to >>> be missing the taglib.tld in the META-INF directory. I built the >>> project using "ant alljars". >>> >>> 0 Wed Apr 13 22:12:46 MDT 2005 META-INF/ >>> 217 Wed Apr 13 22:12:44 MDT 2005 META-INF/MANIFEST.MF >>> 0 Wed Apr 13 22:12:44 MDT 2005 org/ >>> 0 Wed Apr 13 22:12:44 MDT 2005 org/springmodules/ >>> 0 Wed Apr 13 22:12:44 MDT 2005 org/springmodules/commons/ >>> 0 Wed Apr 13 22:12:44 MDT 2005 >>> org/springmodules/commons/validator/ >>> 0 Wed Apr 13 22:12:44 MDT 2005 >>> org/springmodules/commons/validator/taglib/ >>> 2392 Wed Apr 13 22:12:44 MDT 2005 >>> org/springmodules/commons/validator/BeanValidator.class >>> 4596 Wed Apr 13 22:12:44 MDT 2005 >>> org/springmodules/commons/validator/DefaultValidatorFactory.class >>> 11261 Wed Apr 13 22:12:44 MDT 2005 >>> org/springmodules/commons/validator/FieldChecks.class >>> 3404 Wed Apr 13 22:12:44 MDT 2005 >>> org/springmodules/commons/validator/NamedBeanValidator.class >>> 4625 Wed Apr 13 22:12:44 MDT 2005 >>> org/springmodules/commons/validator/Resources.class >>> 2974 Wed Apr 13 22:12:44 MDT 2005 >>> org/springmodules/commons/validator/ValidatorAdaptor.class >>> 446 Wed Apr 13 22:12:44 MDT 2005 >>> org/springmodules/commons/validator/ValidatorFactory.class >>> 1305 Wed Apr 13 22:12:44 MDT 2005 >>> org/springmodules/commons/validator/taglib/ >>> JavascriptValidatorTag$1.class >>> 13579 Wed Apr 13 22:12:44 MDT 2005 >>> org/springmodules/commons/validator/taglib/ >>> JavascriptValidatorTag.class >>> >>> This results in the following error: >>> >>> org.apache.jasper.JasperException: /index.jsp(1,1) The absolute uri: >>> http://www.springmodules.org/tags/spring-commons-validator cannot be >>> resolved in either web.xml or the jar files deployed with this >>> application >>> at >>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorH >>> andler.java:39) >>> >>> BTW, is there any way to have a shorter URI - something like >>> http://www.springmodules.org/tags/validator? >>> >>> Thanks, >>> >>> Matt >>> >>> On Apr 13, 2005, at 8:46 PM, Thomas Risberg wrote: >>> >>>> I have moved the Commons Validator support over to springmodules. >>>> I did not make any changes other than the package names and >>>> copyright/license notices. There are quite a few deprecated >>>> methods - I guess some of the code is for an older version. >>>> >>>> The new package name is org.springmodules.commons.validator >>>> and the new uri for the taglib is >>>> http://www.springmodules.org/tags/spring-commons-validator >>>> >>>> Matt, since you seem to be the primary user of this support, could >>>> you check the new code out and test it? >>>> >>>> Thomas >>>> >>>> >>>> On Apr 13, 2005, at 5:40 PM, Rob Harrop wrote: >>>> >>>>> Thomas, >>>>> >>>>> If you are willing to work on it, I am happy for you to move it to >>>>> Spring Modules now. I don't see any harm in including what is >>>>> there in a 0.1 release if you are happy with it. >>>>> >>>>> Rob >>>>> On 13 Apr 2005, at 20:52, tho...@tr... wrote: >>>>> >>>>>> Rob, >>>>>> >>>>>> I'm currently working on a project where I will use Commons >>>>>> Validator outside of >>>>>> a Web MVC environment. I still would like to be able to wire it >>>>>> up using Spring >>>>>> and I have been playing around with what's in the sandbox. I >>>>>> have already >>>>>> changed the package names, so let me know when/if it is a good >>>>>> time to move >>>>>> this to springmodules CVS. >>>>>> >>>>>> I moved most of it to org.springmodules.validation.commons >>>>>> package except for >>>>>> the tag library which I put in >>>>>> org.springmodules.web.servlet.tags.validation.commons. I guess >>>>>> it makes sense >>>>>> to keep the package structure in org.springmodules the same as >>>>>> org.springframework so it's easier to move code between the >>>>>> projects. >>>>>> >>>>>> Thomas >>>>>> >>>>>> >>>>>> Quoting Rob Harrop <rob...@in...>: >>>>>> >>>>>>> Well, I'll spend some time going through the sandbox and see >>>>>>> what I think is >>>>>>> a candidate for Spring Modules. I'll post the suggestions here >>>>>>> and if >>>>>>> everyone is happy I'll do the move. We have about 6 active >>>>>>> developers on SM >>>>>>> who are not core Spring devs, plus there is me so we may be able >>>>>>> to breath >>>>>>> some live back into the stuff in the sandbox. >>>>>>> >>>>>>> Rob >>>>>>> >>>>>>> -- >>>>>>> Rob Harrop >>>>>>> Interface21 - Spring Services from the Source >>>>>>> http://www.springframework.com >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: spr...@li... >>>>>>> [mailto:spr...@li...] >>>>>>> On Behalf Of >>>>>>> Juergen Hoeller >>>>>>> Sent: 12 April 2005 22:17 >>>>>>> To: spr...@li... >>>>>>> Subject: Re: [Springframework-developer] Where does webflow live? >>>>>>> >>>>>>> Ah, our favorite topic once again ;-) >>>>>>> >>>>>>> I'm not entirely sure whether Web Flow will get its own module; >>>>>>> could be too >>>>>>> fine-granular. The binding framework quite certainly shouldn't, >>>>>>> which would >>>>>>> already cause a problem with Web Flow's current status if we had >>>>>>> modules. >>>>>>> >>>>>>> To give some numbers: If we want to have the binding framework, >>>>>>> JCA support, >>>>>>> Hibernate support, Web Flow, etc as separate modules (which >>>>>>> would be >>>>>>> necessary to get your desired effect of not putting any >>>>>>> early-access stuff >>>>>>> in the sandbox), we would end up with at least 35 modules >>>>>>> (that's our >>>>>>> top-level packages plus some subpackages of relevant size). >>>>>>> Frankly, I >>>>>>> consider that a horror scenario in terms of management and would >>>>>>> strongly >>>>>>> vote against it. >>>>>>> >>>>>>> I guess what I'm saying is that modules only *look* convincingly >>>>>>> easy, but >>>>>>> won't be a general solution for the early access problem in >>>>>>> practice. Keith, >>>>>>> please try to imagine this in detail and don't just consider it >>>>>>> as solution >>>>>>> upfront. This is absolutely non-trivial when looking at the >>>>>>> details. >>>>>>> >>>>>>> Before we continue to spread the word on modules, I'd like to >>>>>>> see concrete >>>>>>> suggestions for module separation, respecting the >>>>>>> interdependencies outlined >>>>>>> in section 3 of our readme. I have already tried multiple times >>>>>>> to nail down >>>>>>> some options, and have always failed to find a convincing >>>>>>> separation. >>>>>>> >>>>>>> The current jar files (12) might be a starting point, but I'm >>>>>>> not sure that >>>>>>> they can serve as module granularity too... Some packages are >>>>>>> joined >>>>>>> together there rather arbitrarily (from a source module >>>>>>> perspective), for >>>>>>> example the ones in spring-support.jar, or the separation between >>>>>>> spring-orm.jar (which includes the entire ORM support except for >>>>>>> Hibernate) >>>>>>> and spring-hibernate.jar. Those jar files cannot be mapped >>>>>>> 1-to-1 to source >>>>>>> modules. >>>>>>> >>>>>>> So in total, it's unclear to me how a concrete module separation >>>>>>> could look >>>>>>> like (the more I look at it, the harder it seems). I doubt that >>>>>>> we can >>>>>>> resolve this within the 1.3 timeframe, given that we have such >>>>>>> an aggressive >>>>>>> schedule there, with just two months for multiple major new >>>>>>> features. >>>>>>> >>>>>>> Anyway, the real problem here is the sandbox, IMO. There's too >>>>>>> much stuff in >>>>>>> there, both dead and somewhat alive. Noone should have to rely on >>>>>>> spring-sandbox.jar!! Everything that's of some use in there >>>>>>> should move, >>>>>>> either to the core or to Spring Modules. >>>>>>> >>>>>>> Juergen >>>>>>> >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: spr...@li... >>>>>>> [mailto:spr...@li...]On >>>>>>> Behalf >>>>>>> Of Keith Donald >>>>>>> Sent: Tuesday, April 12, 2005 9:24 PM >>>>>>> To: spr...@li... >>>>>>> Subject: RE: [Springframework-developer] Where does webflow live? >>>>>>> >>>>>>> >>>>>>> Aye, this is exactly why we need a modular CVS structure and a >>>>>>> smarter >>>>>>> build, which Colin is leading up in the post 1.2 timeframe. >>>>>>> >>>>>>> Web flow is currently maintained in the sandbox, yes. This >>>>>>> means it is also >>>>>>> included in spring-sandbox.jar when the 'sandboxjar' target is >>>>>>> run. >>>>>>> >>>>>>> Independent of that fact, the webflow.release target ships >>>>>>> spring-webflow.jar and spring-webflow-support.jar, pulling in >>>>>>> _just_ the >>>>>>> required code from the sandbox needed to run spring webflow. >>>>>>> >>>>>>> So, I guess you can say we've taken the stance that people >>>>>>> aren't developing >>>>>>> apps with spring-sandbox.jar in their classpath. Hmm... >>>>>>> >>>>>>> In any case, in the future spring-webflow will be in its own >>>>>>> module with its >>>>>>> own distributable, along side other well-defined core modules, >>>>>>> and the >>>>>>> sandbox will die the death it deserves (or be only used for true >>>>>>> 'scratch' >>>>>>> stuff) >>>>>>> >>>>>>> Keith >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: spr...@li... >>>>>>> [mailto:spr...@li...] >>>>>>> On Behalf Of >>>>>>> Matt Raible >>>>>>> Sent: Tuesday, April 12, 2005 3:04 PM >>>>>>> To: spr...@li... >>>>>>> Subject: [Springframework-developer] Where does webflow live? >>>>>>> >>>>>>> I ran into some issues last night with spring-sandbox.jar from >>>>>>> Spring >>>>>>> 1.2 RC1 and Spring Web Flow PR2. The problem turned out to be >>>>>>> that >>>>>>> many of the flow classes where already in my spring-sandbox.jar. >>>>>>> Once >>>>>>> I deleted them from spring-sandbox.jar, everything worked fine. >>>>>>> How do >>>>>>> I eliminate this duplication in the future? Is the web flow >>>>>>> stuff in >>>>>>> spring-sandbox.jar? The main reason I'm using the sandbox JAR >>>>>>> is for >>>>>>> Commons Validator. >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Matt >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> SF email is sponsored by - The IT Product Guide >>>>>>> Read honest & candid reviews on hundreds of IT Products from >>>>>>> real users. >>>>>>> Discover which products truly live up to the hype. Start reading >>>>>>> now. >>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>>>> _______________________________________________ >>>>>>> Springframework-developer mailing list >>>>>>> Spr...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>>>> developer >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> SF email is sponsored by - The IT Product Guide >>>>>>> Read honest & candid reviews on hundreds of IT Products from >>>>>>> real users. >>>>>>> Discover which products truly live up to the hype. Start reading >>>>>>> now. >>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>>>> _______________________________________________ >>>>>>> Springframework-developer mailing list >>>>>>> Spr...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>>>> developer >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> SF email is sponsored by - The IT Product Guide >>>>>>> Read honest & candid reviews on hundreds of IT Products from >>>>>>> real users. >>>>>>> Discover which products truly live up to the hype. Start reading >>>>>>> now. >>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>>>> _______________________________________________ >>>>>>> Springframework-developer mailing list >>>>>>> Spr...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>>>> developer >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> SF email is sponsored by - The IT Product Guide >>>>>>> Read honest & candid reviews on hundreds of IT Products from >>>>>>> real users. >>>>>>> Discover which products truly live up to the hype. Start reading >>>>>>> now. >>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>>>> _______________________________________________ >>>>>>> Springframework-developer mailing list >>>>>>> Spr...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>>>> developer >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> SF email is sponsored by - The IT Product Guide >>>>>> Read honest & candid reviews on hundreds of IT Products from real >>>>>> users. >>>>>> Discover which products truly live up to the hype. Start reading >>>>>> now. >>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>>> _______________________________________________ >>>>>> Springframework-developer mailing list >>>>>> Spr...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>>> developer >>>>>> >>>>> -- >>>>> Rob Harrop >>>>> Interface21 - Spring Services from the Source >>>>> http://www.springframework.com >>>>> >>>>> Lead Developer - AOP & JMX, Spring Framework: >>>>> http://www.springframework.org >>>>> >>>>> Author, "Pro Spring" >>>>> (February 2005, with Jan Machacek). >>>>> http://www.amazon.com/exec/obidos/ASIN/1590594614/ >>>>> >>>>> Author, "Pro Jakarta Velocity" >>>>> (August 2004). >>>>> http://www.amazon.com/exec/obidos/ASIN/159059410X/ >>>>> >>>>> Author, "Pro Jakarta Struts" >>>>> (March 2004, with John Carnell). >>>>> http://www.amazon.com/exec/obidos/ASIN/159059228X/ >>>>> >>>>> >>>>> ____________________________________________________ >>>>> Interface21 Limited >>>>> Registered Office Summit House, 2-2a Highfield Road, Dartford, >>>>> Kent DA1 2JY >>>>> Registered in England and Wales No. 5187766 >>>>> ____________________________________________________ >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF email is sponsored by - The IT Product Guide >>>>> Read honest & candid reviews on hundreds of IT Products from real >>>>> users. >>>>> Discover which products truly live up to the hype. Start reading >>>>> now. >>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>> _______________________________________________ >>>>> Springframework-developer mailing list >>>>> Spr...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>> developer >>>>> >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF email is sponsored by - The IT Product Guide >>>> Read honest & candid reviews on hundreds of IT Products from real >>>> users. >>>> Discover which products truly live up to the hype. Start reading >>>> now. >>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>> _______________________________________________ >>>> Springframework-developer mailing list >>>> Spr...@li... >>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>> developer >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>> _______________________________________________ >>> Springframework-developer mailing list >>> Spr...@li... >>> https://lists.sourceforge.net/lists/listinfo/springframework- >>> developer >>> >>> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real >> users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |
|
From: <al...@jt...> - 2005-04-14 22:27:06
|
View results here -> http://opensource.jteam.nl/build/buildresults/spring?log=log20050415001544Lbuild.245 |
|
From: Matt R. <li...@ra...> - 2005-04-14 21:57:59
|
Client-side validation seems to work fine, but not server side. Here's
the error:
ERROR - ValidatorAction.executeValidationMethod(602) | Unhandled
exception thrown during validation: null
java.lang.NullPointerException
at
org.springmodules.commons.validator.Resources.rejectValue(Resources.java
:66)
at
org.springmodules.commons.validator.FieldChecks.validateRequired(FieldCh
ecks.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
Matt
On Apr 14, 2005, at 9:00 AM, Thomas Risberg wrote:
> Matt,
>
> I forgot the tld -- I have added it to the build. I changed the uri
> back to http://www.springmodules.org/tags/commons-validator - same as
> before except for the domain name.
>
> Thanks for testing it :)
>
> Thomas
>
>
> On Apr 14, 2005, at 12:40 AM, Matt Raible wrote:
>
>> I tried it and the springmodules-validator-dev-20050413.jar seems to
>> be missing the taglib.tld in the META-INF directory. I built the
>> project using "ant alljars".
>>
>> 0 Wed Apr 13 22:12:46 MDT 2005 META-INF/
>> 217 Wed Apr 13 22:12:44 MDT 2005 META-INF/MANIFEST.MF
>> 0 Wed Apr 13 22:12:44 MDT 2005 org/
>> 0 Wed Apr 13 22:12:44 MDT 2005 org/springmodules/
>> 0 Wed Apr 13 22:12:44 MDT 2005 org/springmodules/commons/
>> 0 Wed Apr 13 22:12:44 MDT 2005
>> org/springmodules/commons/validator/
>> 0 Wed Apr 13 22:12:44 MDT 2005
>> org/springmodules/commons/validator/taglib/
>> 2392 Wed Apr 13 22:12:44 MDT 2005
>> org/springmodules/commons/validator/BeanValidator.class
>> 4596 Wed Apr 13 22:12:44 MDT 2005
>> org/springmodules/commons/validator/DefaultValidatorFactory.class
>> 11261 Wed Apr 13 22:12:44 MDT 2005
>> org/springmodules/commons/validator/FieldChecks.class
>> 3404 Wed Apr 13 22:12:44 MDT 2005
>> org/springmodules/commons/validator/NamedBeanValidator.class
>> 4625 Wed Apr 13 22:12:44 MDT 2005
>> org/springmodules/commons/validator/Resources.class
>> 2974 Wed Apr 13 22:12:44 MDT 2005
>> org/springmodules/commons/validator/ValidatorAdaptor.class
>> 446 Wed Apr 13 22:12:44 MDT 2005
>> org/springmodules/commons/validator/ValidatorFactory.class
>> 1305 Wed Apr 13 22:12:44 MDT 2005
>> org/springmodules/commons/validator/taglib/
>> JavascriptValidatorTag$1.class
>> 13579 Wed Apr 13 22:12:44 MDT 2005
>> org/springmodules/commons/validator/taglib/
>> JavascriptValidatorTag.class
>>
>> This results in the following error:
>>
>> org.apache.jasper.JasperException: /index.jsp(1,1) The absolute uri:
>> http://www.springmodules.org/tags/spring-commons-validator cannot be
>> resolved in either web.xml or the jar files deployed with this
>> application
>> at
>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHa
>> ndler.java:39)
>>
>> BTW, is there any way to have a shorter URI - something like
>> http://www.springmodules.org/tags/validator?
>>
>> Thanks,
>>
>> Matt
>>
>> On Apr 13, 2005, at 8:46 PM, Thomas Risberg wrote:
>>
>>> I have moved the Commons Validator support over to springmodules. I
>>> did not make any changes other than the package names and
>>> copyright/license notices. There are quite a few deprecated methods
>>> - I guess some of the code is for an older version.
>>>
>>> The new package name is org.springmodules.commons.validator
>>> and the new uri for the taglib is
>>> http://www.springmodules.org/tags/spring-commons-validator
>>>
>>> Matt, since you seem to be the primary user of this support, could
>>> you check the new code out and test it?
>>>
>>> Thomas
>>>
>>>
>>> On Apr 13, 2005, at 5:40 PM, Rob Harrop wrote:
>>>
>>>> Thomas,
>>>>
>>>> If you are willing to work on it, I am happy for you to move it to
>>>> Spring Modules now. I don't see any harm in including what is there
>>>> in a 0.1 release if you are happy with it.
>>>>
>>>> Rob
>>>> On 13 Apr 2005, at 20:52, tho...@tr... wrote:
>>>>
>>>>> Rob,
>>>>>
>>>>> I'm currently working on a project where I will use Commons
>>>>> Validator outside of
>>>>> a Web MVC environment. I still would like to be able to wire it
>>>>> up using Spring
>>>>> and I have been playing around with what's in the sandbox. I have
>>>>> already
>>>>> changed the package names, so let me know when/if it is a good
>>>>> time to move
>>>>> this to springmodules CVS.
>>>>>
>>>>> I moved most of it to org.springmodules.validation.commons package
>>>>> except for
>>>>> the tag library which I put in
>>>>> org.springmodules.web.servlet.tags.validation.commons. I guess it
>>>>> makes sense
>>>>> to keep the package structure in org.springmodules the same as
>>>>> org.springframework so it's easier to move code between the
>>>>> projects.
>>>>>
>>>>> Thomas
>>>>>
>>>>>
>>>>> Quoting Rob Harrop <rob...@in...>:
>>>>>
>>>>>> Well, I'll spend some time going through the sandbox and see what
>>>>>> I think is
>>>>>> a candidate for Spring Modules. I'll post the suggestions here
>>>>>> and if
>>>>>> everyone is happy I'll do the move. We have about 6 active
>>>>>> developers on SM
>>>>>> who are not core Spring devs, plus there is me so we may be able
>>>>>> to breath
>>>>>> some live back into the stuff in the sandbox.
>>>>>>
>>>>>> Rob
>>>>>>
>>>>>> --
>>>>>> Rob Harrop
>>>>>> Interface21 - Spring Services from the Source
>>>>>> http://www.springframework.com
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: spr...@li...
>>>>>> [mailto:spr...@li...] On
>>>>>> Behalf Of
>>>>>> Juergen Hoeller
>>>>>> Sent: 12 April 2005 22:17
>>>>>> To: spr...@li...
>>>>>> Subject: Re: [Springframework-developer] Where does webflow live?
>>>>>>
>>>>>> Ah, our favorite topic once again ;-)
>>>>>>
>>>>>> I'm not entirely sure whether Web Flow will get its own module;
>>>>>> could be too
>>>>>> fine-granular. The binding framework quite certainly shouldn't,
>>>>>> which would
>>>>>> already cause a problem with Web Flow's current status if we had
>>>>>> modules.
>>>>>>
>>>>>> To give some numbers: If we want to have the binding framework,
>>>>>> JCA support,
>>>>>> Hibernate support, Web Flow, etc as separate modules (which would
>>>>>> be
>>>>>> necessary to get your desired effect of not putting any
>>>>>> early-access stuff
>>>>>> in the sandbox), we would end up with at least 35 modules (that's
>>>>>> our
>>>>>> top-level packages plus some subpackages of relevant size).
>>>>>> Frankly, I
>>>>>> consider that a horror scenario in terms of management and would
>>>>>> strongly
>>>>>> vote against it.
>>>>>>
>>>>>> I guess what I'm saying is that modules only *look* convincingly
>>>>>> easy, but
>>>>>> won't be a general solution for the early access problem in
>>>>>> practice. Keith,
>>>>>> please try to imagine this in detail and don't just consider it
>>>>>> as solution
>>>>>> upfront. This is absolutely non-trivial when looking at the
>>>>>> details.
>>>>>>
>>>>>> Before we continue to spread the word on modules, I'd like to see
>>>>>> concrete
>>>>>> suggestions for module separation, respecting the
>>>>>> interdependencies outlined
>>>>>> in section 3 of our readme. I have already tried multiple times
>>>>>> to nail down
>>>>>> some options, and have always failed to find a convincing
>>>>>> separation.
>>>>>>
>>>>>> The current jar files (12) might be a starting point, but I'm not
>>>>>> sure that
>>>>>> they can serve as module granularity too... Some packages are
>>>>>> joined
>>>>>> together there rather arbitrarily (from a source module
>>>>>> perspective), for
>>>>>> example the ones in spring-support.jar, or the separation between
>>>>>> spring-orm.jar (which includes the entire ORM support except for
>>>>>> Hibernate)
>>>>>> and spring-hibernate.jar. Those jar files cannot be mapped 1-to-1
>>>>>> to source
>>>>>> modules.
>>>>>>
>>>>>> So in total, it's unclear to me how a concrete module separation
>>>>>> could look
>>>>>> like (the more I look at it, the harder it seems). I doubt that
>>>>>> we can
>>>>>> resolve this within the 1.3 timeframe, given that we have such an
>>>>>> aggressive
>>>>>> schedule there, with just two months for multiple major new
>>>>>> features.
>>>>>>
>>>>>> Anyway, the real problem here is the sandbox, IMO. There's too
>>>>>> much stuff in
>>>>>> there, both dead and somewhat alive. Noone should have to rely on
>>>>>> spring-sandbox.jar!! Everything that's of some use in there
>>>>>> should move,
>>>>>> either to the core or to Spring Modules.
>>>>>>
>>>>>> Juergen
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: spr...@li...
>>>>>> [mailto:spr...@li...]On
>>>>>> Behalf
>>>>>> Of Keith Donald
>>>>>> Sent: Tuesday, April 12, 2005 9:24 PM
>>>>>> To: spr...@li...
>>>>>> Subject: RE: [Springframework-developer] Where does webflow live?
>>>>>>
>>>>>>
>>>>>> Aye, this is exactly why we need a modular CVS structure and a
>>>>>> smarter
>>>>>> build, which Colin is leading up in the post 1.2 timeframe.
>>>>>>
>>>>>> Web flow is currently maintained in the sandbox, yes. This means
>>>>>> it is also
>>>>>> included in spring-sandbox.jar when the 'sandboxjar' target is
>>>>>> run.
>>>>>>
>>>>>> Independent of that fact, the webflow.release target ships
>>>>>> spring-webflow.jar and spring-webflow-support.jar, pulling in
>>>>>> _just_ the
>>>>>> required code from the sandbox needed to run spring webflow.
>>>>>>
>>>>>> So, I guess you can say we've taken the stance that people aren't
>>>>>> developing
>>>>>> apps with spring-sandbox.jar in their classpath. Hmm...
>>>>>>
>>>>>> In any case, in the future spring-webflow will be in its own
>>>>>> module with its
>>>>>> own distributable, along side other well-defined core modules,
>>>>>> and the
>>>>>> sandbox will die the death it deserves (or be only used for true
>>>>>> 'scratch'
>>>>>> stuff)
>>>>>>
>>>>>> Keith
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: spr...@li...
>>>>>> [mailto:spr...@li...] On
>>>>>> Behalf Of
>>>>>> Matt Raible
>>>>>> Sent: Tuesday, April 12, 2005 3:04 PM
>>>>>> To: spr...@li...
>>>>>> Subject: [Springframework-developer] Where does webflow live?
>>>>>>
>>>>>> I ran into some issues last night with spring-sandbox.jar from
>>>>>> Spring
>>>>>> 1.2 RC1 and Spring Web Flow PR2. The problem turned out to be
>>>>>> that
>>>>>> many of the flow classes where already in my spring-sandbox.jar.
>>>>>> Once
>>>>>> I deleted them from spring-sandbox.jar, everything worked fine.
>>>>>> How do
>>>>>> I eliminate this duplication in the future? Is the web flow
>>>>>> stuff in
>>>>>> spring-sandbox.jar? The main reason I'm using the sandbox JAR is
>>>>>> for
>>>>>> Commons Validator.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Matt
>>>>>>
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------
>>>>>> SF email is sponsored by - The IT Product Guide
>>>>>> Read honest & candid reviews on hundreds of IT Products from real
>>>>>> users.
>>>>>> Discover which products truly live up to the hype. Start reading
>>>>>> now.
>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>>>> _______________________________________________
>>>>>> Springframework-developer mailing list
>>>>>> Spr...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework-
>>>>>> developer
>>>>>>
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------
>>>>>> SF email is sponsored by - The IT Product Guide
>>>>>> Read honest & candid reviews on hundreds of IT Products from real
>>>>>> users.
>>>>>> Discover which products truly live up to the hype. Start reading
>>>>>> now.
>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>>>> _______________________________________________
>>>>>> Springframework-developer mailing list
>>>>>> Spr...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework-
>>>>>> developer
>>>>>>
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------
>>>>>> SF email is sponsored by - The IT Product Guide
>>>>>> Read honest & candid reviews on hundreds of IT Products from real
>>>>>> users.
>>>>>> Discover which products truly live up to the hype. Start reading
>>>>>> now.
>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>>>> _______________________________________________
>>>>>> Springframework-developer mailing list
>>>>>> Spr...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework-
>>>>>> developer
>>>>>>
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------
>>>>>> SF email is sponsored by - The IT Product Guide
>>>>>> Read honest & candid reviews on hundreds of IT Products from real
>>>>>> users.
>>>>>> Discover which products truly live up to the hype. Start reading
>>>>>> now.
>>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>>>> _______________________________________________
>>>>>> Springframework-developer mailing list
>>>>>> Spr...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/springframework-
>>>>>> developer
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------
>>>>> SF email is sponsored by - The IT Product Guide
>>>>> Read honest & candid reviews on hundreds of IT Products from real
>>>>> users.
>>>>> Discover which products truly live up to the hype. Start reading
>>>>> now.
>>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>>> _______________________________________________
>>>>> Springframework-developer mailing list
>>>>> Spr...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/springframework-
>>>>> developer
>>>>>
>>>> --
>>>> Rob Harrop
>>>> Interface21 - Spring Services from the Source
>>>> http://www.springframework.com
>>>>
>>>> Lead Developer - AOP & JMX, Spring Framework:
>>>> http://www.springframework.org
>>>>
>>>> Author, "Pro Spring"
>>>> (February 2005, with Jan Machacek).
>>>> http://www.amazon.com/exec/obidos/ASIN/1590594614/
>>>>
>>>> Author, "Pro Jakarta Velocity"
>>>> (August 2004).
>>>> http://www.amazon.com/exec/obidos/ASIN/159059410X/
>>>>
>>>> Author, "Pro Jakarta Struts"
>>>> (March 2004, with John Carnell).
>>>> http://www.amazon.com/exec/obidos/ASIN/159059228X/
>>>>
>>>>
>>>> ____________________________________________________
>>>> Interface21 Limited
>>>> Registered Office Summit House, 2-2a Highfield Road, Dartford, Kent
>>>> DA1 2JY
>>>> Registered in England and Wales No. 5187766
>>>> ____________________________________________________
>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> SF email is sponsored by - The IT Product Guide
>>>> Read honest & candid reviews on hundreds of IT Products from real
>>>> users.
>>>> Discover which products truly live up to the hype. Start reading
>>>> now.
>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>> _______________________________________________
>>>> Springframework-developer mailing list
>>>> Spr...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/springframework-
>>>> developer
>>>>
>>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> SF email is sponsored by - The IT Product Guide
>>> Read honest & candid reviews on hundreds of IT Products from real
>>> users.
>>> Discover which products truly live up to the hype. Start reading now.
>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>> _______________________________________________
>>> Springframework-developer mailing list
>>> Spr...@li...
>>> https://lists.sourceforge.net/lists/listinfo/springframework-
>>> developer
>>
>>
>>
>> -------------------------------------------------------
>> SF email is sponsored by - The IT Product Guide
>> Read honest & candid reviews on hundreds of IT Products from real
>> users.
>> Discover which products truly live up to the hype. Start reading now.
>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>> _______________________________________________
>> Springframework-developer mailing list
>> Spr...@li...
>> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>>
>>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
> users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
|
|
From: Thomas R. <tho...@tr...> - 2005-04-14 17:20:37
|
Matt, I forgot the tld -- I have added it to the build. I changed the uri back to http://www.springmodules.org/tags/commons-validator - same as before except for the domain name. Thanks for testing it :) Thomas On Apr 14, 2005, at 12:40 AM, Matt Raible wrote: > I tried it and the springmodules-validator-dev-20050413.jar seems to > be missing the taglib.tld in the META-INF directory. I built the > project using "ant alljars". > > 0 Wed Apr 13 22:12:46 MDT 2005 META-INF/ > 217 Wed Apr 13 22:12:44 MDT 2005 META-INF/MANIFEST.MF > 0 Wed Apr 13 22:12:44 MDT 2005 org/ > 0 Wed Apr 13 22:12:44 MDT 2005 org/springmodules/ > 0 Wed Apr 13 22:12:44 MDT 2005 org/springmodules/commons/ > 0 Wed Apr 13 22:12:44 MDT 2005 > org/springmodules/commons/validator/ > 0 Wed Apr 13 22:12:44 MDT 2005 > org/springmodules/commons/validator/taglib/ > 2392 Wed Apr 13 22:12:44 MDT 2005 > org/springmodules/commons/validator/BeanValidator.class > 4596 Wed Apr 13 22:12:44 MDT 2005 > org/springmodules/commons/validator/DefaultValidatorFactory.class > 11261 Wed Apr 13 22:12:44 MDT 2005 > org/springmodules/commons/validator/FieldChecks.class > 3404 Wed Apr 13 22:12:44 MDT 2005 > org/springmodules/commons/validator/NamedBeanValidator.class > 4625 Wed Apr 13 22:12:44 MDT 2005 > org/springmodules/commons/validator/Resources.class > 2974 Wed Apr 13 22:12:44 MDT 2005 > org/springmodules/commons/validator/ValidatorAdaptor.class > 446 Wed Apr 13 22:12:44 MDT 2005 > org/springmodules/commons/validator/ValidatorFactory.class > 1305 Wed Apr 13 22:12:44 MDT 2005 > org/springmodules/commons/validator/taglib/ > JavascriptValidatorTag$1.class > 13579 Wed Apr 13 22:12:44 MDT 2005 > org/springmodules/commons/validator/taglib/ > JavascriptValidatorTag.class > > This results in the following error: > > org.apache.jasper.JasperException: /index.jsp(1,1) The absolute uri: > http://www.springmodules.org/tags/spring-commons-validator cannot be > resolved in either web.xml or the jar files deployed with this > application > at > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHan > dler.java:39) > > BTW, is there any way to have a shorter URI - something like > http://www.springmodules.org/tags/validator? > > Thanks, > > Matt > > On Apr 13, 2005, at 8:46 PM, Thomas Risberg wrote: > >> I have moved the Commons Validator support over to springmodules. I >> did not make any changes other than the package names and >> copyright/license notices. There are quite a few deprecated methods >> - I guess some of the code is for an older version. >> >> The new package name is org.springmodules.commons.validator >> and the new uri for the taglib is >> http://www.springmodules.org/tags/spring-commons-validator >> >> Matt, since you seem to be the primary user of this support, could >> you check the new code out and test it? >> >> Thomas >> >> >> On Apr 13, 2005, at 5:40 PM, Rob Harrop wrote: >> >>> Thomas, >>> >>> If you are willing to work on it, I am happy for you to move it to >>> Spring Modules now. I don't see any harm in including what is there >>> in a 0.1 release if you are happy with it. >>> >>> Rob >>> On 13 Apr 2005, at 20:52, tho...@tr... wrote: >>> >>>> Rob, >>>> >>>> I'm currently working on a project where I will use Commons >>>> Validator outside of >>>> a Web MVC environment. I still would like to be able to wire it up >>>> using Spring >>>> and I have been playing around with what's in the sandbox. I have >>>> already >>>> changed the package names, so let me know when/if it is a good time >>>> to move >>>> this to springmodules CVS. >>>> >>>> I moved most of it to org.springmodules.validation.commons package >>>> except for >>>> the tag library which I put in >>>> org.springmodules.web.servlet.tags.validation.commons. I guess it >>>> makes sense >>>> to keep the package structure in org.springmodules the same as >>>> org.springframework so it's easier to move code between the >>>> projects. >>>> >>>> Thomas >>>> >>>> >>>> Quoting Rob Harrop <rob...@in...>: >>>> >>>>> Well, I'll spend some time going through the sandbox and see what >>>>> I think is >>>>> a candidate for Spring Modules. I'll post the suggestions here and >>>>> if >>>>> everyone is happy I'll do the move. We have about 6 active >>>>> developers on SM >>>>> who are not core Spring devs, plus there is me so we may be able >>>>> to breath >>>>> some live back into the stuff in the sandbox. >>>>> >>>>> Rob >>>>> >>>>> -- >>>>> Rob Harrop >>>>> Interface21 - Spring Services from the Source >>>>> http://www.springframework.com >>>>> >>>>> -----Original Message----- >>>>> From: spr...@li... >>>>> [mailto:spr...@li...] On >>>>> Behalf Of >>>>> Juergen Hoeller >>>>> Sent: 12 April 2005 22:17 >>>>> To: spr...@li... >>>>> Subject: Re: [Springframework-developer] Where does webflow live? >>>>> >>>>> Ah, our favorite topic once again ;-) >>>>> >>>>> I'm not entirely sure whether Web Flow will get its own module; >>>>> could be too >>>>> fine-granular. The binding framework quite certainly shouldn't, >>>>> which would >>>>> already cause a problem with Web Flow's current status if we had >>>>> modules. >>>>> >>>>> To give some numbers: If we want to have the binding framework, >>>>> JCA support, >>>>> Hibernate support, Web Flow, etc as separate modules (which would >>>>> be >>>>> necessary to get your desired effect of not putting any >>>>> early-access stuff >>>>> in the sandbox), we would end up with at least 35 modules (that's >>>>> our >>>>> top-level packages plus some subpackages of relevant size). >>>>> Frankly, I >>>>> consider that a horror scenario in terms of management and would >>>>> strongly >>>>> vote against it. >>>>> >>>>> I guess what I'm saying is that modules only *look* convincingly >>>>> easy, but >>>>> won't be a general solution for the early access problem in >>>>> practice. Keith, >>>>> please try to imagine this in detail and don't just consider it as >>>>> solution >>>>> upfront. This is absolutely non-trivial when looking at the >>>>> details. >>>>> >>>>> Before we continue to spread the word on modules, I'd like to see >>>>> concrete >>>>> suggestions for module separation, respecting the >>>>> interdependencies outlined >>>>> in section 3 of our readme. I have already tried multiple times to >>>>> nail down >>>>> some options, and have always failed to find a convincing >>>>> separation. >>>>> >>>>> The current jar files (12) might be a starting point, but I'm not >>>>> sure that >>>>> they can serve as module granularity too... Some packages are >>>>> joined >>>>> together there rather arbitrarily (from a source module >>>>> perspective), for >>>>> example the ones in spring-support.jar, or the separation between >>>>> spring-orm.jar (which includes the entire ORM support except for >>>>> Hibernate) >>>>> and spring-hibernate.jar. Those jar files cannot be mapped 1-to-1 >>>>> to source >>>>> modules. >>>>> >>>>> So in total, it's unclear to me how a concrete module separation >>>>> could look >>>>> like (the more I look at it, the harder it seems). I doubt that we >>>>> can >>>>> resolve this within the 1.3 timeframe, given that we have such an >>>>> aggressive >>>>> schedule there, with just two months for multiple major new >>>>> features. >>>>> >>>>> Anyway, the real problem here is the sandbox, IMO. There's too >>>>> much stuff in >>>>> there, both dead and somewhat alive. Noone should have to rely on >>>>> spring-sandbox.jar!! Everything that's of some use in there should >>>>> move, >>>>> either to the core or to Spring Modules. >>>>> >>>>> Juergen >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: spr...@li... >>>>> [mailto:spr...@li...]On >>>>> Behalf >>>>> Of Keith Donald >>>>> Sent: Tuesday, April 12, 2005 9:24 PM >>>>> To: spr...@li... >>>>> Subject: RE: [Springframework-developer] Where does webflow live? >>>>> >>>>> >>>>> Aye, this is exactly why we need a modular CVS structure and a >>>>> smarter >>>>> build, which Colin is leading up in the post 1.2 timeframe. >>>>> >>>>> Web flow is currently maintained in the sandbox, yes. This means >>>>> it is also >>>>> included in spring-sandbox.jar when the 'sandboxjar' target is run. >>>>> >>>>> Independent of that fact, the webflow.release target ships >>>>> spring-webflow.jar and spring-webflow-support.jar, pulling in >>>>> _just_ the >>>>> required code from the sandbox needed to run spring webflow. >>>>> >>>>> So, I guess you can say we've taken the stance that people aren't >>>>> developing >>>>> apps with spring-sandbox.jar in their classpath. Hmm... >>>>> >>>>> In any case, in the future spring-webflow will be in its own >>>>> module with its >>>>> own distributable, along side other well-defined core modules, and >>>>> the >>>>> sandbox will die the death it deserves (or be only used for true >>>>> 'scratch' >>>>> stuff) >>>>> >>>>> Keith >>>>> >>>>> >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: spr...@li... >>>>> [mailto:spr...@li...] On >>>>> Behalf Of >>>>> Matt Raible >>>>> Sent: Tuesday, April 12, 2005 3:04 PM >>>>> To: spr...@li... >>>>> Subject: [Springframework-developer] Where does webflow live? >>>>> >>>>> I ran into some issues last night with spring-sandbox.jar from >>>>> Spring >>>>> 1.2 RC1 and Spring Web Flow PR2. The problem turned out to be that >>>>> many of the flow classes where already in my spring-sandbox.jar. >>>>> Once >>>>> I deleted them from spring-sandbox.jar, everything worked fine. >>>>> How do >>>>> I eliminate this duplication in the future? Is the web flow stuff >>>>> in >>>>> spring-sandbox.jar? The main reason I'm using the sandbox JAR is >>>>> for >>>>> Commons Validator. >>>>> >>>>> Thanks, >>>>> >>>>> Matt >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF email is sponsored by - The IT Product Guide >>>>> Read honest & candid reviews on hundreds of IT Products from real >>>>> users. >>>>> Discover which products truly live up to the hype. Start reading >>>>> now. >>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>> _______________________________________________ >>>>> Springframework-developer mailing list >>>>> Spr...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>> developer >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF email is sponsored by - The IT Product Guide >>>>> Read honest & candid reviews on hundreds of IT Products from real >>>>> users. >>>>> Discover which products truly live up to the hype. Start reading >>>>> now. >>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>> _______________________________________________ >>>>> Springframework-developer mailing list >>>>> Spr...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>> developer >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF email is sponsored by - The IT Product Guide >>>>> Read honest & candid reviews on hundreds of IT Products from real >>>>> users. >>>>> Discover which products truly live up to the hype. Start reading >>>>> now. >>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>> _______________________________________________ >>>>> Springframework-developer mailing list >>>>> Spr...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>> developer >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF email is sponsored by - The IT Product Guide >>>>> Read honest & candid reviews on hundreds of IT Products from real >>>>> users. >>>>> Discover which products truly live up to the hype. Start reading >>>>> now. >>>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>> _______________________________________________ >>>>> Springframework-developer mailing list >>>>> Spr...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>>> developer >>>>> >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> SF email is sponsored by - The IT Product Guide >>>> Read honest & candid reviews on hundreds of IT Products from real >>>> users. >>>> Discover which products truly live up to the hype. Start reading >>>> now. >>>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>> _______________________________________________ >>>> Springframework-developer mailing list >>>> Spr...@li... >>>> https://lists.sourceforge.net/lists/listinfo/springframework- >>>> developer >>>> >>> -- >>> Rob Harrop >>> Interface21 - Spring Services from the Source >>> http://www.springframework.com >>> >>> Lead Developer - AOP & JMX, Spring Framework: >>> http://www.springframework.org >>> >>> Author, "Pro Spring" >>> (February 2005, with Jan Machacek). >>> http://www.amazon.com/exec/obidos/ASIN/1590594614/ >>> >>> Author, "Pro Jakarta Velocity" >>> (August 2004). >>> http://www.amazon.com/exec/obidos/ASIN/159059410X/ >>> >>> Author, "Pro Jakarta Struts" >>> (March 2004, with John Carnell). >>> http://www.amazon.com/exec/obidos/ASIN/159059228X/ >>> >>> >>> ____________________________________________________ >>> Interface21 Limited >>> Registered Office Summit House, 2-2a Highfield Road, Dartford, Kent >>> DA1 2JY >>> Registered in England and Wales No. 5187766 >>> ____________________________________________________ >>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real >>> users. >>> Discover which products truly live up to the hype. Start reading now. >>> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>> _______________________________________________ >>> Springframework-developer mailing list >>> Spr...@li... >>> https://lists.sourceforge.net/lists/listinfo/springframework- >>> developer >>> >>> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real >> users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |
|
From: Juergen H. <ju...@in...> - 2005-04-14 15:24:35
|
Well, the custom property editors are carried by the BindException's BeanWrapper instance. If there is no BindException in the model, we can only use a default BeanWrapper to obtain a property value, where there can't be any custom editors... So if you want custom property editors to apply, expose the binder's BindException through including errors.getModel() in your model. Even if there are no errors contained in it, this will expose all custom property editors that apply. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Will Butler Sent: Thursday, April 14, 2005 8:50 AM To: spr...@li... Subject: [Springframework-developer] BindStatus.value All, When there are errors in the model, status.value is obtained from errors.getFieldValue(expression), which executes a custom property editor for the field if one exists. When there aren't errors in the model, status.value is obtained from the bean wrapper, and custom property editors are not invoked. Why not? Thanks, Will ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: snpe <sn...@sn...> - 2005-04-14 14:13:41
|
Eugene, I try version from svn (1.2.0) and it work with my context's It have few compile errors and it can be reason for failure in 1.1.1 Peco On Thursday 14 April 2005 01:32 pm, Eugene Kuleshov wrote: > > Yes, Spring context was ok by Spring IDE 1.1.0 and it is a valid > context xml. IDE 1.1.1 fail on build/validating this xml. > > regards, > Eugene > > > snpe wrote: > > >Hello > >I try eclipse 3.1m6, gef,emf and ve for 3.1m6 and current cvs spring ide (1.2.0) - I build it on 3.1m6 > >(it need little changes for example, change enum field in XMLWriter class) > > > >builder work for me, graph editor work and I haven't tried xml editor (I want webtools > >but it be out april 22) > > > >I think that you have problem with config file - Does it work with old spring ide and eclipse 3.0 ? > > > >regards > >Haris Peco > >On Wednesday 13 April 2005 05:54 pm, Eugene Kuleshov wrote: > > > > > >>Hi Torsten, > >> > >> It is a good news and long awaited update. > >> > >> I've installed plugin on my Eclipse 3.1 and I'm getting a error from > >>builder. > >> > >>---------- > >>An error occurred while traversing resources. > >>java.lang.IllegalStateException: Bean can only have a parent of type > >>IBeansConfig, IBean or (in case of an inner bean) IBeanProperty > >> at > >>org.springframework.ide.eclipse.beans.core.internal.model.Bean.getConfig(Bean.java:75) > >> at > >>org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateBean(BeansConfigValidator.java:214) > >> at > >>org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateConfig(BeansConfigValidator.java:148) > >> at > >>org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validate(BeansConfigValidator.java:110) > >> at > >>org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectValidator.buildFile(BeansProjectValidator.java:70) > >> at > >>org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectBuilder$Visitor.visit(BeansProjectBuilder.java:62) > >> at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:103) > >> at > >>org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:50) > >> at > >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81) > >> at > >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) > >> at > >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) > >> at > >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) > >> at > >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) > >> at > >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) > >> at > >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) > >> at > >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) > >> at > >>org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126) > >> at org.eclipse.core.internal.resources.Resource.accept(Resource.java:60) > >> at org.eclipse.core.internal.resources.Resource.accept(Resource.java:101) > >> at org.eclipse.core.internal.resources.Resource.accept(Resource.java:80) > >> at > >>org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectBuilder.build(BeansProjectBuilder.java:42) > >> at > >>org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:581) > >> at > >>org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1021) > >> at org.eclipse.core.runtime.Platform.run(Platform.java:757) > >> at > >>org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:160) > >> at > >>org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:198) > >> at > >>org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:227) > >> at > >>org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1021) > >> at org.eclipse.core.runtime.Platform.run(Platform.java:757) > >> at > >>org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:230) > >> at > >>org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:249) > >> at > >>org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:278) > >> at > >>org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139) > >> at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200) > >> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67) > >> > >> > >> > >>Torsten Juergeleit wrote: > >> > >> > >>>After a few month of sleep Spring IDE is alive again. > >>> > >>>We have moved the project from SF to a new site > >>>(http://springide.org/) which provides a Subversion > >>>repository and a Trac-based project management tool. > >>> > >>>A maintainance release (with spring-core.jar v1.1.5) > >>>is available too. The corresponding Eclipse updatesite > >>>is http://springide.org/updatesite/. A list of > >>>bugfixes can be found here > >>>http://springide.org/project/milestone/Release%201.1.1 > >>>. > >>> > >>>Christian is busy working on a graphical editor for > >>>Spring Webflow > >>>(http://springide.org/project/wiki/WebFlowEditor). > >>> > >>>Thomas, Colin, please update the links on > >>>www.springframework.org (home page and download page) > >>>with the new Spring IDE project site and update site. > >>> > >>>Keith, maybe you can ask Nikki for creating a logo for > >>>Spring IDE too ;-) > >>> > >>>Thanx. > >>> > >>>Cheers, > >>>Torsten > >>> > >>> > >>> > >>>__________________________________ > >>>Yahoo! Mail Mobile > >>>Take Yahoo! Mail with you! Check email on your mobile phone. > >>>http://mobile.yahoo.com/learn/mail > >>> > >>> > >>>------------------------------------------------------- > >>>SF email is sponsored by - The IT Product Guide > >>>Read honest & candid reviews on hundreds of IT Products from real users. > >>>Discover which products truly live up to the hype. Start reading now. > >>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > >>>_______________________________________________ > >>>Springframework-developer mailing list > >>>Spr...@li... > >>>https://lists.sourceforge.net/lists/listinfo/springframework-developer > >>> > >>> > >> > >>------------------------------------------------------- > >>SF email is sponsored by - The IT Product Guide > >>Read honest & candid reviews on hundreds of IT Products from real users. > >>Discover which products truly live up to the hype. Start reading now. > >>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > >>_______________________________________________ > >>Springframework-developer mailing list > >>Spr...@li... > >>https://lists.sourceforge.net/lists/listinfo/springframework-developer > >> > >> > >> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: Thierry T. <te...@ya...> - 2005-04-14 13:59:19
|
Hi, Does the activemq project provide some ConnectionManager that support global transactions or offer some features to manage outbound communications of connectors? Thierry > Hi Steve > > If it helps at all, we've developed a Spring based > JCA container with support for endpoint, connection > and thread pooling and local & XA > transaction support. By all means reuse as much or > little code as you like... > > http://activemq.codehaus.org/JCA+Container > > Echoing what Juergen just said; its not really a > 'container' as such - > Spring is the container (the thing which creates > everything, wires > things together). The JCA container just deals with > the managed > connections, resource adapters, endpoint management > and transactions > and provides the JCA thread pool implementation. Take a look at my blog: http://templth.blogspot.com/ __________________________________________________________________ Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ |
|
From: Eugene K. <eu...@md...> - 2005-04-14 13:34:16
|
Yes, Spring context was ok by Spring IDE 1.1.0 and it is a valid context xml. IDE 1.1.1 fail on build/validating this xml. regards, Eugene snpe wrote: >Hello >I try eclipse 3.1m6, gef,emf and ve for 3.1m6 and current cvs spring ide (1.2.0) - I build it on 3.1m6 >(it need little changes for example, change enum field in XMLWriter class) > >builder work for me, graph editor work and I haven't tried xml editor (I want webtools >but it be out april 22) > >I think that you have problem with config file - Does it work with old spring ide and eclipse 3.0 ? > >regards >Haris Peco >On Wednesday 13 April 2005 05:54 pm, Eugene Kuleshov wrote: > > >>Hi Torsten, >> >> It is a good news and long awaited update. >> >> I've installed plugin on my Eclipse 3.1 and I'm getting a error from >>builder. >> >>---------- >>An error occurred while traversing resources. >>java.lang.IllegalStateException: Bean can only have a parent of type >>IBeansConfig, IBean or (in case of an inner bean) IBeanProperty >> at >>org.springframework.ide.eclipse.beans.core.internal.model.Bean.getConfig(Bean.java:75) >> at >>org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateBean(BeansConfigValidator.java:214) >> at >>org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateConfig(BeansConfigValidator.java:148) >> at >>org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validate(BeansConfigValidator.java:110) >> at >>org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectValidator.buildFile(BeansProjectValidator.java:70) >> at >>org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectBuilder$Visitor.visit(BeansProjectBuilder.java:62) >> at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:103) >> at >>org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:50) >> at >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81) >> at >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) >> at >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) >> at >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) >> at >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) >> at >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) >> at >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) >> at >>org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) >> at >>org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126) >> at org.eclipse.core.internal.resources.Resource.accept(Resource.java:60) >> at org.eclipse.core.internal.resources.Resource.accept(Resource.java:101) >> at org.eclipse.core.internal.resources.Resource.accept(Resource.java:80) >> at >>org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectBuilder.build(BeansProjectBuilder.java:42) >> at >>org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:581) >> at >>org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1021) >> at org.eclipse.core.runtime.Platform.run(Platform.java:757) >> at >>org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:160) >> at >>org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:198) >> at >>org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:227) >> at >>org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1021) >> at org.eclipse.core.runtime.Platform.run(Platform.java:757) >> at >>org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:230) >> at >>org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:249) >> at >>org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:278) >> at >>org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139) >> at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200) >> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67) >> >> >> >>Torsten Juergeleit wrote: >> >> >>>After a few month of sleep Spring IDE is alive again. >>> >>>We have moved the project from SF to a new site >>>(http://springide.org/) which provides a Subversion >>>repository and a Trac-based project management tool. >>> >>>A maintainance release (with spring-core.jar v1.1.5) >>>is available too. The corresponding Eclipse updatesite >>>is http://springide.org/updatesite/. A list of >>>bugfixes can be found here >>>http://springide.org/project/milestone/Release%201.1.1 >>>. >>> >>>Christian is busy working on a graphical editor for >>>Spring Webflow >>>(http://springide.org/project/wiki/WebFlowEditor). >>> >>>Thomas, Colin, please update the links on >>>www.springframework.org (home page and download page) >>>with the new Spring IDE project site and update site. >>> >>>Keith, maybe you can ask Nikki for creating a logo for >>>Spring IDE too ;-) >>> >>>Thanx. >>> >>>Cheers, >>>Torsten >>> >>> >>> >>>__________________________________ >>>Yahoo! Mail Mobile >>>Take Yahoo! Mail with you! Check email on your mobile phone. >>>http://mobile.yahoo.com/learn/mail >>> >>> >>>------------------------------------------------------- >>>SF email is sponsored by - The IT Product Guide >>>Read honest & candid reviews on hundreds of IT Products from real users. >>>Discover which products truly live up to the hype. Start reading now. >>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>_______________________________________________ >>>Springframework-developer mailing list >>>Spr...@li... >>>https://lists.sourceforge.net/lists/listinfo/springframework-developer >>> >>> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>_______________________________________________ >>Springframework-developer mailing list >>Spr...@li... >>https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> >> |