Flex 2 / Java

I am creating an application that will use Flex2/Data
Services and Java/Spring. Communication will be via RPC.
I will be using Eclipse with the Flex2 plugin.
Should I create 2 separate projects. One for Flex and one for
Java?
Can the source code for the Flex part and Java part be in the
same directory structure or should I contain each project
separately and deploy each project separately?
I haven't been able to find any info on this so if you can
point me to some I would appreciate it.
Thanks

Hi,
i would reccomnd using only 1 project and put all your code
into it. You can use maven2 to build/deploy your application that
way. Furthermore you will have all syntax highlighting available to
you this way.
if you are interested, you can download my (
http://www.wowww.nl/wordpress/?p=58)
example project. It is fully based upon a maven2 structure and
combines the flex and java parts into 1 project.
regards,
Marc

Similar Messages

  • Flex / Java Developer Needed

    Brilig (www.brilig.com) is a fun and exciting startup who are changing the world of online advertising. We are currently looking for a talented and energetic Flex/Java developer to join our team for the key role of front end interface developer. We are located in Manhattan and candidate needs to work onsite. Candidates must be able to work independently and take ownership of their domain. This role may lead to a full-time position as the company expands.
    Experience:
    3 years Flex Builder/Actionscript 3 experience
    At least 5 years Java experience
    Wicket a strong plus
    Experience with Eclipse, Maven, Jetty, Hibernate and SVN a plus
    Any web design experience a plus
    Please include:
    Contract rate
    Availability
    PLEASE NOTE:
    US citizens and Green Card Holders and those authorized to work in the US only. We are unable to sponsor or transfer H-1B candidates.
    Contact:
    Alex Levin, COO
    [email protected]
    About Brilig
    The online advertising industry is in the midst of a disruptive transition from untargeted ad 'space' buys to sophisticated targeted 'audience' buys. While there are many different kinds of data that can be used individually to target consumers, there is currently no way to combine them to get a complete view of a unique consumer.
    The problem is compounded by the fact that audience data exists in different forms, in thousands (maybe millions) of unconnected databases. Brilig is in the business of weaving online audience information together from any data source, wherever it is located. Our service provides a seamless way for publishers (audience sellers) to make their segments available for sale to the open market. Using Brilig, marketers, agencies and behavioral targeters (audience buyers) can access, analyze and combine these audience segments to find lift hidden within the intersection of them and transfer that lift to their online advertising campaigns.

    hi ,i am interested in your project ,i have 3 year's flex experience.please
    tell me more about it.
    eirc

  • Email Registration with Flex/Java/MySql

    Hi!
    I'm developing a Flex/Java/BlazeDS  web application. The DBMS I'm using is MySql.
    I'd like to kwow how could I make the user to register by email.
    They'll have to fill some fields like:
    ID Number
    First Name
    Last Name
    Address
    E-mail Address
    Then they will get an e-mail confirmation, they will click in a link existing in the e-mail, and they will exist in the database, and they will be able to make login, and other operations over the Web.
    Thanks

    Here are some great links that will answer your question:
    http://www.adobe.com/devnet/flex/flex_java.html
    http://learn.adobe.com/wiki/display/Flex/Flex+and+Java
    http://www.adobe.com/devnet/flex/articles/java_flex.html
    http://www.javaworld.com/javaworld/jw-01-2009/jw-01-javaee-flex-1.html
    If this post answers your question or helps, please mark it as such.

  • 'Public' Flex Java API licensing

    Hi all,
    I would like to use the MessageBroker and AsyncMessage classes from Flex Java API to publish messages to a Flex destination from Java classes.
    The library with this API comes in the LiveCycle Data Services release but when i look at this API, it says clear is 'Public'.
    How public is it? Can i use those classes freely for my production application? Is there any license restriction? Same license as for Live Cycle Services?
    I need to know to decide what design i will use to connect or Flex client with our java server, so is really urgent.
    Thanks,
    Dani.

    Looks like things have changed a bit since last week when I posted.
    With the announcement yesterday of BlazeDS (scheduled for release 2008), it seems the libraries mentioned will be available under the LGPL v3, so I believe you may be able to redistribute them (unmodified and probably as a separate installer/archive) under the terms of the LGPL.
    http://labs.adobe.com/technologies/blazeds/
    It sounds like there will be some features not included in the OSS version of Data Services, but from reading the FAQ it seems that the messaging API you mentioned will be included in the LGPL licenced version.

  • Host for Flex/Java projects?

    Can someone recommend a hosting service for Flex/Java MySQL applications (and probably a blog)? I'm creating a portfolio of Flex apps and need some recommendations
    Thanks!

    http://www.fasthit.net/index.cfm/hosting/plan.comparisonMX7

  • Persistence.xml in Hybrid Flex-Java

    Hi all,
    I've started working on a Hybrid project of Flex-Java using a new setup that is available since Flex Builder 3 Final. It creates 1 project that will hold a flex_src folder, java_src folder and WebContent folder where the compiled files will go to using an internal Eclipse Tomcat server.
    Now I want to use persistence.xml for hibernate. But I can't figure out where to place this file inside this project? Is there someone here who does know? Thanks a lot in advance.
    Cheers,
    Rick

    Create a META-INF subdirectory of src and place it in there. This will then be deployed in the resulting WAR file to <appbase>/WEB-INF/classes/META-INF/persistence.xml which is where it needs to end up.

  • Dashboard appln using Flex+Java+MySQL+BlazeDS

    I need to develop a Flex Dashboard application contaning Bar charts, pie charts, line charts which should display the data from MySql Database.
    These charts should be refreshed every 5 minutes. I am comfortable with Java as backend instead of PHP. Do I need to use BlazeDS?
    Can somebody suggest me how to develop this application or send me some sample working code?
    Thanks.

    For a Flex/Java/BlazeDS you can go to this blog http://coenraets.org/, there's a sample app named SalesBuilder that'll be very helpful for you I think. If you're looking for an example about the timer look at the docs what you need to do basically is add a timer setting the interval, add event listener when the timer gets the determined time and then call your services and so, then restart the timer.

  • Advice with Flex-Java

    Hi All,
    I need a little help, I'm starting with Flex and Java, I've experience with php-flex and i need to make a Flex-Java J2ee application using MySql and store procedures... and what i'm asking is that you put me on the right position...
    where can i start ... please tell me what to use i'm totally lost.. on this... what can i use.... please give me any advice....
    Well i'll wait for all your advices....
    Thanks a Lot.... and regards...
    Cesar Glez.

    Here are some great links that will answer your question:
    http://www.adobe.com/devnet/flex/flex_java.html
    http://learn.adobe.com/wiki/display/Flex/Flex+and+Java
    http://www.adobe.com/devnet/flex/articles/java_flex.html
    http://www.javaworld.com/javaworld/jw-01-2009/jw-01-javaee-flex-1.html
    If this post answers your question or helps, please mark it as such.

  • Creating an xdp file from flex/java application

    Hi,
    I have an application in Flex 4  and As 3.When I click a button in flex application I have to generate a file in java with
    extension xdp.When I try this locally(Run as java application) the file is generating  correctly.When i compile the applic
    ation and try it, the file is not writing correctly.Do someone have any idea about creating an xdp file from flex application?
    i am using blazeds to connect java and flex4.When i opens the file in notepad the file is writing correctly.There is only problem in openig an xdp file...
    please help me.

    specifically:
    Runtime.getRuntime().exec("filename.exe")

  • Need help regarding Value Object Concept in flex/java

    I need to map the java objects to flex use value objects in flex.
    The problem is I have a class in java which is referring to another class and again that class referring another class.
    For instance
    Class A
         protected User user;
    Class User
         protected Address address;
    Now I need to map class A to the flex using value object concept and I have to display the user info in the grid as well.
    Need some help to get started.

    You need to set the "scope" property in your remoting destination definition to "session" or "application".

  • GWT meets  Flex:  Java API  for Flex

    Hello people,
    I m  somedays away to release the  version 2.1 of gwt4air. gwt4air is an open source project  based on  gwt (http://code.google.com/webtoolkit/)  and provides a Java API to different platform where Java is not the primary language.
    Version 2.0 added among other features  support for Adobe AIR, Alive PDF, Pure PDF, Aswing and other GWT based  UI libraries like  EXT-GWT
    With version 2.1  i added support for Flex(AIR and Browser). The goal of this approach is to make it easy for Java Developers to switch  to Flex be leveraging  a swing like API. But also to  present an alternative to the classical Flex developement. The overall idea behind this is described here:
    http://code.google.com/p/gwt4air/wiki/Beginn
    A demo application ca be found here: http://gwt4air.appspot.com/
    The application contains around 100 demos with source code illustrating the use of the api.
    I ve tried to keep the API similar to the AS3 api  so one could easely  switch from AS3 to Java and vice versa
    Note that this  flex applicaton is entirely written in Java using gwt4air. No AS3 no MXML.
    The application is still in alpha stage so please expect some errors.
    The project home is located at:
    http://code.google.com/p/gwt4air/
    I m looking forward to hear what you think about this idea. Any inputs (good or bad)  is really welcome
    Help me make this an even better tool.
    It s about time that  Flex rocks the GWT world
    cheers,
    Alain

    It looks like those genius @google are also thinking about a Java(GWT) API for Flash .
    http://www.youtube.com/watch?v=F_sbusEUz5w&t=1718
    Glad to see  that i m not a fool
    Or alteast not the only fool that believe  combining  Java and Flash/Flex is a potent mix.

  • Possible name conflict flex - java

    I have a string property 'comments' in data object A, it was working fine that the data was passing from flex to java, then because of some other properties in A, i need to add @XmlType and propOrder for A, then suddendly 'comments' is always null from flex to java, when other properties are passing ok, after many attempts, i change the property name from 'comments' to some other name and it works again (actual value is passed from flex to java).
    So i am wondering, is it flex, web services, or jaxb that might have a name conflict with 'comments'? I have another property in A that also is null from flex to java, but this one is complex object that has a string property and a byte[] property, and it is null, does anyone have any thoughts/suggestions?
    Thanks
    Shannon

    Thanks Michael, i will take a look. My other property is 'uploadedFile' of a class 'uploadedFile' which has 'data' and 'fileName' properties, so i ended up changing all these names, and now it works.
    Shannon

  • Flex/Java project w/Eclipse Galileo

    Hi,
    I've recently installed Eclipse Galileo and am trying to get a test Flex app using BlazeDS up and running with the Flex Builder plugin.  I've got the exact same project and setup configured with Eclipse Ganymede and everything runs fine, but am completely stuck in getting it to work with Galileo.
    I initially created the Flex Project with the J2EE server option using remote object access with LiveCycle.  I also selected the create combined Java/Flex project using WTP.  I'm using a Glassfish v2.1 server and use the default context root and content folder, and am also pointing it to the blazeds.war file.  This is exactly the same way I set things up with Ganymede.
    When I try to run the project, I get a status 404.  If I go to the Flex Server properties for the project and ask it to validate the location, it says that it can't access the web server.  I know the server is running and has the application deployed and the root folder and URL seem to be correct.
    Is there anything that changed in this area between Ganymede and Galileo?  Can anyone give me any other pointers regarding what to look for to track down the problem?  I've looked at the .flexProperties files and they are exactly the same between the two, other than the workspace I'm using.  I'm really stuck on this and would very much appreciate any help.
    Thanks so much!
    Renee

    Is there no one who can help me. Or is this thread better suited for another topic (and which one)?

  • Opinions about Adobe Flex + Java

    Hello all,
    Has someone experienced using Adobe Flex for building Java web applications? I'm curious how easy is to move from building JSP's and using the standard Java frameworks (like Struts, Spring, Hibernate) to the Adobe Flex technologies? I've read the webservices can be easily intergrated but I don't know how Hibernate can be used in Flex.
    Can someone give me the advantages and disadvantages from their experience?
    Thanks!

    Kamal,
    Have you tried using the SEARCH yet ?
    FYI... I used it and this is what it gives, I hope you can search further for better results.
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=adobe+flex&cat=sdn_all
    Good Luck!
    Sandeep Tudumu

  • Flex - Java Data transfer objects. How do you usually work ? (Brainstorming)

    Hi,
    I would like to explain you how I work and to know how you guys do.
    All this discussion is just an example of how I work. I really want to know how other coders usually work. This way, maybe I can improve my code.
    I would like to know how do you do when you want to retreive data into typed objects when these data contains reference to other typed objects.
    Here is how I always work :
    I want to retreive all my customers into a flex datagrid and to display all information.
    Here is my Customer table structure (just an example)
    id, name, refCompany, refLanguage, refCountry, refCustomerGroup
    refCompany, refLanguage, refCountry, refCustomerGroup are IDs that reference to other tables.
    To ensure to retreive all data into typed object, I make a Customer,Company, Language, Country, CustomerGroup, Flex and Java classes.
    I make a query that looks like : Select * from Customer
    My java code will looks like :
    List<Customer> customers = new ArrayList<Customer>;
    ResultSet rs = myConn.execSelect(query);
    while(rs.next)
         customers.add(new Customer(rs))
    return customers;
    In my Customer class, I have a constuctor that takes a resultSet
    My customer class contains variables (refCompany that is actually a Company object (not an id), refLanguage that is actually a Language object (not an id),... )
    Customer(ResultSet rs)
         this.name = rs.getString("name")
         this.refCompany = new Company.findById(rs.getInt("refCompany"))     //This function returns a Company object
         this.refLanguage = new Language.findById(rs.getInt("refLanguage"))     // This function returns a Language object
    Here is how I always do. I don't know if it is a good way because for each customer found in the database, I will make 4 queries (4 findById to find each object : company, language, country, customerGroup of the current customer).
    But this way is generic, I don't have to make a specific query that will retreive all objects in one time. I select all customers, and in the constructor I select all objects that I have the reference...
    The big problem with this way is when I retreive objects, I always retreive all referenced objects and I do not necessarily want it.
    What do you think about the way I work ? How you guys do ? what is the best practice ?

    up...

  • Problems Flex & Java

    Hi I´m trying to develop a Stock Portfolio Application
    that is this site´s sample:
    http://java.sys-con.com/read/210991.htm
    When I was wrinting the ActionScript code that's used on the
    client (listing 5 from
    http://res.sys-con.com/story/apr06/210991/source.html
    ), i found this error
    A file found in a source-path must have the same package
    structure '', as the definition's package,
    'com.theriabook.jms.dto'. Portfolio_RCP StockQuoteDTO.as
    /Portfolio_RCP/StockQuoteDTO.as 1155827517703 49
    Someone can help me???
    Thanks

    Similar to java, the package name refers to a directory
    structure. The compile error indicates that the package defined
    does not match the directory structure.
    myapp/Portfolio.mxml
    myapp/PortfolioView.mxml
    myapp/com/theriabook/jms/dto/StockQuoteDTO.as

Maybe you are looking for

  • How to import B & W from Photoshop CS2

    Hi, I'm new to this forum, so be gentle! <g> I'm trying to make a slideshow, mixing color and black-and-white images. All of these images are scanned, from prints or slides. The b&w images are then converted from 16-bit RGB to 8-bit grayscale, then e

  • Logic 8 on a powerbook Pro duo 2.5

    I am considering purchasing the new powerbook pro 2.5 duo for use with logic 8. How many instances of EXS/softsynths are people getting before maxing out? I also want to link the New powerbook Pro with my Powerbook G4 to have distributed processing o

  • Control key locks

    i have an hp g-71167dx notebook.  my control key show as being locked and i have to turn off my computer to clear it.  pc is only 6 months old.  are there any solutions ?

  • For direct activation of hierarchy, Aggregates have to be deactivated

    Hi, There are 2 monthly master data hierarchies loaded. We face some problem while loading the hierarchies. Now the 2 hierarchies are seen as Modified version. When I try to activate the hierarchies manually I receive the below message "For direct ac

  • Most of builtin apps including App store disappeared - Restriction is off

    Device: iPhone4S OS: 7.0.6 Hi, I was working with my phone and all of the sudden I was not able to open Safari anymore. I closed all the apps including Safari and tried to reopen the app but no success. I restarted the phone and after that most of my