<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3706294656317442171.post7628025929086603133..comments</id><updated>2009-04-09T08:45:08.566+02:00</updated><category term='tetris'/><category term='softris'/><category term='RunWithElevatedPrivileges'/><category term='google wave'/><category term='Capgemini'/><category term='tfs'/><category term='personal'/><category term='W3C'/><category term='local'/><category term='moss 2007'/><category term='development'/><category term='dispose'/><category term='simple urls'/><category term='azure'/><category term='deployment'/><category term='SharePoint'/><category term='friendly urls'/><category term='environment'/><category term='team foundation server'/><category term='_layouts'/><category term='chrome'/><category term='Spring.Net'/><category term='fanboy'/><category term='game development'/><category term='global'/><category term='scrum'/><category term='performance'/><category term='PublishingConsole'/><category term='comments'/><title type='text'>Comments on Terborn: Spring.Net and SharePoint</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.terborn.com/feeds/7628025929086603133/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default'/><link rel='alternate' type='text/html' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html'/><author><name>Terborn</name><uri>http://www.blogger.com/profile/08699582580311827918</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_YZ6h0DIe-AY/SJ8hnRT_OsI/AAAAAAAAAR0/i0s6-3N1BUA/s1600-R/IMG_1119_lzn-2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3706294656317442171.post-4246799427475988880</id><published>2009-04-09T08:45:00.000+02:00</published><updated>2009-04-09T08:45:00.000+02:00</updated><title type='text'>Hi, and sorry the delay in answering.&lt;br&gt;&lt;br&gt;I get...</title><content type='html'>Hi, and sorry the delay in answering.&lt;BR/&gt;&lt;BR/&gt;I get hold of objects from the spring cache by having a "BusinessFactory" class containing properties similar to this:&lt;BR/&gt;public static ISettingsBC GetSettingsBC()&lt;BR/&gt;{           &lt;BR/&gt;    return (ISettingsBC)mContext.GetObject(NAME_SETTINGSBC);&lt;BR/&gt;}&lt;BR/&gt;&lt;BR/&gt;How the context itself is loaded depends on where you store your your spring bindings of course.&lt;BR/&gt;&lt;BR/&gt;This is an example from loading a spring context from an XML stored as a resource file:&lt;BR/&gt;&lt;BR/&gt;private static IApplicationContext mContext = SpringContext;&lt;BR/&gt;&lt;BR/&gt;// Elsewhere...&lt;BR/&gt;mContext = new XmlApplicationContext(ASSEMBLY_LOCATION);&lt;BR/&gt;ContextRegistry.RegisterContext(mContext);&lt;BR/&gt;&lt;BR/&gt;Hope that'll be of help!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/4246799427475988880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/4246799427475988880'/><link rel='alternate' type='text/html' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html?showComment=1239259500000#c4246799427475988880' title=''/><author><name>Terborn</name><uri>http://www.blogger.com/profile/08699582580311827918</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_YZ6h0DIe-AY/SJ8hnRT_OsI/AAAAAAAAAR0/i0s6-3N1BUA/s1600-R/IMG_1119_lzn-2.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html' ref='tag:blogger.com,1999:blog-3706294656317442171.post-7628025929086603133' source='http://www.blogger.com/feeds/3706294656317442171/posts/default/7628025929086603133' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-234898717'/></entry><entry><id>tag:blogger.com,1999:blog-3706294656317442171.post-4728667931545959721</id><published>2009-04-04T03:05:00.000+02:00</published><updated>2009-04-04T03:05:00.000+02:00</updated><title type='text'>I've been wondering, how do you get access to obje...</title><content type='html'>I've been wondering, how do you get access to objects in the spring context from something like a web part?  Can you use dependency injection?  If not, how do you get access to the spring context?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/4728667931545959721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/4728667931545959721'/><link rel='alternate' type='text/html' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html?showComment=1238807100000#c4728667931545959721' title=''/><author><name>abut</name><uri>http://www.blogger.com/profile/11812071510853363486</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html' ref='tag:blogger.com,1999:blog-3706294656317442171.post-7628025929086603133' source='http://www.blogger.com/feeds/3706294656317442171/posts/default/7628025929086603133' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1242020167'/></entry><entry><id>tag:blogger.com,1999:blog-3706294656317442171.post-9042520107983312907</id><published>2009-02-20T11:18:00.000+01:00</published><updated>2009-02-20T11:18:00.000+01:00</updated><title type='text'>Hi Rich,&lt;br&gt;&lt;br&gt;You may very well be right on the ...</title><content type='html'>Hi Rich,&lt;BR/&gt;&lt;BR/&gt;You may very well be right on the full trust issue. Quite frankly, I&amp;#39;ve never had to think about that issue since I&amp;#39;ve always deployed my DLLs to GAC, thus giving them full trust automatically.&lt;BR/&gt;&lt;BR/&gt;The Spring DLLs are deployed to the GAC as well using the following markup in manifest.xml:&lt;BR/&gt;&amp;lt;Assembly DeploymentTarget=&amp;quot;GlobalAssemblyCache&amp;quot; Location=&amp;quot;Spring.Core.dll&amp;quot; /&amp;gt;&lt;BR/&gt;&amp;lt;Assembly DeploymentTarget=&amp;quot;GlobalAssemblyCache&amp;quot; Location=&amp;quot;Spring.Aop.dll&amp;quot; /&amp;gt;&lt;BR/&gt;&amp;lt;Assembly DeploymentTarget=&amp;quot;GlobalAssemblyCache&amp;quot; Location=&amp;quot;Spring.Web.dll&amp;quot; /&amp;gt;&lt;BR/&gt;&lt;BR/&gt;Since the Spring.Net logic is otherwise contained within my DLLs everything works nicely without additional work.&lt;BR/&gt;&lt;BR/&gt;(Besides moving spring bindings from web.config to an embedded resource, as I mentioned above.)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/9042520107983312907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/9042520107983312907'/><link rel='alternate' type='text/html' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html?showComment=1235125080000#c9042520107983312907' title=''/><author><name>Terborn</name><uri>http://www.blogger.com/profile/08699582580311827918</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_YZ6h0DIe-AY/SJ8hnRT_OsI/AAAAAAAAAR0/i0s6-3N1BUA/s1600-R/IMG_1119_lzn-2.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html' ref='tag:blogger.com,1999:blog-3706294656317442171.post-7628025929086603133' source='http://www.blogger.com/feeds/3706294656317442171/posts/default/7628025929086603133' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-234898717'/></entry><entry><id>tag:blogger.com,1999:blog-3706294656317442171.post-3988098252031969397</id><published>2009-02-19T21:57:00.000+01:00</published><updated>2009-02-19T21:57:00.000+01:00</updated><title type='text'>I've seen comments that Spring.Net only works unde...</title><content type='html'>I've seen comments that Spring.Net only works under full trust. Would you mind posting some info on the steps to enable Spring in SharePoint?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/3988098252031969397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/3988098252031969397'/><link rel='alternate' type='text/html' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html?showComment=1235077020000#c3988098252031969397' title=''/><author><name>Rich L</name><uri>http://www.blogger.com/profile/01558615405539773547</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html' ref='tag:blogger.com,1999:blog-3706294656317442171.post-7628025929086603133' source='http://www.blogger.com/feeds/3706294656317442171/posts/default/7628025929086603133' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1504369365'/></entry><entry><id>tag:blogger.com,1999:blog-3706294656317442171.post-8100881630296819750</id><published>2008-12-05T08:28:00.000+01:00</published><updated>2008-12-05T08:28:00.000+01:00</updated><title type='text'>Hi Vinay,&lt;br&gt;&lt;br&gt;I've run MOSS + Spring.Net with s...</title><content type='html'>Hi Vinay,&lt;BR/&gt;&lt;BR/&gt;I've run MOSS + Spring.Net with spring configuration in web.config, so it works. Just add the configSection and spring element, and it should work.&lt;BR/&gt;&lt;BR/&gt;However, in my new projects I've chosen to use a separate configuration file instead. In a farm you may have several machines and even if you could use the SPWebConfigModification class to deploy changes it is a cumbersome process. Especially with future upgrades in mind.&lt;BR/&gt;&lt;BR/&gt;Instead I suggest that you put your spring configuration in a seperate XML that you embed in your application.&lt;BR/&gt;&lt;BR/&gt;The process for doing this is explained here (chapter 5.2.2):&lt;BR/&gt;http://www.springframework.net/doc-latest/reference/html/objects.html#objects-basics&lt;BR/&gt;&lt;BR/&gt;Good luck!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/8100881630296819750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/8100881630296819750'/><link rel='alternate' type='text/html' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html?showComment=1228462080000#c8100881630296819750' title=''/><author><name>Terborn</name><uri>http://www.blogger.com/profile/08699582580311827918</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_YZ6h0DIe-AY/SJ8hnRT_OsI/AAAAAAAAAR0/i0s6-3N1BUA/s1600-R/IMG_1119_lzn-2.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html' ref='tag:blogger.com,1999:blog-3706294656317442171.post-7628025929086603133' source='http://www.blogger.com/feeds/3706294656317442171/posts/default/7628025929086603133' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-234898717'/></entry><entry><id>tag:blogger.com,1999:blog-3706294656317442171.post-3340572080563454859</id><published>2008-12-04T11:55:00.000+01:00</published><updated>2008-12-04T11:55:00.000+01:00</updated><title type='text'>Hi Terborn,&lt;br&gt;&lt;br&gt;Presently i am working on share...</title><content type='html'>Hi Terborn,&lt;BR/&gt;&lt;BR/&gt;Presently i am working on share point(MOSS2007) project and we are trying to configure Spring.net in Share point,But we are facing problems   while configuring Spring.net Object in Web.config of Share point Sever.&lt;BR/&gt;Can you please Give the Details of Configuring Spring.net in Share point.&lt;BR/&gt;Thanks,&lt;BR/&gt;&lt;BR/&gt;And How to use Spring.net in Share point.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/3340572080563454859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/3340572080563454859'/><link rel='alternate' type='text/html' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html?showComment=1228388100000#c3340572080563454859' title=''/><author><name>Vinay</name><uri>http://www.blogger.com/profile/00624749482578098153</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html' ref='tag:blogger.com,1999:blog-3706294656317442171.post-7628025929086603133' source='http://www.blogger.com/feeds/3706294656317442171/posts/default/7628025929086603133' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1053628364'/></entry><entry><id>tag:blogger.com,1999:blog-3706294656317442171.post-4250663606977880846</id><published>2008-10-25T00:56:00.000+02:00</published><updated>2008-10-25T00:56:00.000+02:00</updated><title type='text'>Hi Mikael and thanks! :-)&lt;br&gt;&lt;br&gt;Please understand...</title><content type='html'>Hi Mikael and thanks! :-)&lt;BR/&gt;&lt;BR/&gt;Please understand that I'm not trying to represent any of SharePoints own framework in Spring, only the code produced by us.&lt;BR/&gt;&lt;BR/&gt;Basically, our data access logic will call the SharePoint object model the "old-fashioned" way.&lt;BR/&gt;&lt;BR/&gt;The same goes for event receivers. My custom event receivers will however only consist of a thin layer that passes on any events to the business layer using the Spring context.&lt;BR/&gt;&lt;BR/&gt;Not really considered whether I should strive to extend the Spring context further, but I don't think I can see much value in it since I won't care to run either TDD or AOP on SharePoint's own framework.&lt;BR/&gt;&lt;BR/&gt;Have fun! :-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/4250663606977880846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/4250663606977880846'/><link rel='alternate' type='text/html' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html?showComment=1224888960000#c4250663606977880846' title=''/><author><name>Terborn</name><uri>http://www.blogger.com/profile/08699582580311827918</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='http://2.bp.blogspot.com/_YZ6h0DIe-AY/SJ8hnRT_OsI/AAAAAAAAAR0/i0s6-3N1BUA/s1600-R/IMG_1119_lzn-2.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html' ref='tag:blogger.com,1999:blog-3706294656317442171.post-7628025929086603133' source='http://www.blogger.com/feeds/3706294656317442171/posts/default/7628025929086603133' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-234898717'/></entry><entry><id>tag:blogger.com,1999:blog-3706294656317442171.post-6409459876608552028</id><published>2008-10-24T23:31:00.000+02:00</published><updated>2008-10-24T23:31:00.000+02:00</updated><title type='text'>Great article. I have worked with a couple of Shar...</title><content type='html'>Great article. I have worked with a couple of Sharepoint WSS projects and I'm eager to try out Spring.Net with Sharepoint. Since I have been working with a lot of J2EE projects in the past I am aware of Spring's capabilities, at least from the Java-side of things.&lt;BR/&gt;&lt;BR/&gt;In your use of Spring and Sharepoint do you have all access to the Sharepoint object model constrained to the data access layer?&lt;BR/&gt;&lt;BR/&gt;How do you fit Sharepoint's Eventreceivers into the Spring architecture?&lt;BR/&gt;&lt;BR/&gt;It would be great to hear more about your experiences with Spring and Sharepoint. I will try to find time to test that combination myself. &lt;BR/&gt;&lt;BR/&gt;Thanks,&lt;BR/&gt;&lt;BR/&gt;Mikael</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/6409459876608552028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3706294656317442171/7628025929086603133/comments/default/6409459876608552028'/><link rel='alternate' type='text/html' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html?showComment=1224883860000#c6409459876608552028' title=''/><author><name>Mikael Fröberg</name><uri>http://www.blogger.com/profile/03564893889440168947</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.terborn.com/2008/07/springnet-and-sharepoint.html' ref='tag:blogger.com,1999:blog-3706294656317442171.post-7628025929086603133' source='http://www.blogger.com/feeds/3706294656317442171/posts/default/7628025929086603133' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-121409476'/></entry></feed>
