Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Data Services
Viewing all articles
Browse latest Browse all 58696

Updating ManagedRemoting Entity from Server

$
0
0

I have a pretty simple task that I need to complete, but it's taken up several days trying to find out how to do it because I can't find any documentation on managed remoting on the server side...

 

Basically, I have setup Managed Remoting using a flex client, and it works flawlessly, but I need the server to be able to manipulate the managed entities as well.  I want a thread to run on the server that updates the entites in real time based upon a feed coming in from an external server.  If I communicate with the managed remoting service class directly from another java class it persists fine, but it does not update the clients because I am unable to figure out how to pass in a ManagedRemotingMessage to the Managed Remoting service.

 

Can anyone explain how I can tell my MR service that an entity with ID x needs to commit a change to property y?  It seems like a fairly simple task, and I've tried everything I can find thus far, but nothing seems to get the job done...

 

my server setup is very simple, just a few entity classes, a hibernate DAO, and a class annotated as such:

 

@ManagedRemoteService(managedEntities = {com.petzent.agentmonitor.objects.Agent.class}, destinationId="agentService", channels = { "RTMP" })

 

(and then the appropriate CRUD annotations on the various methods in the class, of course)

 

 

As far as how to interface with that class from another Java class, I won't even bother posting my code because I don't even know where to begin...


Viewing all articles
Browse latest Browse all 58696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>