Flex Test Drive Server for Java Developers (Tomcat-based)

I have been working on a Tomcat-based “Flex Test Drive Server”. The Test Drive Server is a minimal and ready-to-use version of Tomcat (currently version 5.5.20) in which the Flex Data Services (version 2.0.1) WAR file has already been deployed and configured along with a variety of tutorials and sample applications. It allows you to get up and running integrating Flex with Java back-ends in a matter of minutes. Download fds-tomcat.zip, expand the file, and run…

The Test Drive Server includes:

  1. An updated version of my 30 minutes Test drive for Java developers
  2. A brand new Flex Data Management Services tutorial
  3. Flex/Spring integration samples running “out-of-the-box”
  4. Flex/Hibernate integration samples running “out-of-the-box”
  5. Flex/JMS integration samples (JMS powered by ActiveMQ) running “out-of-the-box”
  6. A new version of my Real Time Market Data application with advanced messaging features: Java API (no JMS in this version), subtopics, etc.
  7. Collaboration Dashboard

Installation Instructions
  1. Proceed to the Test Drive Server download page
  2. Expand fds-tomcat.zip

    NOTE: The instructions in the documentation assume that you expand fds-tomcat in your root directory. You can expand fds-tomcat anywhere else. Just make sure you adjust the path in the samples and tutorial instructions accordingly.

  3. Open install.htm in the fds-tomcat directory for information on running the Test Drive Server.

Disclaimer: The Test Drive Server is currently not an officially supported product. I’ll of course do my best to answer your questions, and your feedback is very much appreciated. It is intended to allow Java Developers to quickly evaluate or/and get started with Flex in a Java environment.

ERRATA: On page 4 in the tutorial PDF: “On the Java Settings page, specify fdms-tomcat/classes as the Default output folder, and click Finish”. The name of the folder is incorrect: it should read: Specify “fds-tomcat/classes” as the Default output folder (The screen shot is correct).

More Info

The Flex Test Drive Server includes the following products, frameworks, and libraries (All these products are configured to work together “out-of-the-box” when you install the Test Drive Server) :

  • Tomcat 5.5.20
  • Flex Data Services (FDS 2.0.1)
  • JOTM (JTA implementation)

    The Flex Data Management Services leverage the Java Transaction API (JTA). Because
    Tomcat doesn’t provide a JTA implementation, the Test Drive Server includes JOTM (an open source implementation of the Java Transaction API). You don’t need JOTM if your application server implements the full Java EE stack.

  • ActiveMQ (JMS implementation)

    The Flex Data Services integrate with JMS (see integration examples in the Test Drive Server). Because Tomcat doesn’t provide a JMS implementation, we use ActiveMQ (an open-source JMS provider) as part of this Test Drive Server. You don’t need ActiveMQ if your application server implements the full Java EE stack, or if your application doesn’t use JMS.

  • Spring 2

    Flex integrates with the Spring framework through the Flex SpringFactory (see integration examples in the Test Drive Server). Spring 2 is part of the Flex Test Drive Server to demonstrate this Flex/Spring integration.

  • Hibernate 3.2

    Flex integrates with the Hibernate through the Flex HibernateAssembler(see integration examples in the Test Drive Server). Hibernate is part of the Flex Test Drive Server to demonstrate this Flex/Hibernate integration.

  • HSQLDB 1.8

    To allow you to run the tutorial “out-of-the-box” without setting up a database, the Test Drive server
    includes an HSQLDB database. HSQLDB is a lightweight Java RDBMS that is particularly well
    suited to run samples. hsqldb.jar (in [tomcat_root]\webapps\ROOT\WEB-INF\lib) includes both
    the RDBMS engine and the JDBC driver. The HSQLDB database server is automatically started as part of the Tomcat startup process.

Comments

  1. Valery Silaev says:

    Christophe,

    Does integration with Hibernate implemented using native Hiberante API or via EJB3 PersistenceManager?

    If first, is it possible to extend HibernateAssembler to:
    1. Use EJB3 annotations instead of per-entity HBML configurations?
    2. Use PersistenceManager instead of Hibernate Session & Co?

    VS

  2. christophe says:

    Hi Valery,
    We are using the native Hibernate API. But since we provide the source for the HibernateAssembler class, you can modify it to use the EJB3 PersistenceManager and annotations. Let me know if you have any question.
    Christophe

  3. Mark says:

    This is awesome! Thanks for putting this out Christophe. I’ve been wanting to check out Flex and FDS for a while now and this looks like a great way to start.

  4. Eric says:

    Hi, Christophe,
    Nice work! Do you have ant files for these examples; specifically the “Real Time Market Data Application”?
    E.

  5. Herman Jansen says:

    Hello Christophe,
    You just made my day. I was looking for a way to get Flex to talk to JMS. It only took me about 20 minutes to get fds-tomcat running on OS/X Tiger, and running the JMS demo. What a nice way to dive into fds. Thanks a lot.
    Herman.

  6. Nicolas says:

    Hi Christophe,
    I get an exception when I’m trying to start tomcat (in thread main java.lang.NoClassDefFoundError: flexdemodb)

    Any idea?
    cheers!

  7. christophe says:

    Nicolas,
    I haven’t seen this error before. A couple of questions:
    - Do you start Tomcat using “catalina run”?
    - Do you start Tomcat in the fds-tomcat\bin directory?
    - Do you use the JDK 1.5?

  8. Walt Parkman says:

    What a nice foundation for a new life as a Flex developer. Thank you very much. I deployed your Tomcat on a Linux box (wparkman.com:8600) and access it from a different site at http://www.waltparkman.com.
    Can you clue me on how to get data when the .mxml file is not on the same box as the Tomcat server? I put MasterDetail.mxml from Sample #4 on the waltparkman.com site and I want to call the data service on wparkman.com:8600 using
    What do I have to know to make “srv” refer to the remote data service?
    Thanks
    Walt Parkman

  9. Walt Parkman says:

    The

  10. Walt Parkman says:

    Sorry, when I try to put an mx tag in my message it screws it up.
    RemoteObject id=”srv” is the tag I was referring to.
    Thanks

  11. Carl Bourne says:

    Hi Christophe,

    Thanks for a superb demonstration of Flex Data Services.

    We’re currently in the process of re-engineering one of our products and I’m looking at Flex as a candidate.

    Could you explain what would need to be done to get this test drive to run on the Glassfish/Sun Java Application Server Platform?

    Obviously this would provide the full J2EE stack without the need to tie together all of the required components separately.

    Carl

  12. Stephen says:

    I think Nicholas’s problem is because their is whitespace in the Win directory name. I had the same error and moved my install from “My Documents” down to the C:\ directory, and no problems. I do have a question though… how does one set up a http proxy for your example (is their a tag in the flex-config to set) if they are behind a firewall. Thanks for the help.

  13. Gerdt says:

    Thanx Christophe,
    Just what I was looking for for giving a quick demo for my colleagues.
    Unfortunately catalina run doesn’t recognize my environment variables. :(
    I have another tomcat 5.5 running without any problems also with JDK1.5 but no flex
    Thanks for te help.

  14. Gerdt says:

    Never mind,

    after reboot 3 it all worked. Great stuff.

  15. Greg Bluntzer says:

    Thanks for the tutorial. I have several java base webservice running on Tomcat. Assuming that the webservices are on one instance of tomcat and the flash/ flex files would be on another instance, can you point me in the direction of passing a username, password into my webservice inside flex?

  16. VinceK says:

    My workstation isn’t the greatest, but it does have 2 gigs of ram.

    I’ve set
    SET CATALINA_OPTS=-Xmx1536m
    and I still get
    java.lang.OutofMemoryError: Java heap space
    errors.

    Does that seem normal to you?

    jre1.5.0_11 on WinXP SP2.

    It seems like the only way I could even give more ram to java would be to install another 2 gigs and set the /3GB switch.

  17. Peter Jacobsen says:

    Great Tutorial. Just for interest – how is the HSQLDB started by Tomcat? It is populated with “flexdemodb.script”, but I cannot locate the startup command.

    Thanks,
    Peter

  18. VinceK says:

    I found my problem.

    I downloaded the .zip from Adobe http://www.adobe.com/devnet/flex/articles/java_testdrive.html and that was giving me trouble for some reason.

    I downloaded the tar.gz from Adobe and everything worked out of the box. I downloaded the .zip linked on this page and everything worked out of the box.

    Maybe you want to check the .zip at Adobe, or perhaps my download got corruupted.

    Otherwise, great stuff. Thanks.

  19. Vic says:

    Where are your old blogs, like embeding a browser in flex?

    Also, can you help me sign up to beta apollo please?

    thank you!
    .V

  20. edgy says:

    how do i get a flex haboo server

  21. laker2000 says:

    Simply awesome!!!
    I am a Java developer looking for Flex info. and this is exactly what I needed.

  22. Joe Burnett says:

    Christophe, The test drive for tomcat is great! Easy to set up the demos. I have created a secure version using the keytool. I have a certificate warning and an https prefix and the little lock icon in the lower right of my IE browser. It LOOKS like it works, except that the data is not encrypted! Nor does it use TLS! I have another site (.NET web service called from a Flex 2.0 client). It encrypts and uses TLS as expected. What am I missing?

    Merci d’avance,

    Joe Burnett

  23. What in the name of Jerry Brightonhammer was that all about?
    I dont’ know but it doesn’t make sense to me.

  24. Himanshu Bari says:

    Hello,
    We are looking at creating a Tibco RV adapter for Flex Dataservices. Any pointers from anyone having experience in creating custom adapters would be appreciated.
    Also we have a requirement of supporting around 500 concurrent users. Going through the capability evaluation doc for Flex Data Services, and looking at the performance numbers I wasn’t too convinced about FDS would hold up against the kind of volume we are looking at. I would to hear about your opinions

  25. C Cornwell says:

    Running out of the box with JDK 1.5.0_08 on WindowsXP. In Sample1 I change url=”catalog.jsp” to destination=”catalog” as suggested, but after clicking “Get Data” all I see is a “Transferring data from localhost …” message in the status bar with nothing appearing in the DataGrid. There are no related messages in the tomcat log files.

    Any suggestions?

    Thanks,
    Carl

  26. Sohan says:

    Hi Christophe,
    I stumbled upon this blog when I was trying to find a solution to an error i’m encountering while using FDS.
    Basically i’m modifying the Contact Manager FDS sample to use a ready SQL database but just replacing the MSAccess database with SQL DB throws a wierd error.
    I can get my ArrayCollection populated with data from the SQL server but each object is empty.
    My Java wrapper lists all the objects correctly before passing to Flex but somewhere they just break and come in Flex as empty objects.
    This only happens when using an SQL DB and not with an MS Access DB…everything else stays the same.
    The exact error it throws is
    The fill method with parameters ‘[Ljava.lang.Object;’ and destination ‘contacts’ returned null.

    I would appreciate if you can help me. Thanks!

  27. HelloWorld says:

    Peace people

    We love you

  28. beginner says:

    Very nice job.

    The “fdms_tutorial.pdf” in the webapps\ROOT directory is/was INVALUABLE, but, maybe it’s me, I had no idea it was there.

    Just stumbled across it. Why wasn’t it referenced in the README or the install.html?

    Again, it’s probably me…

  29. Marko says:

    Thanks for the resource Christophe.

    Any plan to enhance the tutorial to include what is new with LiveCycle Data Services 2.5?

    Thanks.

  30. Heather says:

    I can’t seem to get this to run on Mac OS 10.4. I get the following error: -bash: catalina: command not found

    Am I missing something simple here?

  31. Yoann says:

    Just to let you know, with the Zip downloaded using the link from adobe page, I had this error :

    C:\Yoann\Flex\30 minutes Tomcat Flex\fds-tomcat\bin>catalina run
    Using CATALINA_BASE: C:\Yoann\Flex\30 minutes Tomcat Flex\fds-tomcat
    Using CATALINA_HOME: C:\Yoann\Flex\30 minutes Tomcat Flex\fds-tomcat
    Using CATALINA_TMPDIR: C:\Yoann\Flex\30 minutes Tomcat Flex\fds-tomcat\temp
    Using JRE_HOME: C:\Program Files\Java\jre1.5.0_06
    ————————————————————-
    Access the Flex Test Driver Server at: http://localhost:8600/
    ————————————————————-
    Exception in thread “main” java.lang.NoClassDefFoundError: minutes

    However all works fine when I use the Zip from this page.

  32. Yoann says:

    Hello,

    I found that the error was in fact caused by the space in the directory … not by the archive.

    However I am now stucked with a weird problem : I launch Tomcat without problem, and all examples just work fine. Then I do the tutorial (from the pdf file) and no sample using the local database work anymore. I wonder if any of my Eclipse plugins can cause problems …

  33. I’ve so far been unable to figure out how to use the FDS built-in Hibernate mechanisms in conjunction with Spring. There are many examples showing how to use Spring or Hibernate, but none show how to use them both.

    Some suggest writing your own Assembler that uses the Spring Hibernate mechanisms, but I don’t like the idea of omitting “the FDS way” for this reason.

    The way I see it, it would be convenient if Spring could simply hand FDS a Hibernate session factory. This way, Spring would be responsible for managing all Hibernate related objects, and FDS acts as just another Hibernate client.

    Any other thoughts on this?

  34. Odo says:

    ok, it turned out to be Hibernate issue, commented data-management-config.xml’s and all works!

  35. Mikhail says:

    Nice work mate!!!
    Thanks a lot!!

  36. Hans says:

    Hi,

    I like the samples you made a lot, but have some trouble understanding all workings, especially dependencies I try to figue out (e.g. database stuff). Most stuff is ‘hidden’ somewhere in the war file, which leaves me in doubt which parts exactly are shared between the applications.

    Would it be possible to also provide 1 war file per example, including only the sources necessary for that particular application?

    That way, it would be way easier to start writing my own fds applications, based on the example I want.

    Thanks in advance!

  37. manas says:

    hi christophe
    i dont know how to initialize JAVA_HOME and JRE_HOME environment variable

  38. manas says:

    i get d solution its in control panel->system
    i have another question i am tryin to develop a lan scanner so how to get what is shared by d people in d Lan (os:windows Xp)

  39. zqgagqwdea says:

    Hello! Good Site! Thanks you! baegelkpppwm

  40. Alex says:

    Guys,
    please help!
    I’m new to j2ee world.
    I’ve installed Ubuntu/Glassfish. It works admin panel, default tomcat page.
    but when I autodeploy glassfish exmaple Helloworld.war and try to call it from browser I’m getting “javax.servlet.ServletException: java.lang.NoClassDefFoundError: ” … looks like classpath is not set, but in JVM Classpath Settings it is set to ${com.sun.aas.installRoot}/lib/appserv-launch.jar and Environment Classpath ingore option is ticked.

    May be this is a bit off-topic, but I do not know where to write and ask for help.

    Thanks.

  41. Polaco says:

    Mr. Coenraets,

    In the company I work for are planning to create a flash view to some portlets. I have read your article at Macromedia.
    The problem we have thought we could be facing is to pass a big amount of data to the swf that is used as a view.
    We have a portlet that shows news, it works basically this way:

    1-Retrieve the contents from Vignette Content Managment
    2-JSP page recieves the news objects and creates the HTML.

    So to implement the flash view we have thought about adding an XML version of the news to a flashvar and then the swf renders them.
    However we have found that the max size of a flashvar is 64K. So we think that the only way to achive this is to make the swf go trhough some servelet/webservice that returns to it the news in an XML format. That´s a problem since it involves much more work and maybe duplicated functionality, I mean in the portlet and on the servlet used to retrieve the news…
    Do you knpw some tutorial, example, best practices or something about doing this?

    Sorry for having posting it here but I didn´t find a better place.

    Thanks in advance.

  42. Matt says:

    Hi,

    I’ve used the Product/Admin as a starting point to hack together a little Contact Manager example. Exactly the same except with Contacts in the DataGrid and Contact Details in the Form.

    I have another exception which is causing me trouble. I have a child object Address inside my Contact class.

    I can set the Contact values along with Address values, using dot notation, when the Manager class uses the selected object passing it into the Form.

    That works.

    However I get the following warning.

    Data binding will not be able to detect assignments to “streetName”.

    Apologies for asking for help on your blog but if you have a quick comment for me I would appreciate it.

    Thanks

    Matt

  43. John says:

    I am trying to configure LCDS 2.5 / Tomcat 6 / ActiveMQ 4.1 to work with your fms example. I haven’t been able to get things to work and was wondering if you were planning an update of your testdrive with the latest LiveCycle Data Services 2.5?

    Thanks,
    John

  44. Matt says:

    Hi,

    Just replying my own comment above where I had a binding error on a child object…

    I don’t know how I overlooked such a simple thing but the Address class I mentioned didn’t have a [Bindable] MetaTag….

    Of course it could bind. And Flex was nice enough to tell me so.

    Regards,

    Matt

  45. ZoneWeb says:

    Hello!
    i found FREE xbox and iphone on the freestuffes.com, it is real??!

  46. BigBoomer says:

    Heya!!
    see filmsbuy.com site with thousands movies for downloads!! it is legal or no?

  47. Timmy says:

    Anyone have problems running the Real Time Market Data example?

    When I try to run the startfeed.jsp I get an error

    Exception in thread “Thread-31″ java.lang.NullPointerException
    at flex.samples.marketdata.Feed$FeedThread.run(Unknown Source)

    INFO: ActiveMQ Message Broker is shutting down.

  48. BabyVult says:

    heey!!:) I want to find the sexy boys!
    Im just a nice girl looking for a nice guy!:)

    see my profile sugar baby

  49. hman says:

    so far everything runs great.. I am working through the fdms_tutorial.pdf and I am at step 4. test the application..
    I am getting this error:
    1 Exception found.

    Exception flex.messaging.config.ConfigurationException
    Configuration error encountered on line 76, column 6: ‘The value of attribute “id” must not contain the ‘

  50. hman says:

    …sorry… I see the same error while running catalina…but hard to tell what file this is in.. looks like it has something to with the ActiveMQ which proceeds the [Fatal Error]….

  51. Stephen Smithstone says:

    Just download the test server just come across something weird if you start the server from with Eclipse with MyEclipse IDE plugin the server fails to create the HSQLDB connection and fails to load the flex2.server.j2ee.MxmlServlet and the rest that are defined for use by the bootstrap servlet classes on the boot loader classes anyone know how to fix this , or am i going to have to run the server from outside of eclipse where it works fine

  52. Richard113 says:

    All want the good day!!!!!

    Much on subject there is on Yandex)))
    I like beautiful girls))))

    Who can recommend get prettier protection from virus? Answer… pls

    See you later!!!)))

    No need to do the problems from nothing!!,

  53. kandasami raja says:

    hi christophe,

    i want to embedd a mxml file in to jsp . i want to done this with a taglibrary “FlexTagLib” . idont know wat are the necessary jars and files are necessary to configure “flextaglib” in web.xml of my tomcat5.5

    this is my web.xml
    ————————

    WeekiServer
    Weeki Server

    flex.class.path
    /WEB-INF/flex/jars

    flex.messaging.HttpFlexSession

    MessageBrokerServlet
    MessageBrokerServlet
    flex.messaging.MessageBrokerServlet

    services.configuration.file
    /WEB-INF/flex/services-config.xml

    flex.write.path
    /WEB-INF/flex

    1

    FlexMxmlServlet
    MXML Processor
    Servlet wrapper for the Mxml Compiler
    flex.bootstrap.BootstrapServlet

    servlet.class
    flex.webtier.server.j2ee.MxmlServlet

    webtier.configuration.file
    /WEB-INF/flex/flex-webtier-config.xml

    1

    FlexSwfServlet
    SWF Retriever
    flex.bootstrap.BootstrapServlet

    servlet.class
    flex.webtier.server.j2ee.SwfServlet


    2

    FlexForbiddenServlet
    Prevents access to *.as/*.swc files
    flex.bootstrap.BootstrapServlet

    servlet.class
    flex.webtier.server.j2ee.ForbiddenServlet

    FlexInternalServlet
    flex.bootstrap.BootstrapServlet

    servlet.class
    flex.webtier.server.j2ee.filemanager.FileManagerServlet

    10

    MessageBrokerServlet
    /messagebroker/*

    FlexMxmlServlet
    *.mxml

    FlexSwfServlet
    *.swf

    FlexForbiddenServlet
    *.as

    FlexForbiddenServlet
    *.swc

    FlexInternalServlet
    /flex-internal/*

    index.html
    index.htm

    FlexTagLib
    /WEB-INF/lib/flex-bootstrap-jsp.jar

    Flex Messaging WorkManager
    wm/MessagingWorkManager
    com.ibm.websphere.asynchbeans.WorkManager
    Container
    Shareable

    –>

    ——————————————–

    here is a jsp file having taglib embed mxml file

    testing tag library

  54. kandasami raja says:

    hi guys

    i am getting the following error wen i invoke a java arraylist using ” mx:RemoteObject ” tag to dataProvider of datagrid in flex .

    [RPC Fault faultString=”Send failed” faultCode=”Client.Error.MessageSend” faultDetail=”Channel.Connect.Failed error undefined url:’rtmp://10.21.160.235:2037′”]

    any sample examples for mx:RemoteObject is apreciated

    u can reply to my email id

    thanks
    kandasami raja.c
    kandaraja@gmail.com

  55. I have been trying to connect to a WebLogic JMS Queue using Adobe Flex 2.0.1 and Adobe Livecycle Data Services. I am able to connect to a WebLogic Topic without any problem. However, for some reason, flex is not able to get messages from a WebLogic JMS Queue. I have gone through the documentation (http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=messaging_config_103_08.html). The documentation is also light on JMS Queues.
    Do I have to do anything different from connecting to a Topic to connect to a Queue?

    ============ my mxml =================

    ================messaging-config.xml=============

    true

    flex.messaging.durability.FileStoreManager

    Queue
    javax.jms.TextMessage

    weblogic.jms.ConnectionFactory

    FlexJMSQueue

    FlexJMSQueue
    NON_PERSISTENT
    DEFAULT_PRIORITY
    AUTO_ACKNOWLEDGE
    false

    Context.SECURITY_PRINCIPAL
    anonymous

    Context.SECURITY_CREDENTIALS
    anonymous

    Context.PROVIDER_URL
    t3://localhost:7001

    Context.INITIAL_CONTEXT_FACTORY

    weblogic.jndi.WLInitialContextFactory

  56. Aravind says:

    hi christophe,
    I just want to know how redirection from jsp to mxml works . I have seen your example on using struts with flex. From RegistrationAction , just redirected to a jsp. how request will be forwaded to orinal mxml . Now I want to redirect to a different mxml , is it possible ? Could you please explain how this request redirect works
    Thanks a lot for sharing sample applications.

  57. Hi Christophe -

    Just wanted to let you know that I was able to get Flex Live Cycle Data Services 2.51 working with Tomcat 6.0.13, along with web, messaging and data management services. Took a while, but your setup provided a guideline for me to get it finally working. This is especially important since JRun 4 has issues installing on Vista (the updater 6 will not install, which is a requirement for Flex). Anyway thanks for the information.

  58. Cain says:

    I noticed in this tutorial you import flex.messaging.util.UUIDUtils in your Feed.java files for both the testdrive and market data examples… yet I cant seem to find this class in the flex messaging api, what am i overlooking?

  59. Cain says:

    Also I wanted to know if you had a step by step instructions how to seperate the install of the different components you listed, specifically, I would like to update to the newer version of Tomcat (though thats not completely necessary) and install Life Cycle instead of the depreciated version of FDS. Lastly, and most importantly, I would like to use these to host my own web apps.

    Thanks in advance for the help!

  60. Tom says:

    To expand on a post by Anders Haugeto on May 23rd, 2007:

    Has anyone found a good example of how to use Spring and Hibernate together and in conjunction with Flex remoting (not LCDS)? Christophe’s separate examples are great, but this is one step further.

  61. Francisco Zarate says:

    Problem on spanish windows installation:
    I have set the JRE_HOME manually on a dos window to “C:\Archivos de programa\java\jre1.5.0_13″ but when i tried to start: “catalina run”
    the server stop with the message:
    “NO SE ESPERABA DE EN ESTE MOMENTO”

    Solution:
    the workaround was to set the JRE_HOME variable to:
    “C:\Archiv~1\java\jre1.5.0_13″

    Francisco.

  62. JMi says:

    Great -> first step.

    Do you have a sample with the Spring Acegi Security ?

  63. arieljake says:

    Thank you for this. I was not able to get DataServices to work on Tomcat6, reverted to using your server, copied some lib files from your ROOT webapp to mine, copied your META-INF/context.xml file, and the error I got was resolved.

    Question: what are the login and password for the manager app?

  64. venk says:

    If anyone has tried getting fds to work with tomcat 6 and have been successful, it will be awesome if you can provide the steps you took to configure tomcat6/fds to work together

  65. Data Server says:

    Make sure your data center furniture fits your budget. The new server racks and data cabinets on the market these days are very inexpensive. There are many places to buy online. I found the quality and value of the network support furniture you can get to be above my expectations. Make sure you ask about the quality before you buy. Check out the data server racks if you get the opportunity.

  66. raj says:

    hi
    i want to know how to integrate the java with the flex

    if any please post me data at my email id

    ihoneywell26@yahoo.com

  67. Deha Peker says:

    I am new to Flex and trying to figure out how to integrate Flex with Java (Spring, Hibernate). Just to make this example work, does it matter whether it is Flex 2 or 3?

  68. David says:

    Muchas gracias =D

  69. Jas says:

    I am using the springfactory and had everything working. But recently i tried to send arrayCollection from client to backend and got following exception. Any guess what is going wrong or how to fix this.

    Thanks

    [2008.03.21 23:06:09.180][WARN ][istener0-0][Price-Discount-Engine ][ ServletHandler.java: 589] – /service/httpinvocation/admin/AdjustmentService:

    java.lang.ClassNotFoundException: flex.messaging.io.ArrayCollection

    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

    at java.lang.Class.forName0(Native Method)

    at java.lang.Class.forName(Class.java:242)

  70. Iftekhar says:

    Hi Christopher,
    I am trying to use Flex with Spring. I have an API that returns a list of beans. How do I access the bean in my flex. Do you have any example?
    Thanks

  71. Hillary says:
  72. Cool!!

  73. jerricality says:

    I was looking through the marketdata example and I wanted to do something similar. However, I don’t quite understand how your feed from http://finance.yahoo.com/rss/headline works.

    So, I know you defined it in proxy-config.xml and you made a bunch of channel definitions in services-config, but when I copied over your News.mxml and NewsItemRenderer.mxml, it doesn’t work.

    All I did was insert

    to my application to test if it works, and all I get is “news service temporary unavailable.” Can someone help me?

    Stuff to consider,
    I am using granite data services instead of flex data services. However, that shouldn’t matter right?

    Moreover, I’m not quite sure which libraries I should copy over. Is it because I don’t have the correct httpservice libraries?

    Thanks for any help. My email address is jerricality@gmail.com

  74. jerricality says:

    Sorry for the repost, but for some reason it didn’t show what I code I inserted.

    I was looking through the marketdata example and I wanted to do something similar. However, I don’t quite understand how your feed from http://finance.yahoo.com/rss/headline works.

    So, I know you defined it in proxy-config.xml and you made a bunch of channel definitions in services-config, but when I copied over your News.mxml and NewsItemRenderer.mxml, it doesn’t work.

    All I did was insert
    “”

    to my application to test if it works, and all I get is “news service temporary unavailable.” Can someone help me?

    Stuff to consider,
    I am using granite data services instead of flex data services. However, that shouldn’t matter right?

    Moreover, I’m not quite sure which libraries I should copy over. Is it because I don’t have the correct httpservice libraries?

    Thanks for any help. My email address is jerricality@gmail.com

  75. jerricality says:

    Ok, I will just remove the left and right brackets

    News stock=”MOS” height=”30%”

  76. Florian Oeser says:

    Hi guys,
    i’m trying to start the fds-tomcat on my Suse Linux server. When i start the catalina.sh the system prompt:
    catalina.sh: line 78: cygpath: command not found
    catalina.sh: line 79: cygpath: command not found
    catalina.sh: line 80: cygpath: command not found
    Cannot find /bin/setclasspath.sh
    This file is needed to run this program

    Does anyone found a solution for this?
    thx and best regards
    Florian Oeser

  77. Florian Oeser says:

    Okay i’d the wrong java version installed.
    But i have another question. I looked at the hibernate example in the fds-tomcat. And i wondered why there aren’t any imports of org.hibernate… and no Sessions and Transactions. In my opinion they must be in the Productservice.java. Could anyone explain me why we don’t need this anymore?Is this related couz of Flex and the DataManagmentService?

    thx for your help :D

  78. Anton says:

    Hi, Christophe. Thanks a lot for test drive server! Nothing i’ve found on the web helped me SO MUCH. It’s just great, i am happy now :)

  79. Andrew Rubalcaba says:

    If I already have Tomcat 6.0 installed in on machine , can I still do this tutorial?

  80. Florian Oeser says:

    I worked with the sample from the fds-tomcat relatet to hibernate(product-sample). I only changed the identity property and the hibernate-entity. So i just changes the class from flex.testdrive.store.Product to flex.radioSiTY.Stream. When i look in the localhost.conf there is following error shown:
    “flex.messaging.config.ConfigurationException: Unable to create service ‘flex.data.DataService’ for ‘data-service’ due to the following error: Error instantiating application scoped instance of type ‘flex.data.assemblers.HibernateAssembler’ for destination ‘hibernate-product’..”
    I read a lot of peoples having the exact problem like me but i can’t find any solution for this problem.
    I hope you can help. I also can post the rest of the source perhaps u need.

    Best regards
    Florian Oeser

  81. Britney says:
  82. I’m using the 1/25/2007 version of the Test Drive Server. Flex Plugin for Eclipse is version 3.0.194161 and does not have the same dialogs as the tutorial.pdf for creating a Flex Project in Eclipse. What Flex Plugin version is needed to match up with the tutorial?
    thanks.
    It is indeed an impressive package.

  83. Nirvish Patel says:

    Hi Christophe,

    Could you explain what would need to be done to get this test drive to run on the Glassfish/Sun Java Application Server Platform?

    Regards,
    Nirvish Patel

  84. Keith Kwiatek says:

    Hello,

    I was able to install an run the original portfolio version (2006) that uses JMS.

    BUT then I decided to modify the application slightly so that the application would show the clientID of every message that the client received. I expected the flex client to show only messages with it’s client ID, since that was the ID subscribed to the JMS Topic. AND when I ran only 1 client, this is indeed what I saw….

    BUT when I ran multiple portfolio flex clients, each client would occasionally display clientID’s from the other flex clients!?!?!

    Shouldn’t each flex client only receive messages for it’s client ID? Or is this a bug?

    I was using weblogic.

    Keith

  85. Bharathi says:

    Hi Christophe,
    I am getting following error when trying to run the test drive. Could you please help me?
    C:\Apps\fds-tomcat\bin>catalina run
    Using CATALINA_BASE: C:\Apps\fds-tomcat
    Using CATALINA_HOME: C:\Apps\fds-tomcat
    Using CATALINA_TMPDIR: C:\Apps\fds-tomcat\temp
    Using JRE_HOME: C:\Program Files\Java\jre1.5.0_12
    ————————————————————-
    Access the Flex Test Driver Server at: http://localhost:8600/
    ————————————————————-
    1 “C:\Program Files\Java\jre1.5.0_12\bin\java”
    2 -Dhsqldb_database=C:\Apps\fds-tomcat\db\flexdemodb -Dhsqldb_dbname=flexdemodb
    -Dhsqldb_port=9001 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogMa
    nager -Djava.util.logging.config.file=”C:\Apps\fds-tomcat\conf\logging.propertie
    s”
    3 -Xmx512m
    4
    5 C:\Apps\fds-tomcat\common\endorsed
    6 C:\Program Files\Java\jre1.5.0_12\lib;c:\Apps\libs;.;C:\Program Files\Java\jdk
    1.5.0_06\lib\tools.jar;C:\Apps\fds-tomcat\bin\bootstrap.jar
    7 C:\Apps\fds-tomcat
    8 C:\Apps\fds-tomcat
    9 C:\Apps\fds-tomcat\temp
    10 org.apache.catalina.startup.Bootstrap
    11
    12 start
    13 C:\Program Files\Java\jre1.5.0_12\bin;C:\Oracle\8i\bin;C:\Program Files\Oracl
    e\jre\1.1.7\bin;C:\Oracle\8.0\bin;C:\Oracle\8.0\jdk\bin;;C:\WINNT\system32;C:\WI
    NNT;C:\WINNT\System32\Wbem;C:\Program Files\Axalto\Access Client\v5\;C:\Program
    Files\Schlumberger\Smart Cards and Terminals\Common Files\;C:\Program Files\Acti
    vCard\SecureLogin Single Sign-On\;C:\Program Files\QuickTime\QTSystem\;C:\Progra
    m Files\1E\SMSNomad\;C:\Program Files\Windows Imaging\;C:\Oracle\10g\InstantClie
    nt
    The system cannot find the path specified.

    C:\Apps\fds-tomcat\bin>

  86. Himanshu says:

    Hi, This package includes Flex Data Services. Is it a trial version of some sort. From what I see on adobe website, FDS is now called livecycle data services and that costs money?

  87. Joshua says:

    Is BlazeDS the revised version of this FDS? We are currently confused on which one to use.

    best regards

  88. sohbet says:

    thanks

  89. hello
    plz contact me.

  90. venkat says:

    When I run the fdms-tutorial-product stuff as directed in the document, I get the following error..

    Can you please tell me how to get rid of this?

    [RPC Fault faultString="Destination 'fdms-tutorial-product' requires FlexClient support which was introduced in version 2.5. Please recompile the client application with an updated client framework." faultCode="Server.Processing" faultDetail="null"]

    Thanks,
    Venkat

  91. indir says:

    anyone can you tell me please how to install it.

  92. çet says:

    anyone can you tell me please how to install it

  93. sohbet says:

    thanks a lot

  94. chat says:

    thanks ;)

  95. sohbet says:

    thank you site admin..

  96. 交友 says:

    Could you explain what would need to be done to get this test drive to run on the Glassfish/Sun Java Application Server Platform?

  97. Vivek says:

    Excellent…………..
    No need to say anything more

  98. sesli chat says:

    thanks

  99. vivek908 says:

    I am using the springfactory and had everything working. But recently when i am trying to deploy to start my Jboss server locally. Any guess what is going wrong or how to fix this.
    Below is the exception :

    15:12:51,282 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/DMS/dev/jboss/jboss-3.2.8/server/admin/deploy/jmx-console.war/
    15:12:51,579 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/DMS/dev/jboss/jboss-3.2.8/server/admin/deploy/management/web-console.war/
    15:12:52,533 WARN [TomcatDeployer] Failed to map vhost: sitegenie.jbossdev
    15:12:52,549 WARN [TomcatDeployer] Failed to map vhost: sitegenie.jbossdev.dms.quinstreet.net
    15:12:52,549 WARN [TomcatDeployer] Failed to map vhost: sitegenie.jbosstest.dms.quinstreet.net
    15:12:52,549 WARN [TomcatDeployer] Failed to map vhost: sitegenie.jbosstest
    15:12:52,549 WARN [TomcatDeployer] Failed to map vhost: sitegenie-stage.dms.quinstreet.net
    15:12:52,549 WARN [TomcatDeployer] Failed to map vhost: sitegenie.quinstreet.net
    15:12:52,549 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/DMS/dev/javaprojects/sitegenie/sitegenie-internal/unpacked/sitegenie-internal.war/
    15:12:52,642 INFO [StandardHost] XML validation disabled
    15:12:52,861 ERROR [Engine] StandardContext[]Error configuring application listener of class flex.messaging.HttpFlexSession
    java.lang.ClassNotFoundException: flex.messaging.HttpFlexSession
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3779)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4323)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:163)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.apache.catalina.core.StandardContext.init(StandardContext.java:5456)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:163)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(Unknown Source)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(Unknown Source)
    at org.jboss.web.AbstractWebDeployer.start(Unknown Source)
    at org.jboss.web.WebModule.startModule(Unknown Source)
    at org.jboss.web.WebModule.startService(Unknown Source)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:964)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:404)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
    at $Proxy27.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(Unknown Source)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:833)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
    at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
    at $Proxy7.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:316)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:490)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:213)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:286)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:964)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:404)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
    at $Proxy4.start(Unknown Source)
    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:263)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:841)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:653)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:600)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:76)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:68)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:96)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:213)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:484)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:184)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:462)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:353)
    at org.jboss.Main.boot(Main.java:201)
    at org.jboss.Main$1.run(Main.java:459)

    Thanks

  100. Rick says:

    I haven’t looked the info on this blog post yet, but wanted to thank you big-time for the one about the flex/spring interaction that you posted here:

    http://coenraets.org/flex-spring/

  101. Kris says:

    Can you please seperate the spring examples from the zip. I’m trying to create a example myself but i cant get it to work.

  102. anyone can you tell me please how to install it.

  103. daslaber says:

    BUT when I ran multiple portfolio flex clients, each client would occasionally display clientID’s from the other flex clients!?!?!

    Shouldn’t each flex client only receive messages for it’s client ID? Or is this a bug?

  104. sohbet says:

    me about 20 minutes to get fds-tomcat running on OS/X Tiger, and running the JMS demo. What a nice way to dive into fds. Thanks a lot.

  105. shanker says:

    I’m new to Flex, presently i’m working on java
    Please send me links or attachments for Flex and java flow of execution

  106. sohbet says:

    Hi Christophe,

    Thanks for a superb demonstration of Flex Data Services.

    We’re currently in the process of re-engineering one of our products and I’m looking at Flex as a candidate.

  107. For instance, am I able to implement a feature where the user can drag a JPG from a browser window to the AIR program and have the AIR program display it?

  108. yonja says:

    thank you site admin

  109. dini sohbet says:

    anyone can you tell me please how to install it

  110. medyum says:

    I am trying to use Flex with Spring. I have an API that returns a list of beans. How do I access the bean in my flex. Do you have any example?
    Thanks

  111. good nice post thank you

  112. izmir somine says:

    thank site

  113. medyum says:

    In the company I work for are planning to create a flash view to some portlets. I have read your article at Macromedia.
    The problem we have thought we could be facing is to pass a big amount of data to the swf that is used as a view.
    We have a portlet that shows news, it works basically this way:

    1-Retrieve the contents from Vignette Content Managment
    2-JSP page recieves the news objects and creates the HTML.

    So to implement the flash view we have thought about adding an XML version of the news to a flashvar and then the swf renders them.
    However we have found that the max size of a flashvar is 64K. So we think that the only way to achive this is to make the swf go trhough some servelet/webservice that returns to it the news in an XML format. That´s a problem since it involves much more work and maybe duplicated functionality, I mean in the portlet and on the servlet used to retrieve the news…
    Do you knpw some tutorial, example, best practices or something about doing this?

    Sorry for having posting it here but I didn´t find a better place.

  114. Christian says:

    Hello folks, well i am a little confused about the use of Flex and java, this is my problem: My java application must read two .zip files from an online server. These classes will load and parse the data in a Thread and perform certain actions depending on such info. The problem occurs when my flex application calls the java method that queries such data. I need to WAIT until the loading has finished. Any ideas?
    Another doubt is if the Java classes are being compiled and transformed into some form of ActionScript classes.
    Maybe I’m lost in space, so please I need a light in the darkness, thank you.

  115. mariam says:

    Hello

    I used testdrive with apach and resin but I get the following exception:
    500 Servlet Exception

    flex.messaging.LocalizedException: Unable to create a parser to load messaging
    configuration.
    at flex.messaging.config.ConfigurationManager.getMessagingConfiguration(ConfigurationManager.java:71)
    at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:90)
    at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:646)
    at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:587)
    at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:154)
    at com.caucho.server.webapp.Application.start(Application.java:1654)
    at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
    at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:584)
    at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125)
    at com.caucho.server.deploy.DeployController.request(DeployController.java:554)
    at com.caucho.server.webapp.ApplicationContainer.getApplication(ApplicationContainer.java:885)
    at com.caucho.server.webapp.ApplicationContainer.buildInvocation(ApplicationContainer.java:725)
    at com.caucho.server.host.Host.buildInvocation(Host.java:459)
    at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:353)
    at com.caucho.server.resin.ServletServer.buildInvocation(ServletServer.java:653)
    at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:198)
    at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:415)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514)
    at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
    at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
    at java.lang.Thread.run(Thread.java:619)

  116. Rohit kotecha says:

    i have downloaded fds tomcat and i have demo application using flex data services. now i want to call methods of spring bean from flex client. in that i am geting confused how to configure in remote-config.xml. i am also using hibernate along with spring in back end.
    can you please provide some guide line?
    any help would be greatly appreciated.

  117. medyum says:

    Thank you very much for everything

  118. konya chat says:

    thanks of

  119. haber says:

    i have downloaded fds tomcat and i have demo application using flex data services. now i want to call methods of spring bean from flex client. in that i am geting confused how to configure in remote-config.xml. i am also using hibernate along with spring in back end.
    can you please provide some guide line?
    any help would be greatly appreciated.

  120. kral oyun says:

    i have downloaded fds tomcat and i have demo application using flex data services. now i want to call methods of spring bean from flex client. in that i am geting confused how to configure in remote-config.xml. i am also using hibernate along with spring in back end.
    can you please provide some guide line?
    any help would be greatly appreciated..

  121. su deposu says:

    i have downloaded fds tomcat and i have demo application using flex data services. now i want to call methods of spring bean from flex client. in that i am geting confused how to configure in remote-config.xml. i am also using hibernate along with spring in back end.
    can you please provide some guide line?
    any help would be greatly appreciated…………..

  122. matbaa says:

    i have downloaded fds tomcat and i have demo application using flex data services. now i want to call methods of spring bean from flex client. in that i am geting confused how to configure in remote-config.xml. i am also using hibernate along with spring in back end.
    can you please provide some guide line?
    any help would be greatly appreciated..

  123. nazar says:

    thanks for all it is very nice blog

  124. inşaat says:

    how can ı do java pic.

  125. thanks very good admin are you

  126. i have downloaded fds tomcat and i have demo application using flex data services. now i want to call methods of spring bean from flex client. in that i am geting confused how to configure in remote-config.xml. i am also using hibernate along with spring in back end.
    can you please provide some guide line?
    any help would be greatly appreciated..

  127. sesli sohbet sesli says:
  128. vefk says:

    thaks for admin wanderfıll blog like see

  129. orjin says:

    thaks for admin wanderfıll blog like see

  130. i just wanted to thank you for this useful article and i’m glad to find this website. now i’m beginning to read your other articles. i hope we will live on well :)

  131. seslipanel says:

    i fds tomcat ve i indirdiğiniz demo uygulama esnek veri servislerini kullanarak var. şimdi i flex istemciden bahar fasulye yöntemleri aramak istiyorum. bu i uzaktan config.xml nasıl yapılandırıldığını karıştı geting am. i da kış uykusuna yatmak sırt son bahar ile birlikte kullanıyorum.
    bazı rehber verir misiniz?
    herhangi bir yardım çok … … … … .. mutluluk duyacağız thank yOu Admin

  132. OzgurDunyam says:

    Thank you for the information your provide.

  133. takı says:

    thanks admin very good…

  134. Fernando says:

    Any tips to migrate Flex Test Drive Server to LCDS 2.6 ?

  135. sohbet says:

    i have downloaded fds tomcat and i have demo application using flex data services. now i want to call methods of spring bean from flex client. in that i am geting confused how to configure in remote-config.xml. i am also using hibernate along with spring in back end.
    can you please provide some guide line

  136. nice collection

  137. takı says:

    thanks admin very good…

  138. matbaa says:

    nice collection

  139. An interesting approach to the topic, but I disagree.

  140. seslikelime says:

    thank you admin.. good site

  141. kablo tv says:

    thanks for article good test

  142. ı cant download :S

  143. isim analizi says:

    thanks for admin wonderfull web site and wonderfull data have..

  144. porno says:

    thank you admin.s

  145. adem says:
  146. adem says:

    teşekkürker

  147. şömine says:

    thanks for admin wonderfull blog and dissenger.

  148. seslitaraf says:

    thank you very well admin

  149. Thank you for sharing this information. I found it very needful for me. Wonderful job.

  150. almanya chat says:

    can you tell me please how to install it

  151. matbaa says:

    Bing recognizes the complementary benefits of bringing computational knowledge to the forefront of the search experience..

  152. diş hekimi says:

    What a blog filled with vital and important information this is .. It must have taken a lot of hours for you to write these yourself. Hats off from me for your hard work.

  153. kurye says:

    hi nice share thanks…

  154. Wolf says:

    Je veux jouer par le biais en ligne test drive unlimited

  155. su deposu says:

    somhow i caN’t download. İs it for now or am i disabled?

  156. Of course anyone who has been doing this for a few years will be rightly suspicious about claims of magic layers that make problems for developers just go away. That’s okay – in your place I’d be just as suspicious. Take them for a test drive and see for yourself. I welcome your comments!

  157. turkey says:

    hey thanks very good admin…

  158. Thanks for sharing. Extraordinary :)

  159. lets test it how it works.

  160. Could be a good work.

  161. su deposu says:

    the main problem is mental health and what we call su deposu in Turkish. YOu should drink water for healthy brain..

Trackbacks

  1. [...] As part of the Flex Test Drive Server, I wrote a new Flex Data Management Services tutorial. The tutorial takes you through the full FDMS application development life cycle: Java assembler, destination, and client application. Additional topics include: [...]

  2. [...] FDS Examples With Tomcat By Christophe Coenraets Mr. Coenraets recently published a great tutorial on FDS with Tomcat that he named, “Flex Test Drive Server;” the article includes: 1. An updated version of my 30 minutes Test drive for Java developers 2. A brand new Flex Data Management Services tutorial 3. Flex/Spring integration samples running “out-of-the-box” 4. Flex/Hibernate integration samples running “out-of-the-box” 5. Flex/JMS integration samples (JMS powered by ActiveMQ) running “out-of-the-box” 6. A new version of my Real Time Market Data application with advanced messaging features: Java API (no JMS in this version), subtopics, etc. 7. Collaboration Dashboard And in another post, he announced a Flex Data Management tutorial that’s also included in the Flex Test Drive Server. Good stuff if you’re looking to get into FDS. Kudos to one of Adobe’s Flex Evangelists! [...]

  3. [...] Easily the best thing I stumbled across on the web yesterday was a post by Christophe Coenraets. Christophe has created what he calls a, “Flex Test Drive Server,” for Java developers. It is one zip file, that contains a Tomcat server, configured and installed with Christophe’s Java Flex tutorials. [...]

  4. [...] Flex Test Drive Server for Java Developers (Tomcat-based) [...]

  5. [...] (Note that for anyone curious about Flex Data Services I’d recommend starting with Christophe Coenraets’ excellent Test Drive) [...]

  6. [...] Resulta que Carlos Visser, un compañero de trabajo, me pasó un link a un artículo de un tal Christophe Coenraets, el cual había montado un server tomcat con varios ejemplos en flex y su integración con Spring/Java, tutoriales y demás, para poder ver los ejemplos andando. Este ejemplo es impresionante, lo descomprimis en la unidad C:, ejecutas un bat y ya podes ver los ejemplos(con código fuente y todo!), incluso trae un motor de base de datos para el ejemplo. [...]

  7. [...] Of course anyone who has been doing this for a few years will be rightly suspicious about claims of magic layers that make problems for developers just go away. That’s okay – in your place I’d be just as suspicious. Take them for a test drive and see for yourself. I welcome your comments! [...]

  8. [...] As an example of an FDS-powered Apollo application, I created an Apollo version of my real time market data application available as part of the Flex Test Drive for Java Developers. [...]

  9. [...] Christophe Coenraets ha escrito una entrada en su blog donde explica cómo integrar Apollo y FDS, podeis ver la entrada Real Time Market Data using Apollo and Flex Data Services, donde crea una versión Apollo de una de sus aplicaciones ejemplo dentro su Flex Test Drive for Java Developers. [...]

  10. [...] Our old web application was built using Spring and we needed to enable this in FDS too. Luckily we where not the first to do this, so we had a look a the Flex Test Drive Server for Java Developers created by Christophe Coenraets. Basically all you need to do is to create a SpringFactory class which you configure in FDS, all this is covered in detail by Christophe. You can also read our article on Using Flex Data Services with Spring and Hibernate for more details on how you setup FDS and Spring. [...]

  11. [...] Another cool thing from Christophe Coenraet’s blog is the Flex Test Drive Server For Java Developers (Tomcat based). [...]

  12. [...] together a Tomcat-based Test Drive Server that includes these samples running out-of-the box. Read this post for more [...]

  13. Rivotril….

    What is rivotril. Rivotril. Rivotril mexico. Buy rivotril with same day delivery. Buy rivotril….

  14. [...] or server-side) code :: Introduces a SimpleJDBCAssembler FDMS adapter Christophe Coenraets :: Flex Test Drive Server for Java Developers (Tomcat-based) Daniel Harfleet :: Calling Java remote objects and handling results Daniel Harfleet :: Passing [...]

  15. [...] Christophe Coenraets :: Flex Test Drive Server for Java Developers (Tomcat-based) [...]

  16. [...] Flex Test Drive Server for Java Developers (Tomcat-based) [...]

  17. [...] together a Tomcat-based Test Drive Server that includes these samples running out-of-the box. Read this post for more [...]

  18. pligg.com says:

    Flex Test Drive Server for Java Developers (Tomcat-based)…

    Flex Test Drive Server for Java Developers (Tomcat-based)…

  19. [...] solutions with java (LCDS,FDS) and php (AMFPHP) There is also a testdrive for java developers ( http://coenraets.org/blog/2007/01/flex-test-drive-server-for-java-deve lopers-tomcat-based/) ) where hibernate is used, hibernate supports the postgreeSql DB. ( [...]

Speak Your Mind

*