FDS for server push + client to client
Just want to double check - if I was to create a chat like
app in Flex - where new messages are "pushed" to clients, this
would require FDS.
Using FDS would be the far easiest way to implement a chat
application.
Theoretically you could implement a chat application without
FDS by having each client poll the server for messages for new
messages for that client using HTTPService or WebService.
You can also do "poor man's data push" using a long-lasting
HTTP request - in this pattern each client posts an HTTP request
that it doesn't expect and immediate response to - when the server
has a message for the client is sends the response (perhaps a long
time later). In the client's event handler for the response the
client posts another request (so that the server has a means of
"pushing" data to the client). This is how Blackberry-style email
works in Windows Mobile (in the absence of a proper data push
protocol).
Sean
Neville's Introduction to the Flex Message Service has a good
example of how to write a chat application in FDS.
Graeme Harker's Flex.NET
Blog
Similar Messages
-
Forum label for Server/Client
Mac OS X Server posts frequently end up in the Mac OS X Client forum. Perhaps a link in the Client forum to the Server category could help, or labelling the Client 10.6, 10.5, 10.4, 10.3 and earlier forums "Client" so people don't mispost anything for Server could help prevent posts for Server ending up in Client?
Or perhaps a Server category could be put together with the Mac OS X and related software?
Or perhaps in the Mac OS X support pages, a link to Server category could be added?
Just some suggestions.a brody,
Except for rare exceptions the forum and category names match the actual product marketing name. The server forums are marked as server and we will happily move the occasional post that shows up in the client section when it occurs.
-Eric W. -
I read somewhere that Flex Data Services provides Server-Push
functionality. That is, the server starts a conversation with the
client. It's obvious that, In order to such thing ocurr, there has
to be a persistent connection between server and client.
I've being reading about Data Management Service to learn how
to implement this Server-Push and all I see is about a method
called Fill() that is thriggered from the client and syncronizes
it's data with the server. But it's not server-push
Does it really exist?Hi,
When you create a DataService and fill your collection. The
collection becomes managed. You don't have to call fill again if
there is any change in the data. Server pushs updates to clients
when the client's dataservice is using rtmp channel. It is a live
connection between the server and the client. For example,
you fill(collection, "hqsql", from products where price <
100). If one of the product's price increases, server push a
message to your collection to remove it. If a product's product's
price decrease, it will be added to the collection. The push is
happened based on your fill method.
William Chan -
Using the new Data/Services generation with server push
Have moved my Flex/BlazeDS app (which uses Blaze AMFChannel for request/response messages and StreamingAMFChannel for server push messaging) from Flex Builder 3 to Flash Builder 4. The new Data/Services works fine to generate service classes and value objects for the request/response messages, question is can it provide any help setting up a messaging consumer and value objects for the pushed data?
rick hollandI am so sorry - I meant AirPort Express - not extreme - but it's moot since I missed the point of your post - you want two outputs - and one to not be digital.
For what it's worth - I still think the express might be your best bet.
http://www.apple.com/airportexpress/airtunes.html
It has combined digital/analog out - you plug in one and it switches the output depending on which connection is inserted. I would expect a very short wait until everything accepts digital input - expecially for people who want good sound quality. If you have to go digital to analog outside of the receiver/amp (where it really belongs) - why not let it be the express sitting right next to where you want the second "receiver" to be... -
Server Push pushing data to clients
Need some ideas.
I have been hunting around for info on a simple/clean method
to push data out to clients. Client could be a Java application or maybe an applet. Solution must easily go through firewalls
In either case I want the client to startup, register with the server
and start receiving data. Without further user intervention.
Whatever, scheme is used must be able to deal with network
disconnects.
I have looked at Pushlets, the article was 2 years old and I don't see
any recent postings on Pushlets. So maybe that is not the way to go.
I guess my other choice is JMS. SonicMQ?
Server Push using Netscape?
Or are there other options.
Many thanks for your feedback.
KDHave you considered J2ME.
J2ME and WAP Push can be complementary. but for WAP Push to work the devices or the browsers in the devices have to be WAP 1.2 complaint.
more details can be found at http://devforum.openwave.com
hope this helps.
williams -
Can i use same Server for server side and client??
Hi,
i m developing webservices in java and using two different server for server side and client.
e.g. i m using one tomcat server on a machine to run webservice and again using one more tomcat server on client side at different machine.
and hence it need two tomcat server.
But i want only one server to run webservice and client.
So please help me out...
ThanksHi,
It is always recommended to maintain different servers
REgards,
Ravi. -
How to configure ODI for server and client correct?
Hi forum,
this is my first post and i hope you guys can help me out ...
i
am new to ODI and WLS and in my case ODI need to run on a server where a couple of clients can connect to, work on the same project with their own workspaces and accounts.
The database will be located on the same server.
As far as i understood, i need to install the the ODI Java EE type (not the standalone type) with a WLS ?!
iI already nstalled
JDK 6u41 (x64),
ODI 11g (11.1.1.6, generic),
Oracle DB 11g R2 enterprise and
WebLogic 11g (10.3.6, generic)
on the Server and now i am trying to connect to the ODI repositories from a client with an ODI standalone installation.
I am now trying to insert a Data Source into the physical agemt (not even sure if i need to do this in my case).
Following these instructions (http://docs.oracle.com/cd/E17904_01/integrate.1111/e12643/setup_topology.htm#CHDHJBAD) i get an ODI-26029 error.
Below are some configuration information of the software i installed.
h3. ODI
Installation:
Installationtype: full
Oracle home directory: Oracle_ODI1
Agent name: odi_agent
Agent port: 1987
Repositories/connection:
Master repository user = odim
Work repository user = odiw
Work repository name = WORKREP1
JDBC connection string = jdbc:oracle:thin:@localhost:1521:orcl
*odim and odiw have been created manually with grant options on connect and resource
Physical agent (with no datasource defined):
Name = OracleDIAgent
Host = localhost
Webapplicationcontext = oraclediagent
Port = 8001
Protocol = http
Physical data server:
Name = oracle_db_11gr2
User = odiw
JDBC connection string = jdbc:oracle:thin:@localhost:1521:orcl
Physical schema:
Schema (schema) = ODIW
Schema (work schema) = ODIW
Context = aMIS_dev
Logical schema = oracle_db_11gr2
Logiacal schema
Context = aMIS_dev
Physical schema = oracle_db_11gr2.ODIW
Context:
Name = aMIS_dev
Logical agent = OracleDIAgent
Physical agent = OracleDIAgent
Logical schema = oracle_db_11gr2
Physical schema = oracle_db_11gr2.ODIW
Logical schema:
Name = oracle_db_11gr2
Context = aMIS_dev
Physical schema = oracle_db_11gr2.ODIW
Logical agent
Name = OracleDIAgent
Context = aMIS_dev
Physical Agent = OracleDIAgent
h3. Oracle DB 11g R2
Installation
Global database name = orcl.otera.local
SID = orcl
h3. WebLogic 11g:
+1. generate new basic WebLogic Server domain+
Domainname = ODI-DOMAIN
Admin name = weblogic
Admin server name = AdminServer
Listening port = 7001
Managed server name = odi_server1
Managed server port = 8001
+2. extend an existing WebLogic domain+
Choose extension source: ODI - Agent, ODI - Agent Libraries, Oracle JRF
Window: Configure JDBC compontent schema:
Driver = Oracle's Driver (Thin) for Instance connection; Versions: 9.0.1 and higher
Schema owner = odim
DBMS/Service = orcl
Hostname = localhost
Port = 1521
Client name = LocalODIMachine
Listening address of the accountmanager = localhost
Listening port of the accountmanager = 5556
Really hope you guys can help me quick.
Thanks in advanceHi DecaXD,
thank you for quick response :)
on the client site i tried to establish the connection to the work repository with the following connection information:
Login information*:
Oracle Data Integrator Connection
Login name = odi_server
User = SUPERVISOR
Database connection (Master Repository):
User = odim
URL = jdbc:oracle:thin:@<server ip>:1521:orcl
A work repository could be found, but the connection failed! (?!)
" ODI-26130: Connection to the repository failed.
oracle.odi.core.config.NotWorkRepositorySchemaException: ODI-10147: Repository type mismatches.
Could not get JDBC Connection; nested exception is java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Invalid SQL-Query for validating the connection (+translated from german into english+) "
my ODI configuration on the server site (loged in as: odiw):
topology tab*:
Physical architecture:
Technology:
Definition:
Dataserver name = oracle_db_11gr2
User = odiw
JDBC-URL = jdbc:oracle:thin:@10.168.178.131:1521:orcl
Datasource:
Agent = OracleDIAgent
JNDI-Name = [DataSourceName]
Agents:
Definition:
Name = OracleDIAgent
Host = <IP of the server>
Port = 8001
Webapplicationcontext = oraclediagent
Datasources:
Dataserver = oracle_db_11gr2
JNDI-Name = [DataSourceName]
Logical architecture:
Technology:
Defintion:
Name = oracle_db_11gr2
Context = aMIS_dev
Physical schema = oracle_db_11gr2.ODIW
Agent:
Name = OracleDIAgent
Context = aMIS_dev
Physical agent = OracleDIAgent
when i test the connection of the data server (topology>physical architecture>technology>oracle>oracle_db_11gr2) with the OracleDIAgent i receive the
" ODI-26039: Connection failed.
oracle.odi.runtime.agent.invocation.InvocationException: javax.naming.NameNotFoundException: Unable to resolve '[DataSourceName]'. Resolved ''; remaining name '[DataSourceName]' "
since testing the connection on the server site failed in first place, i couldn't test the connection on the client site. -
Certificates for Server and Client to install . Pls advice
I am doing File --XI --- File scenario with FTPS.
Currently consider only File -- XI part now.
We go point by point: for this link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/964f67ec-0701-0010-bd88-f995abf4e1fc
Blog says:
1. In the visual admin of XI make Server Public and Private keys.
2. In the visual admin of XI make Client Public and Private keys.
Suppose File Sender System is Server and XI is Client
Questions:
a. Do I need make Server Public and Private keys In the visual admin of XI ?
b. Do I need make Client Public and Private keys In the visual admin of XI ?
Generic Rule -- system1 sends its public key to system2 and similarly system2 sends its public key to system1.
c. For Export keys and Import keys as given in blog
-- I am not able to get this part given from Page 38 - 41 of this blog.
Pls advice me
Regards
Edited by: Henry A on Mar 3, 2008 1:07 PM
Edited by: Henry A on Mar 3, 2008 1:08 PM
Edited by: Henry A on Mar 3, 2008 1:54 PMHi DecaXD,
thank you for quick response :)
on the client site i tried to establish the connection to the work repository with the following connection information:
Login information*:
Oracle Data Integrator Connection
Login name = odi_server
User = SUPERVISOR
Database connection (Master Repository):
User = odim
URL = jdbc:oracle:thin:@<server ip>:1521:orcl
A work repository could be found, but the connection failed! (?!)
" ODI-26130: Connection to the repository failed.
oracle.odi.core.config.NotWorkRepositorySchemaException: ODI-10147: Repository type mismatches.
Could not get JDBC Connection; nested exception is java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Invalid SQL-Query for validating the connection (+translated from german into english+) "
my ODI configuration on the server site (loged in as: odiw):
topology tab*:
Physical architecture:
Technology:
Definition:
Dataserver name = oracle_db_11gr2
User = odiw
JDBC-URL = jdbc:oracle:thin:@10.168.178.131:1521:orcl
Datasource:
Agent = OracleDIAgent
JNDI-Name = [DataSourceName]
Agents:
Definition:
Name = OracleDIAgent
Host = <IP of the server>
Port = 8001
Webapplicationcontext = oraclediagent
Datasources:
Dataserver = oracle_db_11gr2
JNDI-Name = [DataSourceName]
Logical architecture:
Technology:
Defintion:
Name = oracle_db_11gr2
Context = aMIS_dev
Physical schema = oracle_db_11gr2.ODIW
Agent:
Name = OracleDIAgent
Context = aMIS_dev
Physical agent = OracleDIAgent
when i test the connection of the data server (topology>physical architecture>technology>oracle>oracle_db_11gr2) with the OracleDIAgent i receive the
" ODI-26039: Connection failed.
oracle.odi.runtime.agent.invocation.InvocationException: javax.naming.NameNotFoundException: Unable to resolve '[DataSourceName]'. Resolved ''; remaining name '[DataSourceName]' "
since testing the connection on the server site failed in first place, i couldn't test the connection on the client site. -
I need code example for server act as client and vice versa
Hi all,
I want code example for performing both server and clients using RMI. I mean Server will act as client and client will act as server. So a single program will act as both client and server .
Please give example, it will helpful to complete my project. I am struggling in this stage. Its like peer to peer action.
Thanks & Regards
R.Ragupathi1. The tutorial shows you how to do cleint/server.
2. Search on the topic "callback" to see how cleint and server roles can be reversed. -
Custom protocol handler for Server and Client
Hi there,
I have been reading about "A New Era for Java Protocol Handlers" from http://java.sun.com/developer/onlineTraining/protocolhandlers/ . I would like to redesign my existing codes to suit this architecture.
The article mentioned about write client side application. I am wondering whether it will be possible to use the same architecture for server side as well ?
If it is possible, it will be the very kind of you all to guide me to the right direction. Thank you in advance.Thanks for your input. Yeah, the article has been there for quite sometimes. That's why I am a bit sceptical about using it. The strange thing is that there has not been any updates about this topic since then (searched in google and not many web pages are mentioning this thing). I am wondering whether it is a good choice to change the code or not.
-
When pushing the CCM client, the site information does not appear for hours.
When pushing the CCM client, the site information takes hours to update.
Is there a way to force the client and SCCM to talk sooner?
Bill ZHi,
You could examine the logfiles(%windir%\ccm\logs) to see if the client is installed successfully.
ccmsetup.log, client.msi.log,ClientLocation.log, LocationServices.log.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Hi,
Please let me know about Server push and Client pull . When this has to be needed. please explain.
Thanks in advance.google ...
-
Applocker for server as a client
Hi Guys,
I wanted to know the recommendation and Best Practice for Applocker where Windows server 2012 R2 is the Client and not windows 7 as we have windows 7 client as applocker but i want to apply applocker for server as a Client
Please help
Thank you
Viraj
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.Hi Viraj,
>>I wanted to know the recommendation and Best Practice for Applocker where Windows server 2012 R2 is the Client and not windows 7 as we have windows 7 client as applocker but i want to apply applocker for server as a Client
This depends on what we want to achieve but not if the operating system is a server or workstation. However, for Windows Server 2012/R2 or Windows 8/8.1, there are added functions for Applocker.
In Windows Server 2008 R2 and Windows 7, we can manage four types of files: executable (.exe), Windows Installer (.msi and .msp), script (.bat, .cmd, .js, .ps1, and .vbs), and DLL (.dll and .ocx). Each of these file types is managed in
its own rule collection.
In Windows Server 2012 and Windows 8, in addition to the file types, we can manage .mst and .appx files with AppLocker.
Regarding Applocker and its rule behavior, the following articles can be referred to for more information.
AppLocker: Frequently Asked Questions
http://technet.microsoft.com/en-us/library/ee619725(v=WS.10).aspx
AppLocker Overview
http://technet.microsoft.com/library/hh831440.aspx
Understanding AppLocker Rules
http://technet.microsoft.com/en-us/library/dd759068.aspx
Best regards,
Frank Shen -
[Server 2008R2] Filter event logs for logged in users from clients on domain
Hi All,
I am looking for a script which can be run on a domain controller to check which user accounts logged in on the domain. I am looking for both the username and client. Reason why I need this is to check where service accounts are used.
Thanks.
Kind regards,
Bart
Bart Timmermans | Consultant at inovativ
Follow me @
My Blog | Linkedin |
Twitter
Please mark as Answer, if my post answers your Question. Vote as Helpful, if it is helpful to you.Hi Bart,
To parse the event log, you can refer to the cmdlet "Get-WinEvent", and how to use this cmdlet to parse event log, please check this article, you can also add the "-computername" to query event log from remote computers:
Use PowerShell Cmdlet to Filter Event Log for Easy Parsing
To monitor the logon history, please check this function to start:
function Get-Win7LogonHistory {
$logons = Get-EventLog Security -AsBaseObject -InstanceId 4624,4647 |
Where-Object { ($_.InstanceId -eq 4647) -or (($_.InstanceId -eq 4624) -and ($_.Message -match "Logon Type:\s+2")) -or (($_.InstanceId -eq 4624) -and ($_.Message -match "Logon Type:\s+10")) }
$poweroffs = Get-EventLog System -AsBaseObject -InstanceId 41
$events = $logons + $poweroffs | Sort-Object TimeGenerated
if ($events) {
foreach($event in $events) {
# Parse logon data from the Event.
if ($event.InstanceId -eq 4624) {
# A user logged on.
$action = 'logon'
$event.Message -match "Logon Type:\s+(\d+)" | Out-Null
$logonTypeNum = $matches[1]
# Determine logon type.
if ($logonTypeNum -eq 2) {
$logonType = 'console'
} elseif ($logonTypeNum -eq 10) {
$logonType = 'remote'
} else {
$logonType = 'other'
# Determine user.
if ($event.message -match "New Logon:\s*Security ID:\s*.*\s*Account Name:\s*(\w+)") {
$user = $matches[1]
} else {
$index = $event.index
Write-Warning "Unable to parse Security log Event. Malformed entry? Index: $index"
} elseif ($event.InstanceId -eq 4647) {
# A user logged off.
$action = 'logoff'
$logonType = $null
# Determine user.
if ($event.message -match "Subject:\s*Security ID:\s*.*\s*Account Name:\s*(\w+)") {
$user = $matches[1]
} else {
$index = $event.index
Write-Warning "Unable to parse Security log Event. Malformed entry? Index: $index"
} elseif ($event.InstanceId -eq 41) {
# The computer crashed.
$action = 'logoff'
$logonType = $null
$user = '*'
# As long as we managed to parse the Event, print output.
if ($user) {
$timeStamp = Get-Date $event.TimeGenerated
$output = New-Object -Type PSCustomObject
Add-Member -MemberType NoteProperty -Name 'UserName' -Value $user -InputObject $output
Add-Member -MemberType NoteProperty -Name 'ComputerName' -Value $env:computername -InputObject $output
Add-Member -MemberType NoteProperty -Name 'Action' -Value $action -InputObject $output
Add-Member -MemberType NoteProperty -Name 'LogonType' -Value $logonType -InputObject $output
Add-Member -MemberType NoteProperty -Name 'TimeStamp' -Value $timeStamp -InputObject $output
Write-Output $output
} else {
Write-Host "No recent logon/logoff events."
Get-Win7LogonHistory
Refer to:
https://github.com/pdxcat/Get-LogonHistory/blob/master/Get-LogonHistory.ps1
If there is anything else regarding this issue, please feel free to post back.
If you have any feedback on our support, please click here.
Best Regards,
Anna Wang
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Server settings for iCal push?
How to get iCal to push from server to computers running os x 10.6?
You need to use the search function for this question in this forum. There are many many threads on how to get this running.
First - download and read all the Apple SLS server docs.
Second - run by Barnes and Noble and pick up a copy of SLS - Developer Reference. (I have no affiliation)
Concerning the iPhone.
Forget it.
'nuff said on that one...
Edit: After reading this again, it appeared to me that I was sounding like an a$$. Sorry. It was not intended that way.
However, the forum does have numerous threads on how to get push working for iCal on 10.6 clients. It does work and it works quite well for me on my network. Pay particular attention to the order you setup your SLS. DNS must function without errors. You must have an OD master to authenticate users against. Mail services must be enabled to use external invites.
Alot of these services rely on web based protocols and it's "push" features are built around XMPP PubSub protocol which means you must have a working iChat server configured and running and web services running. SSL is needed for most of it.
If you are new to SLS (or Mac server in general) it is worth every single penny of $25 for one month of lynda.com. They have a few Mac OS Server lessons in their library.
As for the iphone - please don't start this one again. It doesn't work. There is no built in OTA sync service agent in the iphone OS. Wait for iPhone 4.0 like the rest of us.
Message was edited by: sbkeith
Maybe you are looking for
-
Should I connect to the internet for a first time-machine back-up?
I'm doing a first back-up on my iMac using Time Machine and and external HDD. Does it need to be connected to the internet? Are there pros/cons to either way? Thanks
-
How do i remove tabs on top in v 33.1
i just did a restore firefox action because i had a firefox message stating that could speed up my browser. After doing this, it has defaulted to putting my tabs on top. i really don't like tabs on top and want to change that setting. i read in one f
-
Error in Local J2EE Adapter Engine
Hi All, We configured the J2ee Adapter engine and did the design and Configuration part also.but while testing the scenario it's giving error in SXMB_MONI as *<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>* *- <!-- Call Adapter* --> - <S
-
Error While Connecting to Oracle
Hi All, While Connecting to Oracle through jdbc thin driver, following error is displayed. Please help me in resolving the same. <b>SQL Exception: State : null Message: Io exception: The Network Adapter could not establish the connection Error : 17
-
Can you run something automatically at startup?
I'm not sure if this is for the general public or a developer to answer but my question is: Is it possible to have something (ie. a video or application) automatically run when you startup the ipod touch? What I would like to try and do is give out i