Flex with Java - DB data access

Hello, folks,
I am developing a Java application and realized that I need
some advice. My application is simple:
I have a MSSQL server, tomcat 5.5 ,flex data services.
In my application , i have two combo boxes.. country, town..
i have populated the country combobox with the values from
DB(country table) obtained using the fill(List ListArgs) in
Assembler Class.
Now, based on the country selected in have to populate my
town combobox from (town table)
How can i populate the town combobox from the DB based on the
country code?
Is there any function to pass the selected index and populate
the town combo box..????
My code is as below:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" >
<mx:DataService id="ds" destination="quick-search-country"
autoCommit="false" autoSyncEnabled="false"/>
<mx:DataService id="tds" destination="quick-search-town"
autoCommit="false" autoSyncEnabled="false"/>
<mx:ArrayCollection id="cntry_list"/>
<mx:ArrayCollection id="town_list"/>
mx:Panel layout="absolute" backgroundColor="#c6daf5"
verticalCenter="0" horizontalCenter="0">
<mx:Form id="SearchForm">
<mx:TabNavigator >
<mx:Canvas label="Hotel" width="339" height="234"
backgroundColor="#ffffff">
<mx:Label x="10" y="91" text="Country :" alpha="0.12"
/>
<mx:ComboBox x="93" y="89" fontSize="10" id="Country"
dataProvider="{cntry_list}"
labelField="countryName"
creationComplete="ds.fill(cntry_list)"
change="tds.getItem(Country.selectedItem)" prompt="United
Kingdom" >
</mx:ComboBox>
<mx:Label x="10" y="126" text="Town / City :"
fontFamily="Georgia" alpha="0.12"/>
<mx:ComboBox id="town" x="94" y="124" fontSize="10"
dataProvider="{town_list}"
labelField="townName" prompt="London WC1" >
</mx:ComboBox>
</mx:Canvas>
</mx:TabNavigator>
</mx:Form>
</mx:Panel>
</mx:Application>
this is my main.mxml . I have CountryAssembler to fill the
country combo and a DAO class . Have a Town assembler..
Please advice me on how to populate the town combo based on
country selected from the DB...
I am really stuck up... and also dont have any documentation
on Flex data services with Java support..
please give me some suggestions on this.
Thanks in Advance,
Ambili

Hi Mete,
Thanks for ur reply , Mete. Your reply helped me a lot. Am
using FDS 2.0.
I have a doubt in combo box area itself.
I have two tables by name country_list and town_list
country_list consists of identity column , country_name and
country_code
town_list has identity column, country_code, town_code and
town_name
Normally while we use combobox in jsp, we have key value
pairs for combo box..
For eg:- if we have a Country combo , we have the country
name(United States) as text displayed and its country code (US) as
key.
So if i select the United States , i will be returned with
the value 'US' so that i can use it in query directly as
Select town_name, town_code from town_list where country_code
='US'
But while using flex , am not able to retieve the
country_code from country combo. its only returning the text and
the id.
Here am forced to write a nested query as follows
Select town_name, town_code from town_list where country_code
=( Select country_code from country_list where country_name='United
States')
Is there any way to get the country_code as key while i
select the country from country combo .
And also how to keep 'United States' as selected during the
intial load of the page.
<mx:ArrayCollection id="cntry_list"/>
<mx:ComboBox x="93" y="89" fontSize="10" id="Country"
dataProvider="{cntry_list}"
labelField="countryName"
creationComplete="ds.fill(cntry_list)"
prompt="Select Country" />
please give me some suggestions on this.
Thanks in Advance,
Ambili

Similar Messages

  • @Embeddable with java.uitil.Date in JPQL (limitations ?)

    I'm facing with problem regarding using java.util.Date in JPQL query.
    Here are sample entities for test case:
    @Embeddable
    public class EmbCompTest implements Serializable{
         private static final long serialVersionUID = 1L;
         @Temporal(TemporalType.DATE)
         private Date beginPeriod;
         @Temporal(TemporalType.DATE)
         private Date endPeriod;
                       // getters and setters goes here (...)
    @Entity
    @Table(name="TEST_DATE")
    @NamedQueries(
       @NamedQuery(name="getByDate",query="select e from TestDate e where e.beginDate=:beginDatePm"),
       @NamedQuery(name="getByDate2",query="select e from TestDate e where e.emb.beginPeriod=:beginPeriodPm")
    public class TestDate {
         private static final long serialVersionUID = 6651720114733319974L;
         @Id
         private Long id;
         @Temporal(TemporalType.DATE)
         private Date beginDate;
         @Temporal(TemporalType.DATE)
         private Date endDate;
         @Embedded
         private EmbCompTest emb;
                         // getters and setters goes here (...)
    The problem is in named query getByDate2 which causes persistence unit fail to start with exception
    Caused by: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Method must not be called with
    argument "java.util.Date" or "java.util.Calendar"
    Is that some SAP JPA limitation that makes unable to query by date defined in @Embeddable classes ?
    Of course query getByDate works fine.
    Best Regards
    Daniel

    Hi Daniel,
    the query getByDate2 is OK and should work. This looks like a bug to me. If you have access to OSS, please file a ticket on BC-JAS-PER-JPA.
    Have you tried typing beginPeriod with java.sql.Date. This might work. (I have not tried).
    -Adrian

  • What's wrong with java.util.Date type?

    Hi!
    When I try to persist object having field of type java.util.Date I get the
    following SQL logged by Kodo with subsequent transaction rollback:
    2002-11-14 15:03:35,099 INFO
    [com.solarmetric.kodo.impl.jdbc.ee.ManagedConnecti
    onFactoryImpl.supportcrm/kodo] INSERT INTO BILLY.TT_COMMENTS(COMMENT_TYPE,
    TEXT,
    CREATED_BY, ID, SUBJECT, CREATE_DATE, TT_MAIN_ID) VALUES (1, '1', 10, 279,
    '1',
    {ts '2002-11-14 15:03:35.059'}, 147)
    When I change "{ts '2002-11-14 15:03:35.059'}" with "TO_DATE('2002-11-14
    15:03', 'YYYY-DD-MM HH24:MI')" in SQL editor
    and execute it everything works fine.
    What does "{ts '..'}" mean? Is it a SQL generation error?
    Thank you in advance.
    Best regards,
    Alexey Maslov

    I've created my own dictionary with dateToSQL() method overridden.
    Now it works fine. But it's a kind of strange. Oracle is used often and my
    JDBC drivers
    are the most recent (at least, from the oracle.com).
    Anyway, thank you again.
    "Alexey Maslov" <[email protected]> wrote in message
    news:[email protected]...
    Patric,
    Thank you for response.
    We're using Oracle 8.1.7 via OCI driver from Oracle 9.2.
    I've already tried 2.4.0 and it works fine there but I've found another
    problem there
    preventing me from using it. See my post in solarmetric.kodo.betanewsgroup.
    >
    "Patrick Linskey" <[email protected]> wrote in message
    news:[email protected]...
    That's odd -- what version of Oracle are you using?
    Moving to Kodo JDO 2.4.0
    (http://www.solarmetric.com/Software/beta/2.4.0) will almost certainly
    get rid of this problem, as we use exclusively prepared statements in
    it, and therefore pass dates etc. to JDBC as parameters.
    But, to get things working with your Oracle database and Kodo JDO 2.3,
    you could create your own extension of OracleDictionary and override the
    dateToSQL() method to generate the appropriate TO_DATE() syntax. See our
    documentation for more details on creating custom database dictionaries.
    -Patrick
    Alexey Maslov wrote:
    I've added TRACE level logging for transactions in JBoss and got
    original
    exception:
    NestedThrowables:
    com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT
    INTO
    BILLY.T
    T_MAIN(TT_SOLUTION_ID, DELAY_REASON, TT_STATE_ID, ID, CONTACT_PHONE,
    CANCEL_REAS
    ON, OPER_DESCR, TT_TYPE_ID, CREATED_BY, EXP_CLOSE_DATE,SERV_OPEN_DATE,
    OPEN_DAT
    E, FLAGS, TAKEN_BY, TT_CAT_ID, SUBJECT_ID, SUBJECT, SERV_CLOSE_DATE)
    VALUES
    (NUL
    L, NULL, 1, 439, NULL, NULL, '____________ ________________ ________________', 7, 5, {ts
    '2002-11-14 1
    8:38:16.075'}, NULL, {ts '2002-11-14 18:18:16.075'}, 0, NULL, 11,24099,
    '1', NU
    LL)] ORA-00904: invalid column name
    at
    com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal(SQLEx
    ceptions.java:17)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.insert(JDBCSt
    oreManager.java:421)
    at
    com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.insert(D
    ataCacheStoreManager.java:265)
    at
    com.solarmetric.kodo.runtime.StateManagerImpl.insert(StateManagerImpl
    ..java:1783)
    atcom.solarmetric.kodo.runtime.PNewState.flush(PNewState.java:31)
    at
    com.solarmetric.kodo.runtime.StateManagerImpl.flush(StateManagerImpl.
    java:372)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(Persistence
    ManagerImpl.java:426)
    at
    com.solarmetric.kodo.ee.EEPersistenceManager.beforeCompletion(EEPersi
    But when I try to execute the statement above against the database
    manually
    everything works fine.
    I'm absolutely desperate!
    P.S. On 2.4.0 RC the operation invoking this database insert completes
    fine.
    "Alexey Maslov" wrote in message
    news:[email protected]...
    Hi!
    When I try to persist object having field of type java.util.Date I
    get
    the
    following SQL logged by Kodo with subsequent transaction rollback:
    2002-11-14 15:03:35,099 INFO
    [com.solarmetric.kodo.impl.jdbc.ee.ManagedConnecti
    onFactoryImpl.supportcrm/kodo] INSERT INTOBILLY.TT_COMMENTS(COMMENT_TYPE,
    TEXT,
    CREATED_BY, ID, SUBJECT, CREATE_DATE, TT_MAIN_ID) VALUES (1, '1',
    10,
    >>>
    279,
    '1',
    {ts '2002-11-14 15:03:35.059'}, 147)
    When I change "{ts '2002-11-14 15:03:35.059'}" with
    "TO_DATE('2002-11-14
    15:03', 'YYYY-DD-MM HH24:MI')" in SQL editor
    and execute it everything works fine.
    What does "{ts '..'}" mean? Is it a SQL generation error?
    Thank you in advance.
    Best regards,
    Alexey Maslov
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Best regards,
    Alexey Maslov

  • Flex with Ruby or Flex with Java

    Hi,
    I need to use SNMP/SLP protocols in my application.
    So i have plan to develop the Applcation using Flex and Ruby or Flex and Java(HttpServices). In future the applicaiton may need enhanced.
    please any one of you help me , which one is the bset way to develop the applcation.
    Thanks,
    Ravi

    I would go with whatever backend is more familiar to the developers and to the ones who will have to updates the application.

  • Flex with JAVA - Query?

    Dear Experts,
    I would like to develop one small CRM Product using JAVA Programming Language, However which concepts of Java to be used for development is still on it's way to Identify. recently I heared of Adobe Flex concept and have done enough research to explore the use and it's quite interesting.
    I though to Use Adobe Flex (Flash Builder) as an User Interface (UI) for my application for attractive look and feel, where as business logic should be in JAVA program. UI has to receive User commands from front-end and process to back-end application logic for processing.
    Can anybody kindly advise on bellow of my doubts:
    1. Is Flex Professional user License is just enough to build my application or anyother components to buy to integrate with JAVA/J2EE Code i.e. Live Cycle Services?
    2. Use of Live Cycle Services and it's Cost per User/CPU?
    3. Validity period of Flex Builder License (Life time or Specific period)
    4. How can I get more detailed information on Product, Services etc., from Adobe and it's contact number. as I'm in India.
    Kindly advise on my above queries and it would be a great help.. Many Thanks in advance.
    Best regards,
    Srujan

    Hi,
    Please fallow following link
    http://www.adobe.com/devnet/flex/articles/flashbuilder_blazeds.html
    thanks,
    atul ([email protected])

  • Getting error by ValueBinding with java.util.Date

    Hi.
    1. my english is not so good.
    I develop a JSF-application to learn more about JSF-technologie.
    I use Eclipse 3.2
    Plugins: Web Tools Platform (WTP), Web Standard Tools, Java Server Faces // Version 1.5.0
    JRE: 1.5
    java-impl.jar and java-api.jar (sun)
    Look at this JSP-File Code
    <h:inputText id="dbirth" value="#{dataBean.dbrith}"> </h:inputText>
    this produce an error: EL expression does not evaluate to expected types for this attribute
    dataBean is a ManagedBeain. So if I use any athor variable from this Bean like:
    <h:inputText id="sname" value="#{dataBean.sname}"> </h:inputText>
    is going well. But if I use any java.util.Date variable it produce the error.
    I tried with other Bean and the error is still there.
    I can compile and use this JSP, but this error is there.
    Have any one an idea what is happen there??
    I looked at Eclipse forums, but I didnt found description for an error like this..
    thanks for any help...
    naba
    Message was edited by:
    NamboTango

    The problem is because you have bound the inputText to a java.util.Date object, instead of a String. You must use Strings with inputText. However, JSF has provided a way for you to convert objects into a String. It just needs to know how to do that. Luckily for you, there is a converter already available to convert a Date object into a String. Converters will also take input Strings and convert them into an object.
    So, in your case, use the convertDateTime tag. Like this:
    <h:inputText id="dbirth" value=#{dataBean.dbrith}">
         <f:convertDateTime type="date" pattern="MMM dd, yyyy" />
    </h:outputText>Try it. You may change the pattern to whichever valid one you like.
    CowKing

  • Problem with java.tuil.Date.

    Hi all
    I am in strange problem.
    I want to convert java.util.Date object to this format :
    MM/dd/yyyy
    but the condition is i should not convert it to String type or any other type.
    My method should return Date object.
    Any body has any idea.
    Thanx in advance.

    Thanx for ur reply sir.
    The actual problem is i am using hibernate with struts.
    I have a bean called News Bean.
    In the database(SQL Server i have a datetime field called createdon.
    Now struts actionform doesnt support java.util.Date .
    So i have to convert this string value from actionform in java.util.Date(in MM/dd/yyyy formate) and then assigning it to my bean before saving the values in database.
    I have done it and its working fine.
    But now the original problem is coming while updating the things(specialy date field) .
    When i update, the struts jsp page is showing the record from the database and the date is coming in the formate yyyy-mm-dd , which is strang as i have save it with mm/dd/yyyy formate.
    To rectify this i m modifying the bean's getter method for date so that it should return the date with mm/dd/yyyy formate.
    For this i am converting date to string first of all then trying to convert it into date with mm/dd/yyyy format.
    But this is not working .
    Here i m getting problems.
    And unable to solve it
    i have enough search on the net.
    please help if u can

  • Poblem with java.sql.Date while inserting to a table

    Hi All,
    I have a PostgreSQL database table which contains fields(columns ) of type date. I want to insert values to the table in the[b] �dd-MMM-YYYY� format using the prepared statement.
    My code is as follows
    java.text.DateFormat dateFormatter =new java.text.SimpleDateFormat("dd-MMM-yyyy");
    String formatedDate=dateFormatter.format(theDate);
    currentDate = new java.sql.Date(dateFormatter.parse(formatedDate).getTime())
    �������������������
    �������������������
    �������������������
    pst.setDate(12,currentDate);The problem is the currentDate variable gives date only in the �YYYY-MMM-dd� format but requirement is the currentDate variable should give date in the �dd-MMM-YYYY� format and this should be save to table as java.sql.Date type
    There is any solution???? please help me...
    Thanks and Regards,
    Hyson_05

    Hi,
    What are you talking about? A Date does always wrap a millisecond value, and doesn't have any formatting. It's the database, or your program which formats the date that you see.
    In short. You should format the value when you print it, and not when you store it.
    Kaj

  • What's wrong with java.util.Date??

    Hi all,
    I was just practicing a bit of java.util ,when i was compiling my code-
    import java.util.Date;
    import java.text.SimpleDateFormat;
    class DateStamp{
    public static void Main(String args[]){
    doDate1;
    String D;
    int D1,D2,D3;
    Date dt=new Date();
    SimpleDateFormat sdf=new SimpleDateFormat("dd-mm-yyyy");
    /*When using method .setDate(x) ,is x an integer or String?can x=2/5/2002 or 2-5-2002?*/
    public void doDate1{
    dt.setDay(12);
    dt.setMonth(12);
    dt.setYear(102);
    D=dt.getTime();
    D.parseInt(D1);D=""
    D=sdf.getTime();
    D.parseInt(D2);
    int D3=D2-D1;
    int D3=D3/86400000;/*How do you convert milisec-to-days?*/
    D=D3.toString().
    System.out.println(D+"days have elapsed since then");
    the compiler said this-
    File Compiled...
    --------------------------- Javac Output ---------------------------
    DateStamp.java:7: Invalid expression statement.doDate1;^DateStamp.java:14: Instance variables can't be void: doDate1public void doDate1; ^2 errors
    this problem is persistant, and i'm a java newbie ,Does anyone know what's wrong here?
    Thanks!
    Regards,
    aesh83

    How do you get System date onto a Date variable?Calendar.getInstance().getTime() returns a java.util.Date for the current time. You can also use System.currentTimeMillis() and turn it into a Date.
    Will date.after(Date when) method work when Date
    variables are in milisecs?Date.after(Date when) compares two date objects. As the JavaDoc says "Returns:
    true if and only if the instant represented by this Date object is strictly later than the instant represented by when" To me that says that milliseconds are taken into account, I.E. comparing dates actually compares the date plus the time portion.
    >
    What methods-
    *Convert a date(dd/mm/yy) to milisec?If you look in the javaDoc you'll see "long getTime() Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this Date object." Calendar also has the getTimeInMillis() method.
    *Convert a milisec value to a date(dd/mm/yy)?Calendar.setTimeInMillis(long);
    I'm have this little problem.
    When using GregorianCalander-
    *need to initialize?
    *need set today's date?Calendar.getInstance() will return an appropriate Calendar object for the current locale initialized to the current date/time.
    *how do you check if a date exceeds 3 weeks?I'm not sure what you mean. There are a couple of roll(...) methods that will allow you to add a unit of time to a date. I.E. you could add three weeks to a date.
    To ignore the time portion of a date just set the time to "00:00"
    Col

  • Login security in flex with Java

    Hi ,
    I am looking for login secruity with session in flex.
    Thanks,
    Alok

    If you want to use Java as the back end, you have BlazeDS and
    LiveCycle Data services to make your programming simpler. BlazeDS
    and LCDS will allow you to invoke the Java classes from the Flex
    application. For more details on BlazeDS and LCDS visit the URLs
    below.
    http://www.adobe.com/products/livecycle/dataservices/
    http://opensource.adobe.com/wiki/display/blazeds/BlazeDS
    Hope this helps.

  • Using Flex Performance Profiler for Profiling Flex  with Java Applications

    Hi , I am planning to use Flex Profiler to profile my Application .
    I have developed a sample Application using Flex MXML ,some ActionScript classes for Events and Cairngorm , Java , Oracle as database and Blazeds . 
    Can i use Flex Performance Profiler to Profile my Application . ?? I am asking this question as i ad read the below line from Adobe site and My Application includes java Methods 
    "You can use the profiler to profile ActionScript 3.0 applications " Can anybody please tell me What does this mean ?? and can i use the Flex Performnace Profiler . Please suggets me .

    Thanks Karl for the prompt response .
    I am making a call to a Java Method from my Action Script function , or getting data from Java Method into the ActionScript function .
    So my question  is , will the Flex Profiler will be applicable in this case as it internally calls Java Methods .

  • Adobe Flex with Java webdynpro

    Hello,
    I like to use Adobe flex applications for my webdynpro java projects which then later I can use in portals. I need some learning materials for that. I was looking from google but I haven't found many sources. if you guys can help me out then It would be great.
    Regards,
    NK

    Hi Bala,
    Adobe Flex is not similar to Java Webdynpro. You can get more information from the Adobe Webpage and also a trial version. Adobe Flex is part of Visual Composer Compiler capabilities. At SAP TechEd in Munich was an interessting demo of rendering webdynpro with Flex during the Demo Jam. For more information you can download the Demo Jam Video <a href="http://www.sapteched.com/emea/activities/videos/DemoJam.wmv">here.</a>
    Best Regards,
    Marcel

  • Problems with JbuilderX anda Data Access componentes

    Hi everyone, i�m working with JBuilderX Foundation, I�m trying to create an applet wich can access to a database, when I run de project with F9 key, its work right but when I compile it and try to run from a html page its doesn�t work, and the java console shows me the following error:
    General Exception
    NoDefClassFound:com/borland/database/DataSet.
    Thanks

    Put that .class file or JAR in your CLASSPATH for JBuilder.
    %

  • Flex with java compilation

    hi
    i have done flex project which contains a videoplayer and some informations.
    i have used j2ee server using lcds.
    when i run a build.xml file that time the following error occurs
    Buildfile: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build.xml
    Trying to override old definition of datatype resources
    prepare:
        [mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build
        [mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\WEB-INF
        [mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\WEB-INF\classes
        [mkdir] Created dir: E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\html
         [copy] Warning: META-INF\MANIFEST.MF modified in the future.
         [copy] Warning: WEB-INF\flex\messaging-config.xml modified in the future.
         [copy] Warning: WEB-INF\flex\proxy-config.xml modified in the future.
         [copy] Warning: WEB-INF\flex\remoting-config.xml modified in the future.
         [copy] Warning: WEB-INF\flex\services-config.xml modified in the future.
         [copy] Warning: WEB-INF\lib\backport-util-concurrent.jar modified in the future.
         [copy] Warning: WEB-INF\lib\cfgatewayadapter.jar modified in the future.
         [copy] Warning: WEB-INF\lib\commons-codec-1.3.jar modified in the future.
         [copy] Warning: WEB-INF\lib\commons-fileupload-1.2.1.jar modified in the future.
         [copy] Warning: WEB-INF\lib\commons-httpclient-3.0.1.jar modified in the future.
         [copy] Warning: WEB-INF\lib\commons-io-1.4.jar modified in the future.
         [copy] Warning: WEB-INF\lib\commons-logging.jar modified in the future.
         [copy] Warning: WEB-INF\lib\concurrent.jar modified in the future.
         [copy] Warning: WEB-INF\lib\flex-messaging-common.jar modified in the future.
         [copy] Warning: WEB-INF\lib\flex-messaging-core.jar modified in the future.
         [copy] Warning: WEB-INF\lib\flex-messaging-opt.jar modified in the future.
         [copy] Warning: WEB-INF\lib\flex-messaging-proxy.jar modified in the future.
         [copy] Warning: WEB-INF\lib\flex-messaging-remoting.jar modified in the future.
         [copy] Warning: WEB-INF\lib\mxmlc.jar modified in the future.
         [copy] Warning: WEB-INF\lib\xalan.jar modified in the future.
         [copy] Warning: WEB-INF\web.xml modified in the future.
         [copy] Warning:  modified in the future.
         [copy] Warning: META-INF modified in the future.
         [copy] Warning: WEB-INF modified in the future.
         [copy] Warning: WEB-INF\classes modified in the future.
         [copy] Warning: WEB-INF\flex modified in the future.
         [copy] Warning: WEB-INF\lib modified in the future.
         [copy] Warning: WEB-INF\src modified in the future.
         [copy] Copying 24 files to E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build
         [copy] Copied 9 empty directories to 1 empty directory under E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build
         [copy] Warning: AC_OETags.js modified in the future.
         [copy] Warning: assets\namastecue.flv modified in the future.
         [copy] Warning: history\history.css modified in the future.
         [copy] Warning: history\history.js modified in the future.
         [copy] Warning: history\historyFrame.html modified in the future.
         [copy] Warning: icons\16calendar.gif modified in the future.
         [copy] Warning: icons\16chat.gif modified in the future.
         [copy] Warning: icons\16clock.gif modified in the future.
         [copy] Warning: icons\16dairy.gif modified in the future.
         [copy] Warning: icons\16files.gif modified in the future.
         [copy] Warning: icons\16mail.gif modified in the future.
         [copy] Warning: icons\16minus.gif modified in the future.
         [copy] Warning: icons\16minus.png modified in the future.
         [copy] Warning: icons\16news.gif modified in the future.
         [copy] Warning: icons\16next.gif modified in the future.
         [copy] Warning: icons\16pad.gif modified in the future.
         [copy] Warning: icons\16percent.gif modified in the future.
         [copy] Warning: icons\16percent.png modified in the future.
         [copy] Warning: icons\16plus.gif modified in the future.
         [copy] Warning: icons\16plus.png modified in the future.
         [copy] Warning: icons\16previous.gif modified in the future.
         [copy] Warning: icons\16previous.png modified in the future.
         [copy] Warning: icons\16tag.gif modified in the future.
         [copy] Warning: icons\16tag.png modified in the future.
         [copy] Warning: icons\32calendar.gif modified in the future.
         [copy] Warning: icons\32calendar.png modified in the future.
         [copy] Warning: icons\32chat.gif modified in the future.
         [copy] Warning: icons\32chat.png modified in the future.
         [copy] Warning: icons\32clock.gif modified in the future.
         [copy] Warning: icons\32clock.png modified in the future.
         [copy] Warning: icons\32dairy.gif modified in the future.
         [copy] Warning: icons\32dairy.png modified in the future.
         [copy] Warning: icons\32files.gif modified in the future.
         [copy] Warning: icons\32files.png modified in the future.
         [copy] Warning: icons\32mail.gif modified in the future.
         [copy] Warning: icons\32mail.png modified in the future.
         [copy] Warning: icons\32minus.gif modified in the future.
         [copy] Warning: icons\32minus.png modified in the future.
         [copy] Warning: icons\32news.gif modified in the future.
         [copy] Warning: icons\32news.png modified in the future.
         [copy] Warning: icons\32next.gif modified in the future.
         [copy] Warning: icons\32next.png modified in the future.
         [copy] Warning: icons\32pad.gif modified in the future.
         [copy] Warning: icons\32pad.png modified in the future.
         [copy] Warning: icons\32percent.gif modified in the future.
         [copy] Warning: icons\32percent.png modified in the future.
         [copy] Warning: icons\32plus.gif modified in the future.
         [copy] Warning: icons\32plus.png modified in the future.
         [copy] Warning: icons\32previous.gif modified in the future.
         [copy] Warning: icons\32previous.png modified in the future.
         [copy] Warning: icons\32tag.gif modified in the future.
         [copy] Warning: icons\32tag.png modified in the future.
         [copy] Warning: icons\Thumbs.db modified in the future.
         [copy] Warning: icons\alternative_energy.gif modified in the future.
         [copy] Warning: icons\alternative_energy.png modified in the future.
         [copy] Warning: icons\butterfly.gif modified in the future.
         [copy] Warning: icons\butterfly.png modified in the future.
         [copy] Warning: icons\cloud.gif modified in the future.
         [copy] Warning: icons\forward.png modified in the future.
         [copy] Warning: icons\icon_profile_graduate.gif modified in the future.
         [copy] Warning: icons\icon_profile_graduate.png modified in the future.
         [copy] Warning: icons\icon_profile_man_emp.gif modified in the future.
         [copy] Warning: icons\icon_profile_man_emp.png modified in the future.
         [copy] Warning: icons\icon_profile_woman_emp.gif modified in the future.
         [copy] Warning: icons\icon_profile_woman_emp.png modified in the future.
         [copy] Warning: icons\icon_progress.gif modified in the future.
         [copy] Warning: icons\icon_progress.png modified in the future.
         [copy] Warning: icons\idea_icon.gif modified in the future.
         [copy] Warning: icons\idea_icon.png modified in the future.
         [copy] Warning: icons\imagelast1.png modified in the future.
         [copy] Warning: icons\leaf.gif modified in the future.
         [copy] Warning: icons\leaf.png modified in the future.
         [copy] Warning: icons\mute.png modified in the future.
         [copy] Warning: icons\next .png modified in the future.
         [copy] Warning: icons\pause.png modified in the future.
         [copy] Warning: icons\pause_grey.png modified in the future.
         [copy] Warning: icons\pausenew.png modified in the future.
         [copy] Warning: icons\play.png modified in the future.
         [copy] Warning: icons\play_big.png modified in the future.
         [copy] Warning: icons\play_grey.png modified in the future.
         [copy] Warning: icons\playicon.png modified in the future.
         [copy] Warning: icons\prev.png modified in the future.
         [copy] Warning: icons\repeat.png modified in the future.
         [copy] Warning: icons\replay.png modified in the future.
         [copy] Warning: icons\rewind.png modified in the future.
         [copy] Warning: icons\save_fuel.gif modified in the future.
         [copy] Warning: icons\stop.png modified in the future.
         [copy] Warning: index.html modified in the future.
         [copy] Warning: playerProductInstall.swf modified in the future.
         [copy] Warning:  modified in the future.
         [copy] Warning: assets modified in the future.
         [copy] Warning: history modified in the future.
         [copy] Warning: icons modified in the future.
         [copy] Copying 89 files to E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\html
    build:
        [javac] Warning: vid\DAOException.java modified in the future.
        [javac] Warning: videocue\videoServiceDAO.java modified in the future.
        [javac] Warning: videocue\videoVO.java modified in the future.
        [javac] Compiling 3 source files to E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build\WEB-INF\classes
    BUILD FAILED
    E:\Documents and Settings\Kavi Priya\Adobe Flash Builder 4\VideoPlayer\build.xml:79: Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK.
    It is currently set to "E:\Program Files\Adobe\Adobe Flash Builder 4\jre"
    Total time: 500 milliseconds
    how i rectify this problem
    regards
    athi

    Hi,
    Please fallow following link
    http://www.adobe.com/devnet/flex/articles/flashbuilder_blazeds.html
    thanks,
    atul ([email protected])

  • FLEX with java

    I have an java object which returns a map and its a stand
    alone application how can i call java object in a flex application.
    any sample code is really helpfull for me.
    Thanks in advance
    Poorna.

    BlazeDS is your best bet. Try this tutorial,
    http://www.flexlive.net/?p=92

Maybe you are looking for