<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Calling Poco Method from server</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Calling Poco Method from server</description>
  <pubDate>Mon, 13 Apr 2026 05:05:26 -700</pubDate>
  <lastBuildDate>Fri, 04 May 2012 11:55:02 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3427</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Calling Poco Method from server : Awesome, thanks for the info.  ...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3427&amp;PID=13508#13508</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=780" rel="nofollow">jmpinchot</a><br /><strong>Subject:</strong> 3427<br /><strong>Posted:</strong> 04-May-2012 at 11:55am<br /><br />Awesome, thanks for the info.]]>
   </description>
   <pubDate>Fri, 04 May 2012 11:55:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3427&amp;PID=13508#13508</guid>
  </item> 
  <item>
   <title>Calling Poco Method from server :   Since you&amp;#039;ll always make...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3427&amp;PID=13507#13507</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3427<br /><strong>Posted:</strong> 04-May-2012 at 11:52am<br /><br />Since you'll always make a call from an EntityManager, the question is how does that EntityManager know or find an EntityServer to handle its queries, saves, or other calls.&nbsp; Generally in server-side code (like an interceptor or login manager) you'll be provided with an EntityManager - that EntityManager is always directly connected to the EntityServer, basically as a 2-tier application - in other words there's no network or out-of-process communication occurring.&nbsp; <div>&nbsp;</div><div>If you "new" an EntityManager within server-side code and do not use the copy constructor, then that EntityManager will look at configuration settings by default to determine whether it should act in a 2-tier or n-tier manner - by default it will normally think it's using a local EntityServer and will therefore work like a 2-tier application.&nbsp; Prior to the 6.1.7 release there were (somewhat rare) use cases where a new EntityServer instance&nbsp;could be created, but generally the EntityManager will talk directly to the current EntityServer.&nbsp;</div><div>&nbsp;</div><div>So, when you use an EntityManager from server-side code, unless you've specifically told it not to, it will not use a network connection and will do in-process calls to the current EntityServer instance.</div><div>&nbsp;</div><div>If you think network calls are being made from a server-side EntityManager, check the debug log.&nbsp; If the EM is trying to use WCF to talk to an EntityServer the log&nbsp;will include messages about WCF proxies created for certain addresses.&nbsp; If so, then check your config file settings.</div>]]>
   </description>
   <pubDate>Fri, 04 May 2012 11:52:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3427&amp;PID=13507#13507</guid>
  </item> 
  <item>
   <title>Calling Poco Method from server : Our project is structured such...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3427&amp;PID=13506#13506</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=780" rel="nofollow">jmpinchot</a><br /><strong>Subject:</strong> 3427<br /><strong>Posted:</strong> 04-May-2012 at 10:52am<br /><br />Our project is structured such that the data layer is shared between both the client-side (WPF) application, and a asp.net server side application. We make widespread use of the POCO entity queries on both client and server sides of the app. I am wondering how the application routes the call to the POCO query if the calling code is on the server. Does it run back up through a network connection and back to the same machine? Or does the BOS somehow figure this out and simply calls the relevant code without the overhead of setting up a network connection?<div><br></div><div>By a similar token, how does this work for remote method invocation called from the server code (i.e. EntityManger.InvokeServerMethod)?&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 04 May 2012 10:52:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3427&amp;PID=13506#13506</guid>
  </item> 
 </channel>
</rss>