to create a multi user Flex application, you can take advantage of one
of the features of LiveCycle Data Services: the Messaging Services. The
Messaging Services allows you to connect your Flex application to a
message destination and send/receive messages to it from other clients.
You use the JMS adapter to subscribe to JMS queues configured on an
implementation of the Java Message Service. The Java Message Service
(JMS) API is a Java Message Oriented Middleware API for sending
messages between two or more clients.
The LiveCycle Data Services
2.5.1 uses the JMS message adapter to communicate with messaging
systems and to transport messages to and from a destination over a
message channel. A destination specifies an id attribute to provide a
public name for clients to use when sending messages.
The Flex application can use as message channel one of the protocol
supported by the Flash Player: Action Message Format (AMF3), Realtime
Message Protocol (RTMP), and XMLSocket.
When working with the
Messaging Services you have to configure message destinations, apply
security to message destinations, and modify logging settings. You
configure the JMS adapter individually for the destinations that use
One of the limit if the Messagin Services of Livecycle Data Services
is the inability to define a username and password in the configuration
file to pass them to the JMS.
I discovered that in BlazeDS there is a new JMSAdapter that allows you to set the connection-level credentials passing the username and password. The
new connection-credentials XML node sets the the username and password
used while creating the JMS connection.As the documentation said, use
only if JMS connection level authentication is being used :
For many developers this new features supported by the JMSAdapter
could be very appreciated and could solve problems in many different
scenarios where the authentication is required in JMS.
From the Adobe Livecycle Data Services documentation :
Messaging systems let separate applications communicate asynchronously
as peers by passing packets of data called messages back and forth
through a message service. A message usually consists of a header and a
body. The header contains an identifier and routing information. The
body contains application data.
Applications that send messages are called producers. Applications that
receive messages are called consumers. In most messaging systems,
producers and consumers do not need to know anything about each other.
Producers send messages to specific message destinations, and the
message service routes the messages to the appropriate consumers.
A message channel connects producers and consumers to message
destinations. To send messages over a particular channel, an
application connects to the message endpoint associated with the
message channel. A message endpoint is the code responsible for
encoding data into messages, and decoding messages into a format that
consumers can use. In some messaging systems, an endpoint can pass
decoded messages to a message broker, which routes them to appropriate
A message adapter is code that acts as a conduit between the LiveCycle
Data Services Message Service and other messaging systems. For example,
the Java Message Service (JMS) adapter is a message adapter that lets
Flex applications subscribe to JMS topics and queues. This adapter lets
a pure Java JMS message application share the same destination as a
Flex application: Java applications can publish messages to LiveCycle
Data Services destinations, and Java code can respond to messages that
Flex applications send.
About Marco Casario Marco Casario is CEO of Comtaste, a company devoted to develop Rich Internet Applications on the Web and for mobile devices.
He collaborates intensively with Adobe Italy as a speaker at conferences and as a consultant for Flash, Flex, and Flash Lite.
Learn more about Marco Casario at his blog http://casario.blogs.com. In 2005, Marco has founded Comtaste, a company dedicated to exploring new frontiers in Rich Internet Applications and the convergence between the web and the world of mobile devices — MobyMobile and YouThru are representative of their recent work. He is founder of the biggest worldwide Flash Lite User Group and of www.augitaly.com, a reference point for the Italian community of Adobe users, in which he carries out the role of Channel Manager for the section dedicated to Flex.
DXWorldEXPO LLC announced today that ICOHOLDER named "Media Sponsor" of Miami Blockchain Event by FinTechEXPO. ICOHOLDER gives detailed information and help the community to invest in the trusty projects.
Miami Blockchain Event by FinTechEXPO has opened its Call for Papers. Th...
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO and will feature technical sessions from a rock star conference faculty and the leading industry players in the world.
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to...
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need t...
Disruption, Innovation, Artificial Intelligence and Machine Learning, Leadership and Management hear these words all day every day... lofty goals but how do we make it real? Add to that, that simply put, people don't like change. But what if we could implement and utilize these e...
Your registrations includes: Golden Pass Delegates will receive full conference access on October 20-22, 2008 including: Lunch and Coffee Breaks, Collectible Bag and Archives of all sessions on DVD. Includes access to all Conference Sessions including the Technical Sessions, Exhibits, Keynotes, Vendor Technology Presentations, and Power Panels.
AJAXWorld offers the undisputed best platform to position your company as a leading vendor in the fast-emerging marketplace for AJAX and Enterprise Web 2.0.
Who Should Attend?
• CTOs & VPs of Engineering
• Directors of Technology
• Sr. User Interface Architects
• Front-End Engineers
• VCs & Industry Analysts
• Directors of Business Development
• Software Engineers
• Senior Architects
• Application Programmers & Software Developers
• Project Managers
• Web Programmers & Designers
• Companies & Organizations that need to stay in front of the latest Web technology
AJAXWorld Security Bootcamp
Introducing at AJAXWorld RIA Conference 2008 West the world's first-ever full, one-day immersive "AJAX Security Bootcamp" - led by one of the world's foremost AJAX security experts and teachers, HP's Billy Hoffman.