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: Matt S. <mat...@sp...> - 2006-07-12 14:16:59
|
My 2 cents is that an IDE will point this out to you and the change will take all of 2 minutes to code. It would be a bigger deal IMO if you had to change your context definitions, because in that case the error might not be found for a while (for example, if the bean was lazily initialized). However, Spring's use of PropertyEditors means the change should be transparent in terms of XML application context definitions. Matt Rob Harrop wrote: > All, > > I would like your input on this JIRA issue. Do you think this is valid > breakage of backward-compatibility or would you like to see the change > backed out? > > http://opensource.atlassian.com/projects/spring/browse/SPR-2277 > > Rob > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Roberto C. <rob...@in...> - 2006-07-12 12:42:53
|
Any thought about including this resolver in any spring versions?
Tx
/roberto
>>> Hi.
>>> I wrote a slightly different version of SimpleMappingExceptionResolver
>>> which puts the exception in the http session instead of in the model. In
>>> this way it is possible to use a redirect instead of a view and still be
>>> able to access the exception to be shown to the user.
>>> Using a redirect is usually better than a view since the flow of the
>>> application after a redirect follows the normal execution of the program.
>>> What do you think?
>>> /Roberto
>>>
>>
>> --------------------------------------------------------------------------------
>>
>>
>>> package org.springframework.web.servlet.handler;
>>>
>>> import javax.servlet.http.HttpServletRequest;
>>> import javax.servlet.http.HttpSession;
>>>
>>> import org.springframework.web.servlet.ModelAndView;
>>>
>>> /**
>>> * Exception resolver that allows for mapping exception class names to view
>>> * names as the SimpleMappingExceptionResolver. This resolver puts the
>>> thrown
>>> * exception in the HTTP session so that it can be retrieve later by a
>>> * controller. Using this approach permits to use a redirect view when
>>> handling
>>> * the exception while stil having access to the originating exception.
>>> *
>>> * @author Roberto Cosenza
>>> */
>>>
>>> public class SessionExceptionResolver extends
>>> SimpleMappingExceptionResolver {
>>>
>>> public final static String DEFAULT_LATEST_EXCEPTION_KEY =
>>> "SimpleMappingExceptionResolver.LATEST_EXCEPTION_KEY";
>>> private boolean forceSession = false;
>>> private String exceptionSessionKey = DEFAULT_LATEST_EXCEPTION_KEY;
>>>
>>> protected ModelAndView getModelAndView(String viewName, Exception ex,
>>> HttpServletRequest request) {
>>> logger.trace("getModelAndView");
>>> HttpSession session = request.getSession(forceSession);
>>> if (session != null) {
>>> session.setAttribute(getExceptionSessionKey(), ex);
>>> }
>>> return new ModelAndView(viewName);
>>> }
>>>
>>> /**
>>> * Tells if the session must be created if not already existing
>>> *
>>> * @return default is false
>>> */
>>> public boolean isForceSession() {
>>> return forceSession;
>>> }
>>>
>>> public void setForceSession(boolean forceSession) {
>>> this.forceSession = forceSession;
>>> }
>>>
>>> public String getExceptionSessionKey() {
>>> return exceptionSessionKey;
>>> }
>>>
>>> public void setExceptionSessionKey(String excepionSessionKey) {
>>> this.exceptionSessionKey = excepionSessionKey;
>>> }
>>> }
>>>
>>
>> --------------------------------------------------------------------------------
>>
>>
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>
>>
>> --------------------------------------------------------------------------------
>>
>>
>>> _______________________________________________
>>> Springframework-developer mailing list
>>> Spr...@li...
>>> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>>>
>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Springframework-developer mailing list
>> Spr...@li...
>> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
> Roberto Cosenza
> Infoflex Connect AB, Sweden
> Tel: +46-(0)8-55576867, Fax: +46-(0)8-55576861
Roberto Cosenza
Infoflex Connect AB, Sweden
Tel: +46-(0)8-55576867, Fax: +46-(0)8-55576861
--
Nordic Messaging Technologies is a trademark of Infoflex Connect.
Please visit www.nordicmessaging.se for more information about our
carrier-grade messaging products.
|
|
From: Rob H. <ro...@in...> - 2006-07-12 09:35:55
|
All, I would like your input on this JIRA issue. Do you think this is valid breakage of backward-compatibility or would you like to see the change backed out? http://opensource.atlassian.com/projects/spring/browse/SPR-2277 Rob |
|
From: Costin L. <cos...@ya...> - 2006-07-09 18:58:47
|
spr...@li... wrote: > Send Springframework-developer mailing list submissions to > spr...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > or, via email, send a message with subject or body 'help' to > spr...@li... > > You can reach the person managing the list at > spr...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Springframework-developer digest..." > > > Today's Topics: > > 1. build errors in Eclipse projects (Eugene Kuleshov) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 07 Jul 2006 14:09:48 -0400 > From: Eugene Kuleshov <eu...@pl...> > Subject: [Springframework-developer] build errors in Eclipse projects > To: spr...@li... > Message-ID: <44A...@pl...> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, > > I just checked out Spring and Spring modules projects from CVS and > they both have build errors due to missing jars in the build path. > Spring Module uses ant + ivy for its build infrastructure and setting the libraries manual in eclipse easily gets un-synched with the actual jar used from command line (that's why I've stopped updating the .classpath file). The IvyTeam already provides an Eclipe plugin(IvyDE) but it doesn't handle too well the build path: http://jira.jayasoft.org/browse/IVYDE-8 Obviously it's not an ideal situation but I'm not aware of any nice workaround... Cheers! > Is there are anything that had to be done locally to resolve those > errors or Eclipse projects just got out of sync? > > Thanks > > Eugene > -- Costin ___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com |
|
From: Juergen H. <ju...@in...> - 2006-07-09 01:11:15
|
Lazy initialization on a bean-by-bean basis can for example be used for switching between alternatives based on some placeholder in a bean reference. That said, I generally agree that lazy loading is not used that much in a Spring environment, in particular not in production. And even in development, the startup time of an application context usually doesn't really matter... at least not the Spring side of it. Juergen _____ From: spr...@li... [mailto:spr...@li...] On Behalf Of Bob Lee Sent: Friday, June 30, 2006 5:46 PM To: spr...@li... Subject: Re: [Springframework-developer] Changed behavior fordefault-lazy-init="true" in 2.0 M5 I'm a little new to this. It seems strange to me that you can lazily initialize on a bean-by-bean basis. Don't you want to lazy load everything during development (faster turnaround time on the section of code you're working on) and eagerly load everything in production (consistent performance for users)? Bob On 6/18/06, Juergen Hoeller <ju...@in...> wrote: This is actually expected behavior: lazy-init has stronger effect in Spring 2.0 now, not even loading the affected bean classes until they are explicitly accessed. For an application context's type detection (such as BeanFactoryPostProcessor detection or ApplicationListener detection), we only check beans that allow for eager initialization now (i.e. that are not marked as lazy-init and are not FactoryBeans). Else we'd have to load each and every bean class just to find out those special beans, which would require all bean classes to be present and loadable - and exactly that is what we intend to avoid with the new semantics in the first place. A further goodie enabled by lazy class loading for lazy-init beans is that a PropertyPlaceholderConfigurer can even resolve placeholders in bean class names now, at least for beans marked as lazy-init. So the recommended solution in case of default-lazy-init=true would be to explicitly mark all affected beans (the ones supposed to be autodetected) as lazy-init=false. Juergen -----Original Message----- From: spr...@li... [mailto: spr...@li...] On Behalf Of Claus Nordahl Sent: Sunday, June 11, 2006 2:26 AM To: spr...@li... Subject: [Springframework-developer] Changed behavior for default-lazy-init="true" in 2.0 M5 Hi all, When using default-lazy-init="true" with the 2.0 M5 release, I find that neither does my PropertyPlaceholderConfigurer's do its stuff nor does my ApplicationListener's receive any events as they all did with previous releases. Is this expected behavior? Regards, Claus Nordahl _______________________________________________ Springframework-developer mailing list Spr...@li... <mailto:Spr...@li...> https://lists.sourceforge.net/lists/listinfo/springframework-developer _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Juergen H. <ju...@in...> - 2006-07-09 01:05:56
|
Hi Mike, This is an interesting issue... There haven't been any concerns about that before. We might indeed offer a method to flush that cache, or have some smart eviction policies based on the kind of object that we introspect. I'll see what we can do for the upcoming 2.0 RC3. Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf Of Mike Cannon-Brookes Sent: Monday, July 03, 2006 9:06 AM To: Spring Developer Subject: [Springframework-developer] CachedIntrospectionResults memory query Hey guys, Now this may be a stupid question - so please tell me if it is. I was doing some memory profiling of Confluence earlier, and I noticed that for us CachedIntrospectionResults is holding over 2.5 MB of retained memory. This is only going to grow as more classes etc are added to the application. Therefore, I was looking for a way to reduce it's size. Is it possible to add a flush method to this? What would be the impacts? >From my understanding, when our application context starts up it will add a lot of objects to this cache (as the various beans are created), after that point any cached introspection results there might not be needed (unless they're used to autowire some other object, or in a factory style bean). Therefore would flushing this cache after startup reduce the overall long term memory usage of the application, with relatively little other impacts? At worst case, if all objects in the cache were actually used _after_ startup, the cache would be completely populated twice and each object's property descriptors would be retrieved twice. At base case, if all objects in the cache were _never_ used after startup, the cache would take up no memory for most of the application's life (beyond startup). Am I nuts? :) m -- ATLASSIAN - http://www.atlassian.com Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Keith D. <ke...@in...> - 2006-07-07 21:25:58
|
Christian could say for sure but I'm almost positive the preview version of Web Flow Editor available now only supports SWF PR3. We've of course had many releases since then. :-) I know the Spring IDE team is starting work back up now that SWF has stabilized on the road to 1.0 GA, but I don't have the latest status there. Christian or Torsten would know for sure - you might want to checkout the Spring IDE forum on forum.springframework.org as well. Keith -----Original Message----- From: spr...@li... [mailto:spr...@li...] On Behalf Of Eugene Kuleshov Sent: Friday, July 07, 2006 5:15 PM To: spr...@li... Subject: [Springframework-developer] SpringIDE and WebFlow support Hi, I am not sure if this list is the right place to ask this. I wonder if WebFlow editor is working in SpringIDE? I tried to build latest code from SVN and managed to run it after fixing some build errors. However I don't see how to bring up visual web flow editor and WebFlow view don't show any webflows, even those I registered in project properties (using numberguess example from WebFlow fistribution). So, I'd really appreciate any clue how to use it. Thanks in advance. Eugene Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |
|
From: Eugene K. <eu...@pl...> - 2006-07-07 21:16:09
|
I presume those errors caused by some missing oracle jar. Not sure which one. regards, Eugene Colin Sampaleanu wrote: > What jars are missing in spring itself? I only see some compile errors > for sandbox code... > > On 7/7/2006 4:56 PM, Colin Sampaleanu wrote: > >> Weird, as it was ok last time I loaded the project. I will fix it if >> there's a real issue. >> >> Regards, >> Colin >> >> >> On 7/7/2006 2:09 PM, Eugene Kuleshov wrote: >> >> >>> Hi, >>> >>> I just checked out Spring and Spring modules projects from CVS and >>> they both have build errors due to missing jars in the build path. >>> >>> Is there are anything that had to be done locally to resolve those >>> errors or Eclipse projects just got out of sync? >>> >>> Thanks >>> >>> Eugene >>> >>> >>> >>> Using Tomcat but need to do more? Need to support web services, security? >>> Get stuff done quickly with pre-integrated technology to make your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> Springframework-developer mailing list >>> Spr...@li... >>> https://lists.sourceforge.net/lists/listinfo/springframework-developer >>> >>> >>> >>> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> >> > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |
|
From: Eugene K. <eu...@pl...> - 2006-07-07 21:15:05
|
Hi, I am not sure if this list is the right place to ask this. I wonder if WebFlow editor is working in SpringIDE? I tried to build latest code from SVN and managed to run it after fixing some build errors. However I don't see how to bring up visual web flow editor and WebFlow view don't show any webflows, even those I registered in project properties (using numberguess example from WebFlow fistribution). So, I'd really appreciate any clue how to use it. Thanks in advance. Eugene |
|
From: Colin S. <col...@ex...> - 2006-07-07 21:12:52
|
What jars are missing in spring itself? I only see some compile errors for sandbox code... On 7/7/2006 4:56 PM, Colin Sampaleanu wrote: > Weird, as it was ok last time I loaded the project. I will fix it if > there's a real issue. > > Regards, > Colin > > > On 7/7/2006 2:09 PM, Eugene Kuleshov wrote: > >> Hi, >> >> I just checked out Spring and Spring modules projects from CVS and >> they both have build errors due to missing jars in the build path. >> >> Is there are anything that had to be done locally to resolve those >> errors or Eclipse projects just got out of sync? >> >> Thanks >> >> Eugene >> >> >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> >> > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |
|
From: Colin S. <col...@ex...> - 2006-07-07 20:56:37
|
Weird, as it was ok last time I loaded the project. I will fix it if there's a real issue. Regards, Colin On 7/7/2006 2:09 PM, Eugene Kuleshov wrote: > Hi, > > I just checked out Spring and Spring modules projects from CVS and > they both have build errors due to missing jars in the build path. > > Is there are anything that had to be done locally to resolve those > errors or Eclipse projects just got out of sync? > > Thanks > > Eugene > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |
|
From: Eugene K. <eu...@pl...> - 2006-07-07 18:10:17
|
Hi, I just checked out Spring and Spring modules projects from CVS and they both have build errors due to missing jars in the build path. Is there are anything that had to be done locally to resolve those errors or Eclipse projects just got out of sync? Thanks Eugene |
|
From: Cristian P. <psc...@ya...> - 2006-07-07 17:12:03
|
Dear Spring community,
I am pleased to announce the first public release of the Wedge web framework.
Wedge is a component centric web framework built on Spring and Hibernate and it provides a POJO based application development. It makes use of some of the Java 1.5 features, thus it is not compatible with previous versions of JDK.
Wedge has some concepts inspired from Tapestry but with some notable differences.
Here are some of the features of Wedge:
* Page classes are simple POJOs with no imposed hierarchy.
* Page classes are Spring managed beans. Most of the time, Wedge will register these classes as Spring beans behind the scene without any configuration.
* Page classes may be reloaded at runtime without restarting the application even though the class may have changed dramatically (methods or fields were added, renamed, removed
)
* Templates still use special tag attributes like Tapestry pages but Wedge tries to simplify this by introducing defaults and naming conventions. Example:
<span insert=ognl:message>[the message]</span> instead of
<span wid=w:insert value=ognl:message>[the message]</span>
or
<tr foreach=ognl: person>
</tr> instead of
<tr wid=w:foreach source=ognl: persons value=ognl: person>
</tr>
* Templates may be also reloaded at runtime. Just modify the template and refresh the browser window.
* Wedge is not using runtime reflection to evaluate OGNL expressions. It makes use of runtime code generation for generating a class that renders the output based on the information taken from the page java class and the page template.
* The framework supports defaults and naming conventions. Thus you may create a page at runtime and access it right away without declaring it explicitly.
* Wedge offers basic support for DAO classes in the form of generic DAO interface and a generic implementation. Wedge generic DAO implementation extends Spring DAO support for Hibernate.
* Making use of the new extensible schema configuration in Spring 2.0, wedge provides a more /domain specific language/ for configuring the application.
* It offers a very intuitive and self documented way to configure Hibernate. More details in the framework documentation.
* In an experimental stage, Wedge provides some ORM support by allowing you to declare an application model for Hibernate without writing xml mapping files. This feature makes use of naming conventions and runtime reflection to detect class properties and relationships and based on this information it generates the mapping xml at application startup. More details in documentation and /on demand/ ;-).
* Wedge also provides a very helpful command line tool built on ANT that allows you to easily create a new application and generate pages, spring services or model classes.
* It also comes with an embedded jetty server and a HSQLDB server (work in progress) with corresponding management commands.
This release is the result of several months of work and many of the ideas grew up from the hints and advices of the Spring team members. Thats why I would like to express my gratitude to those who helped me in developing this framework.
This release should not be considered a final release. Development will continue and more features will be added. Until it will be released in a final form it should not be considered ready for any kind of production environment.
Community feedback is most wanted and critics are welcomed. Thus, you may share your thoughts on this framework on the Wedge forum.
You may found out more information from the framework site, http://wedge.sourceforge.net.
Also, there is a wiki available at http://wedge.sourceforge.ner/wiki and a forum http://wedge.sourceforge.net/forum.
Regards,
Cristian Pascu
---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta. |
|
From: Roberto C. <rob...@in...> - 2006-07-07 15:13:23
|
I agree with this but this responsibility is of the controller showing
the exception. Besides, if the exception resolver is used correctly, any
new exception will always replace the old one. Of course, if the users
navigates to the "error.html" page without having caused an exception ...
What I am more concerned about is the fact that if showing the exception
generates an exception which generates an exception which generates an
exception... you end up in a infinite redirect to the error.html page
There should be a way to intercept this recursive problem. Ideas?
/roberto
Erwin Vervaet wrote:
> One possible danger of putting exceptions in the session that I see is
> re-displaying 'old' errors. E.g. if for some reason the real exception isn't
> put in the session the error page will pick up on the previous exception
> that's still there. This can lead to very confusing situations.
> Ideally the exception in the session should be removed after it has been
> displayed to the user.
>
> Erwin Vervaet
> erw...@er...
> ----- Original Message -----
> From: "Roberto Cosenza" <rob...@in...>
> To: <spr...@li...>
> Sent: Friday, July 07, 2006 3:05 PM
> Subject: [Springframework-developer] SessionExceptionResolver
>
>
>> Hi.
>> I wrote a slightly different version of SimpleMappingExceptionResolver
>> which puts the exception in the http session instead of in the model. In
>> this way it is possible to use a redirect instead of a view and still be
>> able to access the exception to be shown to the user.
>> Using a redirect is usually better than a view since the flow of the
>> application after a redirect follows the normal execution of the program.
>> What do you think?
>> /Roberto
>>
>
>
> --------------------------------------------------------------------------------
>
>
>> package org.springframework.web.servlet.handler;
>>
>> import javax.servlet.http.HttpServletRequest;
>> import javax.servlet.http.HttpSession;
>>
>> import org.springframework.web.servlet.ModelAndView;
>>
>> /**
>> * Exception resolver that allows for mapping exception class names to view
>> * names as the SimpleMappingExceptionResolver. This resolver puts the
>> thrown
>> * exception in the HTTP session so that it can be retrieve later by a
>> * controller. Using this approach permits to use a redirect view when
>> handling
>> * the exception while stil having access to the originating exception.
>> *
>> * @author Roberto Cosenza
>> */
>>
>> public class SessionExceptionResolver extends
>> SimpleMappingExceptionResolver {
>>
>> public final static String DEFAULT_LATEST_EXCEPTION_KEY =
>> "SimpleMappingExceptionResolver.LATEST_EXCEPTION_KEY";
>> private boolean forceSession = false;
>> private String exceptionSessionKey = DEFAULT_LATEST_EXCEPTION_KEY;
>>
>> protected ModelAndView getModelAndView(String viewName, Exception ex,
>> HttpServletRequest request) {
>> logger.trace("getModelAndView");
>> HttpSession session = request.getSession(forceSession);
>> if (session != null) {
>> session.setAttribute(getExceptionSessionKey(), ex);
>> }
>> return new ModelAndView(viewName);
>> }
>>
>> /**
>> * Tells if the session must be created if not already existing
>> *
>> * @return default is false
>> */
>> public boolean isForceSession() {
>> return forceSession;
>> }
>>
>> public void setForceSession(boolean forceSession) {
>> this.forceSession = forceSession;
>> }
>>
>> public String getExceptionSessionKey() {
>> return exceptionSessionKey;
>> }
>>
>> public void setExceptionSessionKey(String excepionSessionKey) {
>> this.exceptionSessionKey = excepionSessionKey;
>> }
>> }
>>
>
>
> --------------------------------------------------------------------------------
>
>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>
>
>
> --------------------------------------------------------------------------------
>
>
>> _______________________________________________
>> Springframework-developer mailing list
>> Spr...@li...
>> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>>
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
Roberto Cosenza
Infoflex Connect AB, Sweden
Tel: +46-(0)8-55576867, Fax: +46-(0)8-55576861
--
Nordic Messaging Technologies is a trademark of Infoflex Connect.
Please visit www.nordicmessaging.se for more information about our
carrier-grade messaging products.
|
|
From: Erwin V. <erw...@er...> - 2006-07-07 13:26:26
|
One possible danger of putting exceptions in the session that I see is
re-displaying 'old' errors. E.g. if for some reason the real exception isn't
put in the session the error page will pick up on the previous exception
that's still there. This can lead to very confusing situations.
Ideally the exception in the session should be removed after it has been
displayed to the user.
Erwin Vervaet
erw...@er...
----- Original Message -----
From: "Roberto Cosenza" <rob...@in...>
To: <spr...@li...>
Sent: Friday, July 07, 2006 3:05 PM
Subject: [Springframework-developer] SessionExceptionResolver
> Hi.
> I wrote a slightly different version of SimpleMappingExceptionResolver
> which puts the exception in the http session instead of in the model. In
> this way it is possible to use a redirect instead of a view and still be
> able to access the exception to be shown to the user.
> Using a redirect is usually better than a view since the flow of the
> application after a redirect follows the normal execution of the program.
> What do you think?
> /Roberto
>
--------------------------------------------------------------------------------
> package org.springframework.web.servlet.handler;
>
> import javax.servlet.http.HttpServletRequest;
> import javax.servlet.http.HttpSession;
>
> import org.springframework.web.servlet.ModelAndView;
>
> /**
> * Exception resolver that allows for mapping exception class names to view
> * names as the SimpleMappingExceptionResolver. This resolver puts the
> thrown
> * exception in the HTTP session so that it can be retrieve later by a
> * controller. Using this approach permits to use a redirect view when
> handling
> * the exception while stil having access to the originating exception.
> *
> * @author Roberto Cosenza
> */
>
> public class SessionExceptionResolver extends
> SimpleMappingExceptionResolver {
>
> public final static String DEFAULT_LATEST_EXCEPTION_KEY =
> "SimpleMappingExceptionResolver.LATEST_EXCEPTION_KEY";
> private boolean forceSession = false;
> private String exceptionSessionKey = DEFAULT_LATEST_EXCEPTION_KEY;
>
> protected ModelAndView getModelAndView(String viewName, Exception ex,
> HttpServletRequest request) {
> logger.trace("getModelAndView");
> HttpSession session = request.getSession(forceSession);
> if (session != null) {
> session.setAttribute(getExceptionSessionKey(), ex);
> }
> return new ModelAndView(viewName);
> }
>
> /**
> * Tells if the session must be created if not already existing
> *
> * @return default is false
> */
> public boolean isForceSession() {
> return forceSession;
> }
>
> public void setForceSession(boolean forceSession) {
> this.forceSession = forceSession;
> }
>
> public String getExceptionSessionKey() {
> return exceptionSessionKey;
> }
>
> public void setExceptionSessionKey(String excepionSessionKey) {
> this.exceptionSessionKey = excepionSessionKey;
> }
> }
>
--------------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
--------------------------------------------------------------------------------
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
|
|
From: Roberto C. <rob...@in...> - 2006-07-07 13:07:26
|
Hi. I wrote a slightly different version of SimpleMappingExceptionResolver which puts the exception in the http session instead of in the model. In this way it is possible to use a redirect instead of a view and still be able to access the exception to be shown to the user. Using a redirect is usually better than a view since the flow of the application after a redirect follows the normal execution of the program. What do you think? /Roberto |
|
From: Colin S. <col...@ex...> - 2006-07-06 23:20:01
|
I've put up the announcements and uploaded files (api, manual, etc.) to the .org site. Colin On 7/6/2006 6:07 PM, Juergen Hoeller wrote: > Dear Spring community, > > I'm pleased to announce that Spring 2.0 RC2 has been released. > > This is the second release candidate on the way to Spring 2.0 final. It > introduces a number of bug fixes and minor refinements, in particular in the > AOP framework and in the JPA support. Please see the changelog for details. > A number of further known issues will be addressed in the upcoming 2.0 RC3 > release; see our JIRA road map for details. > > Please give this release a try with your applications and let us know about > any problems that you might encounter! Also, remember that Spring 2.0 > continues to support JDK 1.3+ and J2EE 1.3+ (even J2EE 1.2+ except for the > JSP tags and the EJB support). Hence, we're also interested to learn about > potential compatibility issues on any such platform. > > Cheers, > > Juergen > > ----- > Juergen Hoeller > Interface21 > http://www.springframework.com > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Springframework-user mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-user > > |
|
From: Juergen H. <ju...@in...> - 2006-07-06 22:07:33
|
Dear Spring community, I'm pleased to announce that Spring 2.0 RC2 has been released. This is the second release candidate on the way to Spring 2.0 final. It introduces a number of bug fixes and minor refinements, in particular in the AOP framework and in the JPA support. Please see the changelog for details. A number of further known issues will be addressed in the upcoming 2.0 RC3 release; see our JIRA road map for details. Please give this release a try with your applications and let us know about any problems that you might encounter! Also, remember that Spring 2.0 continues to support JDK 1.3+ and J2EE 1.3+ (even J2EE 1.2+ except for the JSP tags and the EJB support). Hence, we're also interested to learn about potential compatibility issues on any such platform. Cheers, Juergen ----- Juergen Hoeller Interface21 http://www.springframework.com |
|
From: Mike Cannon-B. <mca...@gm...> - 2006-07-03 07:06:09
|
Hey guys, Now this may be a stupid question - so please tell me if it is. I was doing some memory profiling of Confluence earlier, and I noticed that for us CachedIntrospectionResults is holding over 2.5 MB of retained memory. This is only going to grow as more classes etc are added to the application. Therefore, I was looking for a way to reduce it's size. Is it possible to add a flush method to this? What would be the impacts? >From my understanding, when our application context starts up it will add a lot of objects to this cache (as the various beans are created), after that point any cached introspection results there might not be needed (unless they're used to autowire some other object, or in a factory style bean). Therefore would flushing this cache after startup reduce the overall long term memory usage of the application, with relatively little other impacts? At worst case, if all objects in the cache were actually used _after_ startup, the cache would be completely populated twice and each object's property descriptors would be retrieved twice. At base case, if all objects in the cache were _never_ used after startup, the cache would take up no memory for most of the application's life (beyond startup). Am I nuts? :) m -- ATLASSIAN - http://www.atlassian.com |
|
From: Colin S. <col...@ex...> - 2006-07-02 16:27:10
|
All,
The code from the LdapTemplate project:
http://ldaptemplate.sourcefourge.net
created by Ulrik Sandberg & Mattias Arthursson now has a new home as a
full Spring subproject: Spring-LDAP!
This is a very useful library for accessing LDAP without much of the
normal boilerplate, as well as doing DAO style operations with LDAP. It
is similar in some respects to JdbcTemplate, and in fact includes an
LdapTemplate class.
I have checked in Spring-LDAP as part of spring-projects. It is
available via SVN from:
https://svn.sourceforge.net/svnroot/springframework/spring-projects/trunk/spring-ldap
but you normally need to check out spring-projects entirely, since it
will need to build with common-build out of spring-projects:
https://svn.sourceforge.net/svnroot/springframework/spring-projects/trunk
This code is based off the v1.0.2 LdapTemplate release. I have not
touched (refactoring aside) any code, but there were some
logistics/changes involved:
- refactor 'net.sf.ldaptemplate' base package to
'org.springframework.ldap'
- LdapTemplate used common-build, but based of a slightly older
version. In the meantime, common-build in spring-projects has moved to
Maven2 directory conventions, so I had to refactor the actual source trees
- LdapTemplate used to have a static filesytem repo of jars. I have
made the new code pull everything from online, via a combination of the
maven2 public repo as well as our own http repo (just an http view of
part of our svn directory). This did change some jar version numbers.
- unit tests currently run ok
- integration tests currently compile (in Eclipse), but the
spring-projects version of common-build actually needs to be upgraded to
do the compiles, and run them.
Going forward, Ulrik and Mattias will continue to mostly maintain the
code, but I will help at least with logistics.
I will ensure a proper Jira target is set up.
We will most likely release the next version as spring-ldap-1.0.3 to
continue from ldaptemplate-1.0.2, but I don't think we should feel 100%
constrained to this. If somebody can strongly justify the need for a
refactoring or something of that nature that would entail some big
changes, it could go out as a 1.1-dev or something like that.
---
Colin Sampaleanu
Principal, Interface21
Spring Training, Consulting and Support - "From the Source"
http://www.interface21.com
|
|
From: Ian T. <it...@ua...> - 2006-07-02 10:27:51
|
<form:form commandName=3D"contactCommand"> Produces: <form id=3D"contactCommand" name=3D"contactCommand" ... > "name" is not a valid attribute of <form> in XHTML 1.0 Strict |
|
From: Maciej M. <ma...@bu...> - 2006-07-02 05:34:21
|
Hi, =20 V / / A G R A from 3 , 33 $=20 and man y other at http://optenmaces.com - - - - - - I daresay youll find you can, said Professor McGonagall through tightly gritted teeth. I was just wondering whether Mr Potter has quite the temperament for an Auror? said Professor Umbridge sweetly. Were you? said Professor McGonagall haughtily. Well, Potter, she continued, as though there had been no interruption, if you are serious in this ambition, I would advise you to concentrate hard on bringing your Transfiguration and Potions up to scratch. I see Professor Flitwick has graded you between Acceptable and Exceeds Expectations for the last two years, so your Charm work seems satisfactory. As for Defence Against the Dark Arts, your marks have been generally high, Professor Lupin in particular thought you - are you quite sure you wouldnt like a cough drop, Dolores? |
|
From: Michael Y. <yo...@gm...> - 2006-07-01 04:50:30
|
> Unit testing classes with static state is more difficult than those with > purely instance state because you have to explicitly clean up the state in a > tearDown() method or else risk impacting another test. That's a good point. Correct me if I'm wrong but another reason might be that you could never create two bean definitions using the same class with different injected singletons within the same ClassLoader level. Any sub classes of the class would have the same problem. >But, in this case, > injecting statics is a lot simpler than employing AOP proxies and cleaner > than requiring a static reference to your container (so you can re-inject > values upon deserialization). I don't necessarily think the AOP proxy approach is all that ugly or complex. :) The functionality to do exactly this already exists with <aop:scoped-proxy/> for request and session scoped beans for some of the exact same reasons you need this support for singletons. Oh well, it was just a thought. Mike |
|
From: <bu...@in...> - 2006-07-01 01:14:40
|
Snapshot has been uploaded to http://www.springframework.org/snaphots The list of modifications for this build can be found in the build log (http://static.springframework.org/spring/build/index.html). |
|
From: Bob L. <cra...@cr...> - 2006-06-30 15:45:43
|
I'm a little new to this. It seems strange to me that you can lazily initialize on a bean-by-bean basis. Don't you want to lazy load everything during development (faster turnaround time on the section of code you're working on) and eagerly load everything in production (consistent performance for users)? Bob On 6/18/06, Juergen Hoeller <ju...@in...> wrote: > > This is actually expected behavior: lazy-init has stronger effect in > Spring > 2.0 now, not even loading the affected bean classes until they are > explicitly accessed. > > For an application context's type detection (such as > BeanFactoryPostProcessor detection or ApplicationListener detection), we > only check beans that allow for eager initialization now (i.e. that are > not > marked as lazy-init and are not FactoryBeans). > > Else we'd have to load each and every bean class just to find out those > special beans, which would require all bean classes to be present and > loadable - and exactly that is what we intend to avoid with the new > semantics in the first place. > > A further goodie enabled by lazy class loading for lazy-init beans is that > a > PropertyPlaceholderConfigurer can even resolve placeholders in bean class > names now, at least for beans marked as lazy-init. > > So the recommended solution in case of default-lazy-init=true would be to > explicitly mark all affected beans (the ones supposed to be autodetected) > as > lazy-init=false. > > Juergen > > > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] On Behalf > Of Claus Nordahl > Sent: Sunday, June 11, 2006 2:26 AM > To: spr...@li... > Subject: [Springframework-developer] Changed behavior for > default-lazy-init="true" in 2.0 M5 > > Hi all, > > When using default-lazy-init="true" with the 2.0 M5 release, I find that > neither does my PropertyPlaceholderConfigurer's do its stuff nor does my > ApplicationListener's receive any events as they all did with previous > releases. > > Is this expected behavior? > > Regards, > Claus Nordahl > > > > > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |