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.

  • Pingback: Christophe Coenraets » Flex Data Management Services Tutorial()

  • Pingback: Got RIA? » Blog Archive » FDS Examples With Tomcat By Christophe Coenraets()

  • Pingback: Erik’s… Hmm… » Blog Archive » Daily Best Read - 1/12/07 (Flex Java Tutorials)()

  • Pingback: MadeInFlex » Blog Archive » Flex Test Drive Server()

  • Valery Silaev

    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

  • christophe

    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

  • Mark

    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.

  • Eric

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

  • Herman Jansen

    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.

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

    Any idea?
    cheers!

  • christophe

    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?

  • 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

  • The

  • 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

  • Carl Bourne

    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

  • Stephen

    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.

  • 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.

  • Gerdt

    Never mind,

    after reboot 3 it all worked. Great stuff.

  • Pingback: William Wechtenhiser » Blog Archive » Hello!()

  • Greg Bluntzer

    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?

  • Pingback: Implementando Flex2 en el “Mundo Enterprise” - V (Hablando con el server en binario) at .: WEREMSOFT :.()

  • Pingback: William Wechtenhiser » Blog Archive » Data Services: Technology of Tomorrow - Today!()

  • VinceK

    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.

  • Peter Jacobsen

    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

  • VinceK

    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.

  • Vic

    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

  • how do i get a flex haboo server

  • laker2000

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

  • Pingback: Christophe Coenraets » Real Time Market Data using Apollo and Flex Data Services()

  • Pingback: MadeInFlex » Blog Archive » Apollo y Flex Data Services()

  • Joe Burnett

    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

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

  • Himanshu Bari

    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

  • C Cornwell

    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

  • Sohan

    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!

  • HelloWorld

    Peace people

    We love you

  • 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…

  • Marko

    Thanks for the resource Christophe.

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

    Thanks.

  • Heather

    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?

  • Yoann

    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.

  • Yoann

    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 …

  • 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?

  • Odo

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

  • Mikhail

    Nice work mate!!!
    Thanks a lot!!

  • Hans

    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!

  • manas

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

  • manas

    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)

  • Hello! Good Site! Thanks you! baegelkpppwm

  • Alex

    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.

  • Pingback: ammmore » Blog Archive » flex and java: first test()

  • Polaco

    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.

  • Pingback: Ezmo Developer Blog » Introducing Flex Data Services in an exisiting application()

  • Matt

    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

  • 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

  • Matt

    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

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

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

  • Timmy

    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.

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

    see my profile sugar baby

  • hman

    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 ‘

  • hman

    …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]….

  • Stephen Smithstone

    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

  • 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!!,

  • Pingback: Florecista’s Weblog()

  • kandasami raja

    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

  • kandasami raja

    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

  • 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

  • Aravind

    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.

  • 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.

  • Cain

    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?

  • Cain

    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!

  • Tom

    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.

  • Francisco Zarate

    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.

  • JMi

    Great -> first step.

    Do you have a sample with the Spring Acegi Security ?

  • arieljake

    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?

  • venk

    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

  • 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.

  • raj

    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

  • Deha Peker

    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?

  • David

    Muchas gracias =D

  • Jas

    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)

  • Iftekhar

    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

    • tutorial that guides us to configure oc4j (Oracle

  • Cool!!

  • jerricality

    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

  • jerricality

    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

  • jerricality

    Ok, I will just remove the left and right brackets

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

  • Florian Oeser

    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

  • Pingback: WHAT IS FLEX?()

  • Florian Oeser

    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

  • 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 :)

  • Andrew Rubalcaba

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

  • Florian Oeser

    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

  • 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.

  • Nirvish Patel

    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

  • Pingback: florian-oeser.de » Blog Archive » HowTo: BlazeDS/FDS-Tomcat Installation auf Linux()

  • Keith Kwiatek

    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

  • Bharathi

    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>

  • 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?

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

    best regards

  • Pingback: What is rivotril.()

  • thanks

  • hello
    plz contact me.

  • 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

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

  • anyone can you tell me please how to install it

  • thanks a lot

  • thanks ;)

  • thank you site admin..

  • Pingback: Flex with java « Panduramesh’s Weblog()

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

  • Vivek

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

  • Pingback: It’s all about RIA()

  • Pingback: It’s all about RIA()

  • Pingback: It’s all about RIA()

  • thanks

  • vivek908

    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

  • 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/

  • Kris

    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.

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

  • 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?

  • 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.

  • shanker

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

  • 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.

  • 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?

  • thank you site admin

  • anyone can you tell me please how to install it

  • 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

  • good nice post thank you

  • thank site

  • 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.

  • Christian

    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.

  • mariam

    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)

  • Rohit kotecha

    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.

  • Thank you very much for everything

  • thanks of

  • 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.

  • 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..

  • 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…………..

  • 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..

  • thanks for all it is very nice blog

  • how can ı do java pic.

  • thanks very good admin are you

  • 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..

  • sesli sohbet sesli
  • thaks for admin wanderfıll blog like see

  • thaks for admin wanderfıll blog like see

  • 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 :)

  • 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

  • Thank you for the information your provide.

  • thanks admin very good…

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

  • 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

  • nice collection

  • thanks admin very good…

  • nice collection

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

  • thank you admin.. good site

  • thanks for article good test

  • ı cant download :S

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

  • thank you admin.s

  • teşekkürker

  • thanks for admin wonderfull blog and dissenger.

  • thank you very well admin

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

  • can you tell me please how to install it

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

  • 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.

  • hi nice share thanks…

  • Je veux jouer par le biais en ligne test drive unlimited

  • Pingback: pligg.com()

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

  • 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!

  • hey thanks very good admin…

  • Thanks for sharing. Extraordinary :)

  • lets test it how it works.

  • Could be a good work.

  • Pingback: Flex, LCDS, … » free icons download()

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

  • Pingback: [Q] Flex Data Services & FlexBuilder 2??? » free icons download()

  • Pingback: How to work with FDS » free icons download()

  • çok güzel bir site olmuş teşekkürler

  • çok güzel site teşekkürler

  • özel gitar dersi uygun fiyata uzmanlardan

  • çok güzel bir site olmuş teşekkürler

  • özel akustik gitar dersleri

  • özel bas gitar dersleri

  • özel bas gitar dersleri

  • özel davul dersleri

  • elektro gitar dersi uzmanlardan

  • elektro gitar dersleri

  • elektro gitar kursu uzmanlardan

  • özel keman dersi

  • özel gitar dersi

  • keman kursları

  • klasik gitar dersi

  • özel klasik gitar dersi

  • klasik gitar dersleri

  • klasik gitar kursu uzmanlardan uygun fiyata

  • uzmanlardan özel piyano dersleri uygun fiyata

  • piyano kursu uzmanlardan uygun fiyata

  • özel elektro gitar dersi uzmanlardan uygun fiyata

  • özel şan dersi uzmanlardan uygun fiyata

  • özel flüt dersi uzmanlardan uygun fiyata özel eğitim

  • özel gitar dersi uzmanlardan uygun fiyata

  • özel gitar dersleri uzmanlardan uygun fiyata gitar dersleri

  • gitar dersleri özel uzmanlardan uygun fiyata

  • uzmanlardan özel bas gitar dersi uygun fiyata

  • özel gitar dersleri klasik elektro akustik bas gitar dersleri uzmanlardan

  • konservatuara hazırlık dersleri uzmanlardan uygun fiyata

  • özel bateri dersi uzmanlardan uygun fiyata bateri dersleri

  • özel müzik dersi uygun fiyata uzmanlardan

  • uzmanlardan uygun fiyata elektro gitar dersleri

  • uzmanlardan uygun fiyata özel piyano dersleri

  • keman dersi çocuklara özel keman dersi uzmanlardan

  • uzmanlardan uygun fiyata özel piyano dersi

  • müzik kursları uzmanlardan uygun fiyata müzik kursu

  • çocuklara piyano dersleri uzmanlardan uygun fiyata

  • taksim sanat merkezi müzik eğitim merkezi müzik okulu

  • özel keman dersleri her yaşa her seviyeye keman dersleri

  • özel piyano dersleri online piyano dersi uzmanlardan

  • online gitar dersleri uzmanlardan özel uzaktan gitar eğitimi

  • özel resim dersleri uzmanlardan uygun fiyata resim dersleri

  • Hey very cool site!! Guy .. Excellent .. Superb .. I will bookmark your website and take the feeds also?I am satisfied to search out so many helpful information right here within the submit, we want develop extra techniques in this regard, thank you for sharing. . . . . .

  • I get an exception when I’m trying to start tomcat (in thread main java.lang.NoClassDefFoundError:

  • Possibly you have made use of by obtaining the Crazy shirts Coupon Code merely to acknowledge that you can
    not utilize this less expensive it supplies? Anyone whom vendors on the
    internet simple Crazy shirts Coupon Code would certainly’ve expert this
    difficulty. These sort of Crazy shirts Coupon Code will typically be really
    valued merely by internet purchasers taking into consideration that they make them end up being issues in addition to expertise
    referring to essential profits.

    You could stay away from practically any kind
    of problems along with making use of a Crazy shirts Coupon Code needs to you know they will certainly to make critical techniques instead
    of they will. A great deal of the problems absolutely eaten with the support of clients contain:.

    Obtaining the done Crazy shirts Coupon Code: A lot of Crazy
    shirts Coupon Code make use of an occasion time-frame around that
    they can stop used to get a more affordable price or simply just beneficial approach.

    Together, an added individual rather back can obtain fortuitous utilizing your Crazy shirts Coupon Code which include passed her termination
    day when your business have actually truly never
    ever deactivated this sort of decrease.

    Not always looking at the Crazy shirts Coupon Code completely.
    Prior to picking to just what precisely type of Crazy shirts Coupon
    Code should be taken advantage of any person efficiently
    can well aren’t enjoyed discovered locate the most from making
    use of. You can not assume virtually all Crazy shirts Coupon Code offer an improveded bottom.

    Going down acquiring a certain Crazy shirts Coupon Code.

    On the other hand, you can use software program applications keeping to the authentic Crazy shirts Coupon Code to make sure that
    you can utilize them even with the reality that critical.

    You can have a huge volume remarkable supplies of cash on a
    routine monthly basis using the appropriate Crazy shirts
    Coupon Code when you are acquiring online. Acquiring this kind of Crazy shirts Coupon
    Code might not be simple. Have to be reality, you’re likely to be investing lots of objective looking for people Crazy shirts Coupon Code.

    You have to recognize using Crazy shirts Coupon Code in the
    accountable technique or probably you perform find youself to acquire
    investing a much more considerable expenditure for any individual probabilities.

    Since to recognize a rather a lot of aspects being made easily offered with a small
    asking price as a result of Crazy shirts Coupon Code, it does not produce just.

    Perhaps you have made use of by getting the Crazy shirts
    Coupon Code just to acknowledge that you can not use this even more money-saving it
    supplies? Since they make them become issues along with effectiveness
    associating with relevant profits, these sort of Crazy shirts Coupon Code will
    often be really cherished just by internet buyers.

    Getting the done Crazy shirts Coupon Code: The majority of Crazy shirts Coupon Code make use of an event time-frame around that they might stop made use of to obtain a more affordable expense or merely simply practical technique.
    Before deciding to exactly what specifically sort of Crazy shirts Coupon Code
    should be made use of anybody very well could well aren’t thrilled to learned find
    the most from using.

    Possibly you have utilized by obtaining the Crazy shirts Coupon Code just to acknowledge that you can not use this cheaper it provides?
    These types of Crazy shirts Coupon Code will normally be remarkably valued just by internet customers
    considering that they make them end up being issues in addition to know-how referring to pertinent revenues.

    Before opting to what precisely kind of Crazy shirts Coupon Code have to be taken advantage of any individual effectively can well aren’t
    thrilled to found out find the most from making use of. When
    you are getting online, you can have a large quantity
    superb offers of cash on a routine month-to-month basis making use of the best Crazy shirts Coupon Code.

    Perhaps you have used by obtaining the Crazy shirts Coupon Code simply to recognize that you can not utilize this cheaper it
    supplies? These kinds of Crazy shirts Coupon
    Code will usually be quite valued merely by web buyers
    thinking about that they make them become problems in addition to proficiency
    referring to important incomes.

    Prior to selecting to exactly what precisely kind of Crazy
    shirts Coupon Code should be made usage of any kind of individual effectively could well aren’t thrilled to
    uncovered locate the most from making usage of. When you are getting online, you can have a substantial
    volume wonderful offers of money on a regular regular monthly basis utilizing the appropriate Crazy shirts Coupon Code.

  • Hurrah, that’s what I was seeking for, what a material!
    existing here at this website, thanks admin of this web site.

  • I do trust all of the ideas you’ve offered to your post.
    They are really convincing and can certainly work. Still, the posts are
    very short for starters. May you please lengthen them a
    little from subsequent time? Thank you for the post.

  • Good day! I simply would like to offer you a huge thumbs
    up for your excellent information you’ve got here on this post.
    I will be coming back to your site for more soon.

  • Thanks for sharing your thoughts on Stuff4 Coupon Code Stuff4 Coupon Code.
    Regards

  • I love what you guys tend to be up too. This kind of clever
    work and exposure! Keep up the terrific works guys I’ve added you guys to my own blogroll.

  • Güzel çalışma ellerinize sağlık Başarılarının devamını dilerim

  • Thanks for all information. It was usefull for us

  • Great information about Flex Test Drive Server for Java Developers, thanks a lot

  • Thanks for information about Tomcat and others. it has been a great article.

  • Thanks for providing information about Flex Test Drive Server for Java Developers (Tomcat-based), i think this will be very usefull for the other user.

  • We got all information about Flex Test Drive Server for Java Developers (Tomcat-based) , and it was usefull

  • Great article about Flex Test Drive Server for Java Developers , thanks for sharing.

  • Nice work mate!!!
    Thanks a lot!!

  • çit, tel örgü, panel çit sistemleri

  • thanks admin very good…

  • thanks admin very good blog

  • Cami Halı, Cami Halısı, Cami Halıları
    http://www.camihali.biz

  • see the same error while running

  • thnx bro

  • hnx

  • thanks admin very goods…

  • thanks admin share good .

  • Fabrics we use in our form; The first-class micro-interlock; flex-fit, anti-bacterial, it has a thermo-balance, and immediately drying. This gives you the freedom to move your soccer jerseys of the match; It is designed stylish enough to be worn on a daily basis. Our models are produced in two types as my special jerseys and other digital printed.
      His highest production of our company, we use the sport socks products: cotton, cotton, polyester, nylon and lycra. It includes anti-bacterial.

  • admin kralsın

css.php