Can I package and call a java object in the swf? (on the client)

Hello,
Can I package and call/execute a java object within the
swf/adobe flash player?
I want to embed a java object in my swf, and then whne the
swf executes have it call the java object......
E.

..... there are few instances where it would be nice to
develope a single java object that can be used on the server and
the client..... let's say for the case of server side validation,
that could also be used by the client application for validation,
instead of having to maintain 2 sets of validation logic in two
different languages (java and AS).....

Similar Messages

  • How to create and instance of Java Object from an XML Document.

    Hi,
    How can we use a XML Document to create an instance of Java Object and do vice versa ie from the Java Object creating the XML Document.
    XML Document is available in the form of a String Object.
    Are there helper class available to achieve this.
    I need to do this in a Servlet.
    Regards
    Pramod.

    JAXB is part of JavaSE while Xmlbeans claims full schema support and full infoset fidelity.
    If the standard APIs do all that you need well then use them.

  • Packaging and installing a java project

    Hi everyone,
    I have a java project which has been developed in Eclipse IDE. I would like to package the project so that i it can be installed and can be run as a stand alone product.
    Any tools that would help me do packaging and installing a java project?
    Thank you.

    Easiest way to package a Java project is to create an executable jar for it. You probably should google for more information on the 'jar.exe' program (sry for window bias)
    If you have external dependencies you should put those in separate jars and include them in the classpath in the jar manifest file.
    The only other thing to worry about is getting java installed on other people's machines. In general it is best if possible to have them download java themselves as they will get the latest and greatest from this website. If that's not possible you may want to look into getting sun's permission to distribute Java with your app.

  • Drag n Drop between JButton and third party Java object

    Hi!
    I want to implement drag n drop(however it is not drag n drop in its real sense) between JButton(s) placed in a JToolBar and third party Java Object i.e. Netbeans Visual Library API's Scene class that is actually like a Canvas in drawing Apps. The Scene class itself is not a JComponent (it extends directly from java.lang.Object), rather we invoke createView method on the Scene object to get a JComponent that could be used any where(probably in a JScrollPane).
    What i want is that when my user drags a JButton to the Scene's view it appears similarly as something is being dragged But in actaul that JButton should'nt be dragged or dropped Rather when user releases the mouse button to drop the item i could use my custom code to do something(actually add a Widget(a graphical item) to the Scene object).
    How could this be achieved..?
    thanks in advance,
    regards.

    The problem with UNIX and more specially with X is thare wasn't common drag'n'drop interface. Now there is XDND (X Drag'n'drop) protocol but it might not be implemented on each X server or may not be used by each X application.
    I don't know if GNOME use XDND and/or if Java implementations for UNIX support that protocol. However you can check some other projects like:
    http://java-gnome.sourceforge.net/
    http://gnome-gcj.sourceforge.net/
    which provide external bindings of gnome libraries to java.

  • Cant send SMS off iphone 4s but can send imessages and calls in and out still work.. help?

    cant send SMS off iphone 4s but can send imessages and calls in and out still work.. help?

    SMS is a carrier feature.  Contact your carrier

  • Can i Bind more than one Model object to the Custom controller or not

    Hi All, I trying to bind more than one model object to the custom controller, Both the model objects contains same attribute name called ( output). Both model objects created on to top of the BAPI. So when i bind first model object to the custom controller will work fine. When i am trying to bind the second model object to the same controller. This second model object also having the same attribute name called "output" . So it is giving an error of "Duplicate context element "Detail". Rename or uncheck duplicate elements.
    can i assign more than one model object to the single controller or not?
    But in the reference document, it has given that , we can create model object with more than one bapi.So in this case if both the bapis contains any element with the same name will also be problem. Any body give me the solution.
    Initially we have created one custom controller for each model object. But later i realized that, why con't we use same controller for all the model object. Because, the custom controller context is the public context. this context shared across all the view controllers.
    The concept which I am trying to do is right or wrong?

    Hi Vishal,
    of course, you can bind one controler to many models. When the same name occours you can simply RENAME binded node in controler.
    Regards
    Bogdan

  • I want to call External Java class from the PL/SQL

    Hi,
    I am using Oracle Apps R11i (11.5.7), I wanted to call external Java class from the PL/SQL. This external Java class is residing in another application server.
    How do I do this.
    I know one way. Develop C routine in Oracle Apps to call external java class and call this C routine from the PL/SQL.
    Is there any simple method available? or any other method?
    Thanks in advance.
    -Venkat

    First of all, this is a Java application you're talking about, right (i.e. it has a main() function)? It's not just a class that you're trying to instantiate is it? If it's an application, you obviously have to start a new virtual machine to run it (rather than using the virtual machine built into the database like stored java). I'm a little leary of your mention of an "application server" as this would more commonly mean that a virtual machine is already over there running with access to this class. In which case, you'd typically interface with SOAP or some other RPC API.
    All that aside, as long as you have physical disc access (through NFS or whatever) to the class file, you could use a java wrapper class with a system call to do this. In fact, there is a thread in just the last day or so on this very forum that has the code to do just that (see " Invoking OS Commands from PL/SQL"). However, it's worth noting that the virtual machine will be running on the database server in this case and not the application server.

  • How do you call a java class from the main method in another class?

    Hi all,
    How do you call a java class from the main() method in another class? Assuming the two class are in the same package.
    Thanks
    SI
    Edited by: okun on May 16, 2010 8:40 PM
    Edited by: okun on May 16, 2010 8:41 PM
    Edited by: okun on May 16, 2010 8:47 PM

    georgemc wrote:
    To answer your impending question, either the method you're calling has to be static, or you need an instance of that other class to invoke it against. Prefer the latterAnd to your impending question after that: no, don't use the Singleton pattern.

  • If I buy an iPhone5 in Canada and add Applecare in the US, can I use and get my phone serviced in the US?

    If I buy an iPhone5 in Canada and add Applecare in the US, can I use and get my phone serviced in the US?

    Thanks for the response.  Called the Perimeter Mall store yesterday morning with fingers crossed frist thing in the morning.  They had one.  Zipped up there and now I have it: White 32gig i5 rocing a TMobile SIM and an Seidio Active case. 

  • How can I copy and paste an entire page on the new Pages?

    How can I copy and paste an entire page on the new Pages?

    Open one document in Pages v5.5.3, Open a second document in Pages v5.5.3. Select, copy, and paste one page between source and destination documents. Document objects such as Text boxes, shapes, images, tables, etc must be individually selected, copied, and pasted.

  • Can FCP 7 and FCP X be installed on the same volume?

    can FCP 7 and FCP X be installed on the same volume?

    Yes. When you download FCPX it moves the older suite of applications into a folder call Final Cut Studio.

  • I have been trying to log onto the Wounded Warriors Program Portal.  I can Log in and then when I click on the rewards it tried to go to the page the just takes me back to the same page I was on.  This is very frustrating.

    I have been trying to log onto the Wounded Warriors Program Portal.  I can Log in and then when I click on the rewards it tried to go to the page the just takes me back to the same page I was on.  This is very frustrating.  I am new to the Mac World so please bare with me.  Please tell me there is help somewhere for this issue.  It seems it is blocked or not letting me through.  Can anyone please help me out.  Thanks 

    Both Mail and Safari have Activity Options that open a  screen that shows you just how the site or mail is loading.
    In Safari if you are having trouble with a site in activity you will see the count of items being downloaded - and if an error occurs it shows red.
    On the top is the number of items it is loading or trying to load and the count should be increasing.   If the count stops, and you don't have errors it may be that too many people are going after the same site and your request just timed out. Have had the time out on a news site when trying to load a most popular article.

  • How can I login and retrieve my user file from the trash?

    I was trying to find out where all my HD had gone, which a did using ‘What Size’.
    I found what looked like an old backup file so I put the file in the trash.
    It turns out that the file was my user file. So now I can’t login to as the user.
    How can I login and retrieve my user file from the trash?

    The Digital Editions forum is here, in case this is what you are talking about:
    http://forums.adobe.com/community/adobe_digital_editions
    If you are not, I apologize for the misunderstanding.

  • My Iphone 4 32GB started having this issue when I downloaded the 2 last 6.1.X... VOICE CONTROL pops-up even when I sleep and calls random people just by the sound of the snoring... in FACETIME even more annoying. I confirm that it does this day and night

    My Iphone 4 32GB started having this issue when I downloaded the 2 last 6.1.X... VOICE CONTROL pops-up even when I sleep and calls random people just by the sound of the snoring... in FACETIME even more annoying. I confirm that it does this day and night

    Turn off Voice Control.
    Otherwise, basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).

  • Hello! how can i put and read my words documents in the notes pad of my ipod nano 3trd generation?thanks to all.the notes

    hello! how can i put and read my words documents in the notes pad of my ipod nano 3trd generation?thanks to all.

    The Notes features of the 3G iPod Nano only supports TXT files and not Word Documents.  If you want to be able to read these word documents, you'll need to copy the text from each over to a text file.  See here for more information.
    iPod: Storing and reading notes
    Keep in mind that each txt file has a limit of 4096 characters.  See this article for more information as well.
    Long notes are truncated on your iPod
    B-rock

Maybe you are looking for