FLEX WITH BLAZEDS/LCDS

What are the roles and responsibilities of flex developer in blazeds application?
Actually i am a flex developer by profession and having 2.5 years of experience of developing client side flex application with backend support of php using AMFPHP.Till now,our team member(only flex) interact with the backend team members(php members) and got the data as they want.
But now i want to connect flex client to java using BLAZEDS OR LCDS ES , so i want to know that is the procedure will remains the same that flex developers now interact with the backend java developers as they did with php developers or flex developer have to manage the server of their own and write java code themselves.
Thank you in advance.........

It is usually common for teams with multiple developers to have a division of responsibilities between back-end (Java, PHP, .NET, etc) developers and front-end (HTML, Flex, Silverlight, etc.) developers. This makes it easier to divide up the work on a clear "boarder," so both sides can work in tandem with little interference.
That being said, it may be beneficial for front-end developers to have a little bit of flexibility to make minor changes to the back end if the project is not clearly defined ahead of time. And as always, the feedback loop between designers, front-end developers, and back-end developers, should be kept as short as possible to achieve the greatest flexibility.
Disclaimer: These are my own opinions based on how I work with my own team. Results may vary.

Similar Messages

  • [svn:bz-trunk] 15163: Bug: BLZ-507 - JGroups 2.9. 0 GA not compatible with BlazeDS/LCDS

    Revision: 15163
    Revision: 15163
    Author:   [email protected]
    Date:     2010-03-31 06:31:12 -0700 (Wed, 31 Mar 2010)
    Log Message:
    Bug: BLZ-507 - JGroups 2.9.0 GA not compatible with BlazeDS/LCDS
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Tweaked the clustering code to work with JGroups 2.9.0 while maintaining backwards compatibility with earlier versions of JGroups.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-507
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/cluster/ClusterNode.java
        blazeds/trunk/modules/core/src/flex/messaging/cluster/JGroupsCluster.java

  • My pass of information for the people looking to use Flex with BlazeDS

    I when approaching Flex Data Services (BlazeDS and Live Cycle
    Data services ).. I noticed there was a huge gap of understanding.
    So here are a few things I noticed which may help:
    BlazeDS is a java based meaning it needs a Java program such
    as Tomcat or JBoss to run..
    By standard blazeDS comes with tomcat that will run on your
    computer… And LCDS (live cycle data service) comes with JRun
    (for local development use only)…
    Remoting needs you to create a Java classes in order to pass
    data, for example from a database… Now this side of things is
    quite JAVA and therefore you’re probably going to need to do
    a lot of Java programming.
    However the messaging side of BlazeDS works well with
    flex… If this is what you’re looking into, you should
    concentrate on the produceer and consumer mxml objects:
    <producer/>
    <consumer/>
    At first glance, these two seem stupidly simple and
    un-powerful, but as you start to understand how to use them between
    multiple applications, you will see how powerful they are.
    And the config files...!
    To get you pointed in the correct directions, review this
    blog and focus on the tutorial section:
    http://www.flexlive.net/?cat=6
    Also remember that before live cycle, it was Flex Data
    Services, try searching for some tutorials or learning materials on
    that.
    And also if your new to all this start with BlazeDS as it
    seems more user friendly. Its just like using a restricted version
    of LCDS. But works very much the same.!
    Hope this helps, JC

    Thanks prasoon.
    I only had a few mins to write it, was in work lol.. What
    helped you from that blurb, if you don't mind me asking?
    JC

  • Flex with Blazeds

    Hi,
    I am new to flex and blazeds.
    Can you please suggest the best links for blazeds.
    I have one query. how i can submit the field values to the backend system with blazeds?
    Please provide any sample links.
    Thanks in Advance.

    try this link:
    http://codeofdoom.com/wordpress/2009/02/01/blazeds-with-remote-objects-example/

  • SAML and Flex with BlazeDS

    We're trying to set up a SAML integration with our Flex/BlazeDS app.  It is not going well.  By not going well I mean we can't figure out how to get the @#%@# thing to work.  We're very experienced with Flex, REST, SOAP, etc. but SAML is something we can't get a handle on. 
    Does anyone have ANY suggestions, how-to-guides, etc. that could lead us in the right direction? 
    TIA

    You cant really replace Struts with Flex, maybe a view part
    , thats about is, you still need backend processioning
    logic,all that you are asking is difficult to answer is one reply,
    IMHO, best thing you can do is to dive into following URLs :
    http://www.adobe.com/devnet/flex/
    http://livedocs.adobe.com/flex/3/html/help.html?content=Part2_DevApps_1.html
    http://livedocs.adobe.com/blazeds/1/blazeds_devguide/
    http://livedocs.adobe.com/flex/3/html/help.html?content=Part6_ProgAS_1.html
    and of course your best friend :
    http://livedocs.adobe.com/flex/3/langref/index.html

  • RIA out of Flex with BlazeDS application

    I have developed Flex application that runs Java code on the
    server via BlazeDS Tomcat fork server. I had to do it that way.
    Then, I asked myself, how is it possible to create a RIA without
    the need for the user to install the BlazeDS server ? Just one
    simple executable that should know how to contact the Java
    servlets...

    You could supply your code ready to run including tomcat or
    jetty as the application server?
    Then make a installed or give deployment instructions. This
    depends on the sort of application. If you tell a bit more about it
    (is it air or web based) and how you want people to work with it
    then I can give you better ideas (hopefullt) :)
    Ries

  • Flex blazeds/lcds AMF serialization for transient variables

    I am using LCDS and Flex. When I am sending an object from java to Flex, I donot want to send all  the properties. As far as I know,  if you do not want to serialize make a  variable transient.
    eg.
    private transient Date birthDate;
    public Date getBirthDate(){ 
        return birthDate;
    public void setBirthDate(Date val){
        birthDate = val;
        //Some code here.
    Now the serialized object should not have birthDate in it.  But When I  see the AMF logs , the object has the birthDate with value in it.
    Does serialization looks into code and checks the private variable is  transient.( I don't understand how it has access to private property. I  am little confused.)
    Should I mark variable as public. Then getters and setters make no sense  and moreover I write some code in setter method. So I need setter.
    Questions:
    I read in a book(Enterprise flex with blazeds by Brain Telintelo,  Chapter 15) that out of box Blazeds only serializes fileds that have  matching getters and setters. If this is the case, will blazeds even  bothers to check private property as transient.
    Can some body please explain how normal serializtion( not amf  serializtion ) takes place and keeps track of private transient  variables even though they have public getters and setters.
    How do I make a java variable not serialize in Flex/LCDS/BlazeDS environment.
    I have 50-60 variables in objects and 4 or 5 varibales should not be seriablezed. So writing custion Serializer in such a large objects is a big pain. And another disadvantage I see is hibernate will not be able to use this object if I write my own serializer.

    Martin
    Is it possible to post your findings as well ? 
    I'm encountering the same concerns with AMF and could use some help. 
    Ideally, can you assist with the following:
    1.  convert actionscript object graph to amf bytearray
    2.  convert amf bytearray to actionscript object graph
    3.  convert java object graph to amf bytearray
    4.  convert amf byte array to java object graph 
    Thanks,
    -Jonathan

  • Suggestion for good book/reference of flex and blazeDS

    hi...been developing the client side with flex for some time and now getting into server side and found some stuff from adobe and other short articles about blaze and servers but really looking for a good book/reference...thought i'd buy a book called enterprise flex with blazeds by brian someone....worst IT book i've ever read...any ideas would be great

    Update:
    Ok...I finally figured out that by replacing the tokens in the services-config.xml file with the physical address of the server everything works.
    Anyway...this means the application needs to be compiled everytime it is moved to a new server or even a different folder on the same server for that matter. Is there any way to pass the {server.name}, {server.port} and {context.root} tokens to the application at runtime for messaging?
    Thanks,

  • Flex and BlazeDS Compile for Deployement

    Hi,
    I've been following the Flex + BlazeDS tutorial on the Message Service from adobe to start learning working with blazeds. Everything worked out great on the local server of course but I got stuck when it came to moving the files to a remote server. I've looked around quite a lot and found out it's because the compiler feeds the services-config.xml upon compile and at lease in my case won't take and external file. The solution everyone has been posting on the net is writing the channels in actionscript within flex and feedin it the valid endpoint that would be found in the xml configuration file. That's all nice and dandy but everyone has been talking and showing examples of this being done for RemoteObject and I haven't managed to find any examples for Messaging.
    Can anyone help me out with an example on how to deploy my application to a server? (either by coding the channels in AS or otherwise) The application itself is pretty basic...
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="200" minHeight="480" creationComplete="consumer.subscribe()" width="250" currentState="EnterName">
    <fx:Script>
      <![CDATA[
       import mx.messaging.events.MessageEvent;
       import spark.events.TextOperationEvent;
      ]]>
    </fx:Script>
    <s:states>
      <s:State name="Chat"/>
      <s:State name="EnterName"/>
    </s:states>
    <fx:Declarations>
      <s:Producer id="producer" destination="chat"/>
      <s:Consumer id="consumer" destination="chat" message="messageHandler(event.message)"/>
    </fx:Declarations>
    <fx:Script>
      <![CDATA[
       import mx.messaging.messages.AsyncMessage;
       import mx.messaging.messages.IMessage;
       private function send():void{
        var message:IMessage = new AsyncMessage();
        message.body.chatMessage = user.text + ":" + " " + msg.text;
        producer.send(message);
        msg.text = "";
       private function messageHandler(message:IMessage):void{
        log.text += message.body.chatMessage + "\n";
      ]]>
    </fx:Script>
    <s:Panel title="Chat" width="100%" height="100%">
      <s:TextArea id="log" height="377" x="10" y="10" width="228" includeIn="Chat"/>
      <mx:ControlBar width="246" height="52" x="1" y="395" includeIn="Chat">
       <s:TextInput id="msg" width="100%" enter="send()"/>
       <s:Button label="Send B" click="send()"/>
       </mx:ControlBar>
      <s:TextInput includeIn="EnterName" x="60" y="177" id="user" />
      <s:Button includeIn="EnterName" x="87" y="207" label="Start Chat" id="chat" click="chat_clickHandler(event)"/>
      <s:Label includeIn="EnterName" x="57" y="157" text="Please Enter Your Name"/>
      </s:Panel>
    </s:Applicatio>
    And besides that in the messaging-config.xml file on the server a destination with the id="chat" is created and that's it.
    Any help or pointing in the right direction will be greatly appreciated.
    Thank you,
    Nick

    Update:
    Ok...I finally figured out that by replacing the tokens in the services-config.xml file with the physical address of the server everything works.
    Anyway...this means the application needs to be compiled everytime it is moved to a new server or even a different folder on the same server for that matter. Is there any way to pass the {server.name}, {server.port} and {context.root} tokens to the application at runtime for messaging?
    Thanks,

  • Flex with Jboss

    Hi Friends
    I'm developing Flex with java using Blaze-DS under the
    Spring MVC. I've problem in using Jboss, Based on BlazeDS
    Installation guide
    http://opensource.adobe.com/wiki/display/blazeds/Installation+Guide
    configure the jboss with Flex.There is no problem with Flex running
    in Jboss but it couldn't establish connection and business logic
    with java, The Jboss server couldn't through any errors. These same
    war file run under the tomcat server. So please help me to solve
    this problem.
    Thanks&Regrads
    Prakasam

    I don't have any experience with Spring MVC but I was using
    JBoss with Blaze-DS without a problem.
    so my next question is, can you make a echo to work??
    eg, make a function that returns the input string back to the
    flex client.
    Ries

  • Flex 3 and LCDS Integration

    Hello,
    I am trying to build an application which needs remoting. I
    was trying to implement this using Flex 3 and LCDS.
    I have some experience with flex, but I am pretty new to
    LCDS. Can any one please direct me to a good tutorial on getting a
    web app to work with flex and lcds? The documentation on Adobe
    website doesn't help much.
    Thanks in advance
    Cheers
    Phanindra

    The documentation should help,
    why not start with something simple with Blaze-DS??
    Ries

  • Tomcat shutdowing when remote object is calling secondtime from flex to blazeds

    Hi All,
    I am new to flex and started working on that.now i called one remote object from flex through blazeds.its working fine but when i call second time tomcat is  shutdowing .again if i start tomcat it is working fine.
    what is the problem does any one helps?
    sudheer

    Thanks for the tip Joe.
    It's not quite what I was looking for, but it gave me some ideas.
    The blog post describes how to create your own server to handle the file stream. With BlazeDS & Java EE app server there's no need to implement the low level stuff.
    One option would be to read the data on Flex side in chunks and make a request to send each chunk at a time, but I don't know whether this helps at all. Might just slow down the network.
    Another option is to write a custom adapter for BlazeDS endpoint, but I don't know enough details on this to say is it possible or not.
    Third option is to use regular servlet code and Apache Commons FileUpload module.
    Still interested hearing opinions from people working with BlazeDS.

  • Is it possible to pass data from Flex to BlazeDS/POJO as a stream?

    Is it possible to make a remote call to a remote Java object that uses BlazeDS so that the data is gotten as a stream (InputStream)? For example when uploading a file, it would require less memory.
    The BlazeDS examples about file upload that I've seen read the data from file to client memory first with FileReference#load() and after that pass it to the server as ByteArray. By doing so, both client and server need to load the whole file data into memory before it can be passed/processed.
    Thanks.

    Thanks for the tip Joe.
    It's not quite what I was looking for, but it gave me some ideas.
    The blog post describes how to create your own server to handle the file stream. With BlazeDS & Java EE app server there's no need to implement the low level stuff.
    One option would be to read the data on Flex side in chunks and make a request to send each chunk at a time, but I don't know whether this helps at all. Might just slow down the network.
    Another option is to write a custom adapter for BlazeDS endpoint, but I don't know enough details on this to say is it possible or not.
    Third option is to use regular servlet code and Apache Commons FileUpload module.
    Still interested hearing opinions from people working with BlazeDS.

  • Flex with ADF

    Hi,
    I'm new to both flex and adf technologies. It would be helpful if anyone brief the possibility of using flex with ADF.
    And also it'll be helpful if someone helps out with any links of tutorials or documentation regarding to use flex with ADF.
    Thanks in advance,
    Parameswari
    Edited by: user12952392 on May 24, 2010 6:13 AM

    Hi Shay,
    Thanks for the reply.
    In our case we will be getting pre-designed Flex UI pages with separate components. We have to logic in Business Layer to do the CRUD operations with displaying of Graphs.
    Just read Edwin Biemond [http://biemond.blogspot.com/2008/07/crud-operations-in-flex-with-adf-bc.html] posts on the same. (integration using Adobe livecycle or blazeDS).
    But still not sure how to manage and maintain this whole stack for an application having 50+ pages.
    So bit curious how to start the same.
    I have posted the same in [http://forums.adobe.com/thread/646720?tstart=0] Flex forum also. Hope to get the reply soon
    Thanks.

  • Error: "Cannot access the web server" with BlazeDS Turnkey

    Help! I'm new to Flex and BlazeDS and Eclipse.  I was trying to setup a Flex Project using a BlazeDS/Tomcat server running from Eclipse on Windows XP per the example in flexbandit.com/archives/55#comment-269 and in (www.infoq.com/articles/blazeds-intro).   I am NOT using the Eclipse Flex plug-in.  I'm using Flex Builder for the Flex code.
    Here's what I've done:
    I installed BlazeDS and tested http://localhost:8400 - That worked.
    I setup Tomcat in Eclipse.  -  That seemed to work.
    I created a Dynamic Web Project in Eclipse - That seemed to work.
    I created the bare-bones BlazeDS Configuration under the Eclipse project and then created a basic HelloWorld java class.
    I added the destination in the “remoting-config.xml” file found in the c:/projects/workspace/ReportGenTool/WebContent/WEB-INF/flex” directory:
    <destination id="HelloWorld">   <properties>  <source>HelloWorld</source> </properties> </destination>
    When I started the application server by clicking on the server's green play button in Eclipse and then tried to open localhost:8400/ReportGenTool, I got the 404 error : The requested source (/ReportGenTool/) is not available which according to the instructions is fine.
    Next I created a Flex Project, but when I try to validate the new Flex project configuration, it gives me an error "Cannot access the web server. The server may not be running, or the web root folder or root URL may be invalid."
    When I validated the server was running after setting up the BlazeDs Turnkey, I saw the BlazeDS page.
    Now when I bring up http://localhost:8400 I get:
          Directory Listing for /
          Apache Tomcat/6.0.14
    My eclipse project is named ReportGenTool and I've overwritten the WebContent directory with the META-INF and WEB-INF directories from the BlazeDS installation (C:\blazeds\tomcat\webapps\blazeds).  According to Eclipse the server is running.
    My Flex project is named ReportGenTool and is located in another directory away from the Eclipse project directory.
         My root folder is: C:\Projects\workspace\ReportGenTool\WebContent
         Root URL: is http://localhost:8400/ReportGenTool/
         Context root is: /ReportGenTool/
    Any idea what might be wrong? What didn't I configure that needs to be configured?
    Thanks in advance.

    This is not working because your router has a direct to your web server that is not through the outside interface which is needed for nat to occur, for this to work you need to setup a loopback interface as nat outside and policy route traffic to there for your server traffic
    Bu if your server is internal why do you need nat at all? Can you not use bind with views that might be simpler
    M
    Sent from Cisco Technical Support iPad App

Maybe you are looking for