﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Preparing BO for use with new web server middleware</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 10 Jun 2026 16:16:56 GMT</lastBuildDate><ttl>20</ttl><item><title>Preparing BO for use with new web server middleware</title><link>http://forum.strataframe.net/FindPost5192.aspx</link><description>I'm very interested in the new web server middleware SF is about to release.  I'm wondering how to build my BO fill/get functions to use the webservice.  I.e. I'm currently using SQLCommand objects and SQL with parameters or sprocs with parameters.  I'm wondering if this will still work or if I would need to redo how my BOs are getting filled.&lt;br&gt;
&lt;br&gt;
I've read the white paper and it states that one would be able to switch dynamically between the web service and using SQL directly.  How's this going to work?  &lt;br&gt;
&lt;br&gt;
Mainly I'm wondering if there is something I need to be doing now to make life easier if we decide to use the new web server.&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Tue, 12 Dec 2006 16:58:52 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Preparing BO for use with new web server middleware</title><link>http://forum.strataframe.net/FindPost5253.aspx</link><description>:hehe:&amp;nbsp; Yes it is :D</description><pubDate>Tue, 12 Dec 2006 16:58:52 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Preparing BO for use with new web server middleware</title><link>http://forum.strataframe.net/FindPost5252.aspx</link><description>OK, I just wet myself...:w00t:&lt;br&gt;
&lt;br&gt;
That is very cool!  Very cool!!</description><pubDate>Tue, 12 Dec 2006 16:53:26 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Preparing BO for use with new web server middleware</title><link>http://forum.strataframe.net/FindPost5222.aspx</link><description>Nope, you won't have to make any change... the Enterprise server just serializes your database request over the wire as HTTP and then executes it from the Enterprise Server itself and then serializes the results back to you.&amp;nbsp; So, you only have to change your datasource to swap back and forth between a direct connection and a connection through the ES.</description><pubDate>Tue, 12 Dec 2006 08:42:03 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Preparing BO for use with new web server middleware</title><link>http://forum.strataframe.net/FindPost5210.aspx</link><description>OK, I'm sure I understand...I'm just not ready to accept...it's too simple...too easy...&lt;br&gt;
&lt;br&gt;
So, if I have the following:&lt;br&gt;
&lt;br&gt;
[codesnippet]&lt;br&gt;
Public Sub FillByProject(projectID as int32)&lt;br&gt;
  using cmd as SQLCommand = New SQLCommand&lt;br&gt;
  cmd.CommantText = "Select * From Widgets Where ProjectID = @projectID"&lt;br&gt;
  cmd.Parameters.Add("@projectID",int)&lt;br&gt;
  cmd.Parameters("@projectID").value = projectID&lt;br&gt;
  me.FillDataTable(cmd)&lt;br&gt;
  End using&lt;br&gt;
End Sub&lt;br&gt;
[/codesnippet]&lt;br&gt;
&lt;br&gt;
I won't need to make ANY changes? This will work against the enterprise server?&lt;br&gt;
&lt;br&gt;
This can't be true...can it?</description><pubDate>Mon, 11 Dec 2006 20:44:13 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Preparing BO for use with new web server middleware</title><link>http://forum.strataframe.net/FindPost5197.aspx</link><description>[quote]I'm wondering if this will still work or if I would need to redo how my BOs are getting filled.&lt;BR&gt;[/quote]&lt;/P&gt;&lt;P&gt;This is correct.&amp;nbsp; You just program for the target database, not the web service itself.&amp;nbsp; &lt;/P&gt;&lt;P&gt;[quote]I've read the white paper and it states that one would be able to switch dynamically between the web service and using SQL directly. How's this going to work? &lt;BR&gt;[/quote]&lt;/P&gt;&lt;P&gt;It is a data access layer.&amp;nbsp; It is literally one line of code.&amp;nbsp; If you want to swap between SQL Server and the ES (Enterprise Server) then you will just change the DataSource to use an EnterpriseServerDataSourceItem instead of a SqlDataSourceItem.&lt;/P&gt;&lt;P&gt;[quote]Mainly I'm wondering if there is something I need to be doing now to make life easier if we decide to use the new web server.&lt;BR&gt;[/quote]&lt;/P&gt;&lt;P&gt;Program for your target database.&amp;nbsp; It is literally a 5 minute implementation problem on the backend....that's the beauty! :)</description><pubDate>Mon, 11 Dec 2006 16:19:03 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>