How do I make synchronous data calls

Hi for making synchronous call with java method from as file
i got example from
http://www.adobe.com/devnet/flex/articles/flexfaq.html
link 31Q. But i am not able to set with mxml file(how to). Can
anybody send me the sample example code for this.
Thanks

Flex allows you to invoke remote calls to your business tier
in either an asynchronous or synchronous manner. By using an
asynchronous remote call, the user has the ability to perform some
action on the client and not be blocked as happens in traditional
web applications. You can block the user from interacting with the
UI using synchronous calls where appropriate.
i think here is the perfect tutorial for u on this link
http://www.onjava.com/pub/a/onjava/2004/12/01/flexjava.html?page=2

Similar Messages

  • How do I make a phone call from my mac with yosemite?

    How do I make a phone call from my MacBook Pro on the Yosemite operating system?

    The following quotation is from Connect your iPhone, iPad, iPod touch, and Mac using Continuity
    There is more information in the link, including supported hardware and that you must have Settings > FaceTime > iPhone Cellular Calls set to on on the iPhone.
    Phone calls
    With Continuity, you can make and receive cellular phone calls from your iPad, iPod touch, or Mac when your iPhone is on the same Wi-Fi network.
    To make and receive phone calls, here's what you need:
    Sign in to the same iCloud account on all your devices, including your Mac.
    Your iPhone and your iPad or iPod touch need to use iOS 8 or later. Your Mac needs to use OS X Yosemite.
    All devices must be on the same Wi-Fi network.
    All devices must be signed in to FaceTime using the same iCloud account. This means any device that shares your Apple ID will get your phone calls. Look below for instructions on how to turn off iPhone cellular calls.
    Wi-Fi Calling needs to be off. Go to Settings > Phone. If you see Wi-Fi Calling, turn it off.
    Make a call
    To make a phone call on your Mac, iPad or iPod touch tap or click a phone number in Contacts, Calendar, or Safari.

  • How do you make your data into a chart?

    How do you make your data into a chart?

    Dick,
    Your table should look like this:
    You're looking at 1 Header Row and 1 Header Column. Headers are shaded by default. Adding a shading to a regular column doesn't make it a header. Use the Table Inspector.
    When you Select the data and Insert a Table, you will get this:
    Got it?
    Jerry

  • How do i make a DATA file in garage band

    ok here is what im trying to do. i need to make a DATA file in garage band and i need to make it possible for the DATA file to be used on Pro Tools so the song can be mixed and mastered. any tips on how to do this?
    LISA

    What I assume you are trying to do is export a MIDI file. GarageBand does not do this, and I don't know of any add-ons which allow it (MidiO allows you to play out MIDI to an external device so you might be able to route this to ProTools). Of course if you do this you won't be using the instruments which are in GB, and the results you get will depend on what you have available in ProTools.
    However you can export GarageBand tracks as audio and them mix them in another program. I do this in Cubase LE because its mixing facilities are way better than GarageBand's. This note will tell you how to do it, just substitute ProTools for Cubase:
    http://homepage.mac.com/rfwilmut/notes/GBtoCubase.html

  • How can I make the data persistent when using plist ?

    I have a UITableView table1. And when I touch any cell in the table a new UIViewController appears and it have two UITextField's name and description. After entering the data in both the text fields I used the save button to save them. In save method I wrote the code for the data to be stored in plist.
    -(void)save:(id)sender
    indexOfDataArray = temp;
    NSString *string1 = [[NSString alloc]init];
    NSString *string2 = [[NSString alloc]init];
    string1 = nameField.text;
    string2 = descriptionField.text;
    NSDictionary *myDict = [[NSDictionary alloc] initWithObjectsAndKeys:string2, string1, nil];
    [myArray addObject:myDict];
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *documentsDirectory = [paths objectAtIndex:0];
    NSString *path = [documentsDirectory stringByAppendingPathComponent:@"VideoData.plist"];
    [myArray writeToFile:path atomically:YES];
    UIAlertView *alertMesage = [[UIAlertView alloc] initWithTitle: @"Save Alert" message:@"The data entered is saved" delegate:nil cancelButtonTitle:@"cancel" otherButtonTitles:nil] ;
    [alertMesage show];
    [alertMesage release];
    [myArray retain];
    But the problem is every time I restart my application the data in the plist is deleted. How can I retain the data in the plist name I specified ?

    I think yes, I am specifying only one file name to store in the path. I understood my where I am wrong.
    If I added data in plist for two items(item1 and item2). And again I need to add next two items(item3 and item4) . How can I make item3 and item 4 do not replace item1 and item2 ?
    Thank You.

  • How can i make a video call to non iPhone users like Noika etc in India they dont have Face time software on the devices

    hi
    i bought new iPhone 4 after long association with Nokia mobiles but one thing is puzzling me how to make a video call from my iPhone to my other friends who use Nokia E 5/6/7 and make video calls easily
    I have 3G connection even my iPhone is not recieving or making any video call
    can some one already using this facility help me out
    sanjay from jaipur

    I havn't got it, but have you tried the Skype for iPad app ? - http://itunes.apple.com/us/app/skype-for-ipad/id442012681?mt=8#

  • How can i make requirement date in component take the actual day date??

    hello evry one >>>
    why requirement date in component ( service order ) dose not take the
    actual day date when we Withdrawn part from stock >>>> how can i make
    the requirement date take the day date automaticly without change it
    from offset field
    for example :
    when i withdrawn apart in (old service order) .. the requirement date
    take the old date or ( the service order date ) and it dosen't tack
    the day date ( day when i withdrawn part )
    please i whant help & thank you . good luck
    .... omar gamar ...

    Wrong forum:
    http://www.microsoft.com

  • HT204380 How can I make my iphone4 call my contact's email on her ipad and not her phone (which is not a smart phone) when both info is in my contact list

    When I use my iphone4 to call a contact on her mini ipad it seems to use her phone number from my contact list and this is not a smart phone or in use where she is.  How can I make my phone use the e-mail address to call her on her wifi connection.  

    pdroth wrote:
    You're off base... I know what this problem is, and I provided the workaround for her.
    Then why was the OP able to make the facetime calls before, with both items in a single contact then (if I am reading his posts correctly)?  I know I do not have to separate my contacts like that, and I do facetime with a couple of relatives with wifi only iPads (usually from my own iPad 4 or MBP, but I've done it once or twice from my iPhone 5 - all of which use the exact same contact entries).
    Is this a quirk specific to an iPhone 4?

  • How do i make a phone call from my mac

    i can't make a phone call from my mac nor receive phone calls

    NO my mac is on a different wi-fi than my phone

  • How do I make a facetime call to my macbook pro

    How do I place a facetime call to my laptop from my iphone.
    Thx, Steve

    http://support.apple.com/kb/ht4319

  • How do i make UNIX system calls in Java app?

    Is it possible to make UNIX system calls in a java app? I.E. perform a file copy/move to another machine within a program.
    Thanks,
    Erik

    If there is a command line tool then you use Runtime.exec() otherwise you have to use JNI.
    If you want to access shared libraries you might want to look at www.swig.org

  • How do I make a data disk using Disk Utility (Panther 10.3.9)

    I am trying to back up some of my data to disks, so I can upgrade my OS to Leopard. I have done this in the past but either forgot how or it isn't working right (some things are not working right on my computer at present..?? my Final Cut Pro won't open, that's why I decided to upgrade) Could you please tell me how it is supposed to work. I think I have made a disk image okay but when I highlight it in disk utility and hit burn it says invalid argument?? If I install Leopard will I loose all my files?

    Not necessarily, but you should never do a major upgrade without having a bootable backup of your system. In fact you should never be without backups:
    Basic Backup
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    1. Retrospect Desktop (Commercial - not yet universal binary)
    2. Synchronize! Pro X (Commercial)
    3. Synk (Backup, Standard, or Pro)
    4. Deja Vu (Shareware)
    5. PsynchX 2.1.1 and RsyncX 2.1 (Freeware)
    6. Carbon Copy Cloner (Freeware - 3.0 is a Universal Binary)
    7. SuperDuper! (Commercial)
    8. Intego Personal Backup (Commercial)
    9. Data Backup (Commercial)
    The following utilities can also be used for backup, but cannot create bootable clones:
    1. Backup (requires a .Mac account with Apple both to get the software and to use it.)
    2. Toast
    3. Impression
    4. arRSync
    Apple's Backup is a full backup tool capable of also backing up across multiple media such as CD/DVD. However, it cannot create bootable backups. It is primarily an "archiving" utility as are the other two.
    Impression and Toast are disk image based backups, only. Particularly useful if you need to backup to CD/DVD across multiple media.
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore. Also read How to Back Up and Restore Your Files.
    Although you can buy a complete FireWire drive system, you can also put one together if you are so inclined. It's relatively easy and only requires a Phillips head screwdriver (typically.) You can purchase hard drives separately. This gives you an opportunity to shop for the best prices on a hard drive of your choice. Reliable brands include Seagate, Hitachi, Western Digital, Toshiba, and Fujitsu. You can find reviews and benchmarks on many drives at Storage Review.
    Enclosures for FireWire and USB are readily available. You can find only FireWire enclosures, only USB enclosures, and enclosures that feature multiple ports. I would stress getting enclosures that use the Oxford chipsets (911, 921, 922, for example.) You can find enclosures at places such as;
    Cool Drives
    OWC
    WiebeTech
    Firewire Direct
    California Drives
    NewEgg
    All you need do is remove a case cover, mount the hard drive in the enclosure and connect the cables, then re-attach the case cover. Usually the only tool required is a small or medium Phillips screwdriver.
    Upgrading does not have to be difficult unless you choose to make it so. You have three installation options. I would recommend an Archive and Install option when feasible:
    How to Perform an Archive and Install
    1. Be sure to use Disk Utility first to repair the disk before performing the Archive and Install.
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger) and/or TechTool Pro (4.5.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
    3. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
    4. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
    5. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
    6. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update.

  • We want to deploy Servlet/JSP in JServ and call the EJB's deployed in iPlanet App Server 6.0 SP2. How do we make the getInitialContext Call be able to access the EJB's.

    Additionally what configurations do we need to make sure we have on JServ (Third party Servlet container) to make sure that the iPlanet EJB's can be accessed.

    Let me preface my instructions with the comment that this isn't a good idea. Although the J2EE specification allows you seperate your web container from your EJB container, in practical deployments it is a bad idea. The overhead of doing RMI/IIOP calls to an external container as opposed to making inter-JVM calls means that you can expect roughly an order of magnitude less performance than if you colocate your web and EJB containers. (This is why all EJB containers are also web containers, or at least have the provision to install themselves in the same JVM as a web container.)
    That said, if you do not have the option to move the servlets to iAS, you can access EJB's in iAS from JServ the same way that you would from any remote client. Take a look at the following information for more detail:
    Chapter 9 of the developer's guide ( this shows you what changes you need to make to the remote JVM (at JServ) and in the EJB's that you are exposing).
    The RMI/IIOP sample application. This gives you an example of how to access EJB's from outside the container.
    (To answer your direct question, the following code will get the initial context. But if you don't take all of the other configuration steps, this code won't work:
    env.put("java.naming.factory.initial", "com.sun.jndi.cosnaming.CNCtxFactory");
    env.put("java.naming.provider.url", "iiop://" + host + ":"+port);
    Context initial = new InitialContext(env);
    I'd also suggest that you approach the task with the following approach. (Assuming that I haven't managed to convince you that this is a really bad idea.)
    1. Get your EJB's working on iAS. Test them with servlet harnesses running on iAS.
    2. Get your servlets working on JServ, if they aren't already.
    3. Create a simple standalone Java application as a test harness for EJB's. Follow the RMI/IIOP instructions until you get this test harness working.
    4. Create a simple servlet test harness in JServ to access your EJb's. Follow the JVM setup instrucitons until you get this working.
    5. Actually integrate the EJB's with your production application.
    I say this because there are about five trillion things that can go wrong in this process. Although the troubleshooting steps in the docs are helpful, I find that it helps to get one thing working at a time. It's very frustrating to spend a day trying to resolve JNDI issues only to find out that you have your CXS configured improperly.

  • How do I make and get calls with my US Phone in another country?

    Do I just dial the local number or do I have to dial international stuff?
    Same question for getting calls from the US. How to people there call me?
    Sorry if this is a dumb question.......
    Oh the place in Asia is on the countries list for the Iphone.

    http://www.wireless.att.com/learn/international/roaming/affordable-world-package s.jsp
    You would be roaming. International roaming is very expensive and must be activated by AT&T.
    You can sign up for international packages that lower the cost substantially. When you call or others call you, the country code would need to be added to the phone number.
    http://www.wireless.att.com/learn/international/roaming/affordable-world-package s.jsp

  • How do I make a phone call from iPad?

    I set up my iPhone 5S personal hotspot, then link to it on the iPad (both running iOS 8). I can access the internet from the iPad, but cannot make a FaceTime phone call. Did I misunderstand the Keynote address that this would be possible with iOS 8?

    Joe,
    I hope you can help as I have the same issue.  First the basics: my iPhone 5 and iPad Air both have iOS 8 installed (there are still three family devices on the same apple id/icloud account that are not yet on iOS 8).  Both devices list the same phone number in Messages and FaceTime and both those apps use the same iCloud account.  Both devices are on the same wifi network.
    But when I get a call on my iPhone, the iPad most definitely does not give me the option to respond.  And nothing happens when I try to tap on a contact on the iPad.  :-( :-(
    I went through the links above and note a couple odd things.  For instance, the user guide says:
         "Disable iPhone Cellular Calls.  On your iPhone, go to Settings > FaceTime, then turn off iPhone Cellular Calls"
    When I go to my iPhone's Settings->FaceTime, there is no option to "turn off iPhone Cellular Calls".  What are they talking about?
    In the third link, the instructions for making phone calls have a fourth step:
         4. Wi-Fi Calling needs to be off.
    What does that mean?  Where do I look to make sure it's off?
    As an aside, I'm writing this from my 2010 MBP running Yosemite beta 3 and there appears to be no connection between it and my nearby iPhone either.  My MBP is on the same wifi network as the iPhone and both the Mac's FaceTime and Messages have the same phone # set as on the iPhone.  But when I go into the address book and look up a contact, no "phone" icon/button shows up next to the contact's phone number.  When  a call comes into the iPhone, nothing happens on the mac.

Maybe you are looking for