Invoking Java methods from Adobe Flex
Category: Flex Examples, Learn Flex | 4,050 views | 1 Comment
How to invoke Java methods from Flex application?
- Add an mapping to the Java class to services-config.xml
- Map your RemoteObject (provided with Flex SDK) on the client side to the destination configured in services-config.xml
- Invoke the method in your Java class using the RemoteObject instance
What do you need to invoke a Java method from the client side application?
- Flex Builder
- Blaze DS
Isn’t that simple? Let’s get into details of implementing this.
Set up Blaze DS
Download and setup Blaze DS on your system fromhttp://labs.adobe.com/technologies/blazeds/
You will be downloading Blaze DS with integrated Tomcat server. You just have to start the server by executing startup.bat under tomcat/bin. Please note the port number in which the Tomcat server is running. The port number mentioned below might have to be replaced with yours, if required. Read more…
- Getting URL Parameters in Flex Actionscript
- Exception Handling with Flex
- Creating a simple image gallery with the Flex TileList control
- Add FlexComponents to your mailing lists!
- Great Ways to Learn ActionScript 3 in Flash
- How to Learn Flex







