Welcome Guest Search | Active Topics | Members | Log In | Register

Data synchronization Options · View
mrodsilva
Posted: Wednesday, May 25, 2011 1:34:30 PM
Rank: Apprentice Coder
Groups: Member

Joined: 5/25/2011
Posts: 21
Points: 69
Hi There,

I'm looking to use WebORB, but I have a doubt.

We have some devices (hardware with GPRS connection). Those devices send information through socket connection to a Windows Service application which updates a SQL database.

I'm wondering how would it be possible to synchronize those changes to our Flex Application. Is it possible? How so? What changes do we have to make on our Windows Service? Is it better to replace this Windows Service with something else?

PS.: I've posted this same question on "WebORB for PHP (Flash/Flex-to-PHP AMF Gateway) » Data Management" by mistake. I'm sorry

Regards,
Marcelo
Cyril
Posted: Wednesday, May 25, 2011 3:47:36 PM
Rank: Administration
Groups: Administration , Member

Joined: 9/10/2009
Posts: 320
Points: 778
Location: US
Hi Marcelo,

you can handle it with WebORB easily by using WebORB Data Management. Please consider the following information:

http://www.themidnightcoders.com/fileadmin/docs/dotnet/v4/guide/flex_data_management_overview.htm
http://blog.themidnightcoders.com/index.php/2010/10/11/new-samples-weborb-data-management-wdm-for-flex-wdmf/

Aslo, I will create an example to demonstrate how you can use it in your application.

-Cyril

mrodsilva wrote:
Hi There,

I'm looking to use WebORB, but I have a doubt.

We have some devices (hardware with GPRS connection). Those devices send information through socket connection to a Windows Service application which updates a SQL database.

I'm wondering how would it be possible to synchronize those changes to our Flex Application. Is it possible? How so? What changes do we have to make on our Windows Service? Is it better to replace this Windows Service with something else?

PS.: I've posted this same question on "WebORB for PHP (Flash/Flex-to-PHP AMF Gateway) » Data Management" by mistake. I'm sorry

Regards,
Marcelo
mrodsilva
Posted: Thursday, May 26, 2011 4:51:19 AM
Rank: Apprentice Coder
Groups: Member

Joined: 5/25/2011
Posts: 21
Points: 69
Hi Cyril,

Thanks for you answer.

I forgot to mention that our devices can't use Flex or Java. They have a simple processor and run c++ inside.

The RIA application we are going to develop is to track those devices.

The scenario is something like this:

Devices <---> Windows Service <---> ???? WebORB ???? <---> Flex App (through WDMF)

Thanks
Cyril
Posted: Thursday, May 26, 2011 10:20:48 AM
Rank: Administration
Groups: Administration , Member

Joined: 9/10/2009
Posts: 320
Points: 778
Location: US
mrodsilva wrote:

I forgot to mention that our devices can't use Flex or Java. They have a simple processor and run c++ inside.


I'll emulate devices, and the application will not depend on them


mrodsilva wrote:

Devices <---> Windows Service <---> ???? WebORB ???? <---> Flex App (through WDMF)


got it.

estimated time - a first part of the next week
mrodsilva
Posted: Thursday, May 26, 2011 10:51:51 AM
Rank: Apprentice Coder
Groups: Member

Joined: 5/25/2011
Posts: 21
Points: 69
Ok, cool.

I'll wait for you example.

Thanks
Cyril
Posted: Wednesday, June 01, 2011 5:59:47 PM
Rank: Administration
Groups: Administration , Member

Joined: 9/10/2009
Posts: 320
Points: 778
Location: US
Hi,

you will find an example there


Thanks.
mrodsilva
Posted: Thursday, July 07, 2011 9:14:44 AM
Rank: Apprentice Coder
Groups: Member

Joined: 5/25/2011
Posts: 21
Points: 69
Hi,

Thanks. Sorry to take so long to reply.

Marcelo
mrodsilva
Posted: Wednesday, October 26, 2011 12:22:16 PM
Rank: Apprentice Coder
Groups: Member

Joined: 5/25/2011
Posts: 21
Points: 69
Cyril wrote:
Hi,

you will find an example there


Thanks.


Hi Cyril,

I'm trying to run your sample but it is not working. I can compile both projects. I install the messaging application under WebORB's console (version 4.4). When I run the GPSTrackerService nothing happens. The Windows Service shows as started but nothing goes on.

What am I doing wrong??

Regards,
Marcelo
Cyril
Posted: Friday, October 28, 2011 10:59:03 AM
Rank: Administration
Groups: Administration , Member

Joined: 9/10/2009
Posts: 320
Points: 778
Location: US
Ok, the problem is solved. The weborb.config file has to be placed to the service build folder
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v4.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.139 seconds.