473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Best choice of technology

I have a requirement to run some code on a server. The purpose of the code
is purely to process data between an MS SQL box and a remote Oracle box. It
has no UI, and needs no user intervention to run.

The 2nd part of the requirement is to have a UI that will allow an operator
to view the progress / current status of the processing. Even if the UI is
not loaded, the processing must continue.

I have a few ideas on how to tackle this, but would welcome opinions.

Any ideas most welcome.
Jul 21 '05 #1
8 1416
You could of course run your program as a service for one thing. You may
also want to include messageQueues for instance, so that one of the servers
can be totally down and it won't have an affect on the other machine. It's
a bit vague of a description so i"m hesitant to recommend much more, but if
you let me know i'll be glad to see if I can help.

--

W.G. Ryan, eMVP

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/...ity/newsgroups
"JohnFol" <Wi****@wobble.com> wrote in message
news:OE***************@tk2msftngp13.phx.gbl...
I have a requirement to run some code on a server. The purpose of the code
is purely to process data between an MS SQL box and a remote Oracle box. It has no UI, and needs no user intervention to run.

The 2nd part of the requirement is to have a UI that will allow an operator to view the progress / current status of the processing. Even if the UI is
not loaded, the processing must continue.

I have a few ideas on how to tackle this, but would welcome opinions.

Any ideas most welcome.

Jul 21 '05 #2
Hi, and thanks for the prompt reply.

My first thought was Windows Service, but I could not find a method of
raising events from it that the form (if open) could respond to.

For example, if within myService I had

Public Event MyHandler(ByVal strSomeData As String)
And then in the form I try and connect to it .. .

Public WithEvents MyServiceEvent As New
ServiceProcess.ServiceController("MyServiceName")

I can't get the 2 to synch up.
Again, any thoughts welcome.


"William Ryan eMVP" <do********@comcast.nospam.net> wrote in message
news:uB**************@TK2MSFTNGP10.phx.gbl...
You could of course run your program as a service for one thing. You may
also want to include messageQueues for instance, so that one of the servers can be totally down and it won't have an affect on the other machine. It's a bit vague of a description so i"m hesitant to recommend much more, but if you let me know i'll be glad to see if I can help.

--

W.G. Ryan, eMVP

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/...ity/newsgroups
"JohnFol" <Wi****@wobble.com> wrote in message
news:OE***************@tk2msftngp13.phx.gbl...
I have a requirement to run some code on a server. The purpose of the code is purely to process data between an MS SQL box and a remote Oracle box.

It
has no UI, and needs no user intervention to run.

The 2nd part of the requirement is to have a UI that will allow an

operator
to view the progress / current status of the processing. Even if the UI is not loaded, the processing must continue.

I have a few ideas on how to tackle this, but would welcome opinions.

Any ideas most welcome.


Jul 21 '05 #3
For pure processing of data, I would consider creating a DTS task in SQL
Server. You can partially monitor it, so it may not be choice #1. In SQL
Server 2005, you have more monitoring options.

You can export DTS code to VB and set up a process to figure out where you
are.

With .NET you can make a service that runs these DTS processes. It will have
to use COM interop.

You can also roll your own DTS with a .NET service. The service option is
nice, as you can set up hooks to more easily monitor. The executable hooks
into the service and checks status, et al.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"JohnFol" <Wi****@wobble.com> wrote in message
news:OE***************@tk2msftngp13.phx.gbl...
I have a requirement to run some code on a server. The purpose of the code
is purely to process data between an MS SQL box and a remote Oracle box. It has no UI, and needs no user intervention to run.

The 2nd part of the requirement is to have a UI that will allow an operator to view the progress / current status of the processing. Even if the UI is
not loaded, the processing must continue.

I have a few ideas on how to tackle this, but would welcome opinions.

Any ideas most welcome.

Jul 21 '05 #4
Hi Gregory, and thanks for the suggestions. I think it will be SQL2000, so
it sounds like my monitoring will have to be external to SQL.

A common theme to your reply and Williams' is the concept of interacting
with a service. I've tried the CustomerCommand, but it's a call into the
service and does not return values. Nor can I raise an event from the
service. This would give my UI something to hook into. Looks like I am
missing some key feature of services.

FYI
I aim to create Perfmon entries / counters, but the UI (if running) needs to
list something like the following:

"12 Jan 2004 10:00:03 Processing Order XYZ"
"12 Jan 2004 10:00:04 Order XYZ sucessfully processed"

.. . . you get the gist.

Thanks again for the ideas.
"Cowboy (Gregory A. Beamer) [MVP]" <No************@comcast.netNoSpamM> wrote
in message news:uK**************@TK2MSFTNGP10.phx.gbl...
For pure processing of data, I would consider creating a DTS task in SQL
Server. You can partially monitor it, so it may not be choice #1. In SQL
Server 2005, you have more monitoring options.

You can export DTS code to VB and set up a process to figure out where you
are.

With .NET you can make a service that runs these DTS processes. It will have to use COM interop.

You can also roll your own DTS with a .NET service. The service option is
nice, as you can set up hooks to more easily monitor. The executable hooks
into the service and checks status, et al.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"JohnFol" <Wi****@wobble.com> wrote in message
news:OE***************@tk2msftngp13.phx.gbl...
I have a requirement to run some code on a server. The purpose of the code is purely to process data between an MS SQL box and a remote Oracle box.

It
has no UI, and needs no user intervention to run.

The 2nd part of the requirement is to have a UI that will allow an

operator
to view the progress / current status of the processing. Even if the UI is not loaded, the processing must continue.

I have a few ideas on how to tackle this, but would welcome opinions.

Any ideas most welcome.


Jul 21 '05 #5
John,
I too would recommend a Windows Service.

To enable the service to communicate with the Form, you can use .NET
Remoting, a database Table, a file, or Performance Counters. Depending on
how dynamic/static you want the Form to be.

I find Performance Counters or a database table to be easier, however the
Form then needs to poll for updated data... I would use a Forms.Timer to
pool for the updated progress...

Hope this helps
Jay

"JohnFol" <Wi****@wobble.com> wrote in message
news:uB**************@TK2MSFTNGP12.phx.gbl...
Hi Gregory, and thanks for the suggestions. I think it will be SQL2000, so
it sounds like my monitoring will have to be external to SQL.

A common theme to your reply and Williams' is the concept of interacting
with a service. I've tried the CustomerCommand, but it's a call into the
service and does not return values. Nor can I raise an event from the
service. This would give my UI something to hook into. Looks like I am
missing some key feature of services.

FYI
I aim to create Perfmon entries / counters, but the UI (if running) needs to list something like the following:

"12 Jan 2004 10:00:03 Processing Order XYZ"
"12 Jan 2004 10:00:04 Order XYZ sucessfully processed"

. . . you get the gist.

Thanks again for the ideas.
"Cowboy (Gregory A. Beamer) [MVP]" <No************@comcast.netNoSpamM> wrote in message news:uK**************@TK2MSFTNGP10.phx.gbl...
For pure processing of data, I would consider creating a DTS task in SQL
Server. You can partially monitor it, so it may not be choice #1. In SQL
Server 2005, you have more monitoring options.

You can export DTS code to VB and set up a process to figure out where you
are.

With .NET you can make a service that runs these DTS processes. It will have
to use COM interop.

You can also roll your own DTS with a .NET service. The service option is nice, as you can set up hooks to more easily monitor. The executable hooks into the service and checks status, et al.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"JohnFol" <Wi****@wobble.com> wrote in message
news:OE***************@tk2msftngp13.phx.gbl...
I have a requirement to run some code on a server. The purpose of the code is purely to process data between an MS SQL box and a remote Oracle
box. It
has no UI, and needs no user intervention to run.

The 2nd part of the requirement is to have a UI that will allow an

operator
to view the progress / current status of the processing. Even if the

UI is not loaded, the processing must continue.

I have a few ideas on how to tackle this, but would welcome opinions.

Any ideas most welcome.



Jul 21 '05 #6
The service can expose certain interfaces that your tool can query, or
continue to query. You can even make the service continually raise events
and subscribe. There are a variety of ways to architect.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"JohnFol" <Wi****@wobble.com> wrote in message
news:uB**************@TK2MSFTNGP12.phx.gbl...
Hi Gregory, and thanks for the suggestions. I think it will be SQL2000, so
it sounds like my monitoring will have to be external to SQL.

A common theme to your reply and Williams' is the concept of interacting
with a service. I've tried the CustomerCommand, but it's a call into the
service and does not return values. Nor can I raise an event from the
service. This would give my UI something to hook into. Looks like I am
missing some key feature of services.

FYI
I aim to create Perfmon entries / counters, but the UI (if running) needs to list something like the following:

"12 Jan 2004 10:00:03 Processing Order XYZ"
"12 Jan 2004 10:00:04 Order XYZ sucessfully processed"

. . . you get the gist.

Thanks again for the ideas.
"Cowboy (Gregory A. Beamer) [MVP]" <No************@comcast.netNoSpamM> wrote in message news:uK**************@TK2MSFTNGP10.phx.gbl...
For pure processing of data, I would consider creating a DTS task in SQL
Server. You can partially monitor it, so it may not be choice #1. In SQL
Server 2005, you have more monitoring options.

You can export DTS code to VB and set up a process to figure out where you
are.

With .NET you can make a service that runs these DTS processes. It will have
to use COM interop.

You can also roll your own DTS with a .NET service. The service option is nice, as you can set up hooks to more easily monitor. The executable hooks into the service and checks status, et al.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"JohnFol" <Wi****@wobble.com> wrote in message
news:OE***************@tk2msftngp13.phx.gbl...
I have a requirement to run some code on a server. The purpose of the code is purely to process data between an MS SQL box and a remote Oracle
box. It
has no UI, and needs no user intervention to run.

The 2nd part of the requirement is to have a UI that will allow an

operator
to view the progress / current status of the processing. Even if the

UI is not loaded, the processing must continue.

I have a few ideas on how to tackle this, but would welcome opinions.

Any ideas most welcome.



Jul 21 '05 #7
Hi,

windows service which exposes some methods via remoting. Your monitoring
app will connect to the service, and it can subscribe to events raised
in the service as well.

Sunny

In article <u7**************@TK2MSFTNGP11.phx.gbl>, Wi****@wobble.com
says...
Hi, and thanks for the prompt reply.

My first thought was Windows Service, but I could not find a method of
raising events from it that the form (if open) could respond to.

For example, if within myService I had

Public Event MyHandler(ByVal strSomeData As String)
And then in the form I try and connect to it .. .

Public WithEvents MyServiceEvent As New
ServiceProcess.ServiceController("MyServiceName")

I can't get the 2 to synch up.
Again, any thoughts welcome.


"William Ryan eMVP" <do********@comcast.nospam.net> wrote in message
news:uB**************@TK2MSFTNGP10.phx.gbl...
You could of course run your program as a service for one thing. You may
also want to include messageQueues for instance, so that one of the

servers
can be totally down and it won't have an affect on the other machine.

It's
a bit vague of a description so i"m hesitant to recommend much more, but

if
you let me know i'll be glad to see if I can help.

--

W.G. Ryan, eMVP

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/...ity/newsgroups
"JohnFol" <Wi****@wobble.com> wrote in message
news:OE***************@tk2msftngp13.phx.gbl...
I have a requirement to run some code on a server. The purpose of the code is purely to process data between an MS SQL box and a remote Oracle box.

It
has no UI, and needs no user intervention to run.

The 2nd part of the requirement is to have a UI that will allow an

operator
to view the progress / current status of the processing. Even if the UI is not loaded, the processing must continue.

I have a few ideas on how to tackle this, but would welcome opinions.

Any ideas most welcome.



Jul 21 '05 #8
Gregory, sound like that has hit the nail on the head. Could you give me a
pointer ?


"Cowboy (Gregory A. Beamer) [MVP]" <No************@comcast.netNoSpamM> wrote
in message news:%2***************@TK2MSFTNGP10.phx.gbl...
The service can expose certain interfaces that your tool can query, or
continue to query. You can even make the service continually raise events
and subscribe. There are a variety of ways to architect.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"JohnFol" <Wi****@wobble.com> wrote in message
news:uB**************@TK2MSFTNGP12.phx.gbl...
Hi Gregory, and thanks for the suggestions. I think it will be SQL2000, so
it sounds like my monitoring will have to be external to SQL.

A common theme to your reply and Williams' is the concept of interacting
with a service. I've tried the CustomerCommand, but it's a call into the
service and does not return values. Nor can I raise an event from the
service. This would give my UI something to hook into. Looks like I am
missing some key feature of services.

FYI
I aim to create Perfmon entries / counters, but the UI (if running) needs
to
list something like the following:

"12 Jan 2004 10:00:03 Processing Order XYZ"
"12 Jan 2004 10:00:04 Order XYZ sucessfully processed"

. . . you get the gist.

Thanks again for the ideas.
"Cowboy (Gregory A. Beamer) [MVP]" <No************@comcast.netNoSpamM>

wrote
in message news:uK**************@TK2MSFTNGP10.phx.gbl...
For pure processing of data, I would consider creating a DTS task in SQL Server. You can partially monitor it, so it may not be choice #1. In SQL Server 2005, you have more monitoring options.

You can export DTS code to VB and set up a process to figure out where

you are.

With .NET you can make a service that runs these DTS processes. It will have
to use COM interop.

You can also roll your own DTS with a .NET service. The service option is nice, as you can set up hooks to more easily monitor. The executable hooks into the service and checks status, et al.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"JohnFol" <Wi****@wobble.com> wrote in message
news:OE***************@tk2msftngp13.phx.gbl...
> I have a requirement to run some code on a server. The purpose of
the
code
> is purely to process data between an MS SQL box and a remote Oracle

box. It
> has no UI, and needs no user intervention to run.
>
> The 2nd part of the requirement is to have a UI that will allow an
operator
> to view the progress / current status of the processing. Even if the

UI
is
> not loaded, the processing must continue.
>
> I have a few ideas on how to tackle this, but would welcome

opinions. >
> Any ideas most welcome.
>
>



Jul 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

198
by: Sridhar R | last post by:
>From technical point of view, I could not understand the the reasoning behind using Java in major companies. Sure that Python, is used in some, but still Java is considered as a sure-job...
2
by: jklimek | last post by:
In May of this year I graduated from Penn State with a BS in IST (Information Sciences and Technology). Right after graduation I got a database programming job with a company that uses Delphi 6 and...
131
by: Peter Foti | last post by:
Simple question... which is better to use for defining font sizes and why? px and em seem to be the leading candidates. I know what the general answer is going to be, but I'm hoping to ultimately...
0
by: JohnFol | last post by:
Gregory, sound like that has hit the nail on the head. Could you give me a pointer ? "Cowboy (Gregory A. Beamer) " <NoSpamMgbworld@comcast.netNoSpamM> wrote in message...
5
by: RichG | last post by:
We are building a new developement system specifically for .NET developement. We will bw using VB. and C#. What will be the best OS to install on the new system. What will be the best concidering...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
4
by: Ron | last post by:
Greetings, Any recommendations on a book or online tutorial that my 15 yr old son can use to teach himself C? At 12 he downloaded a crude level editor for Jedi Knight called JED and taught...
0
by: M.-A. Lemburg | last post by:
On 2008-05-08 16:16, Florencio Cano wrote: The choice of protocol depends a lot on what you want to transfer. SOAP would be a good choice if you want to send to data to other servers as well,...
0
by: Ken North | last post by:
If you submit the best question for the workshop at LinkedData Planet, you'll win admission to the conference, including keynotes by W3C Director Sir Tim Berners-Lee, IBM CTO for Information...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.