Link to home
Start Free TrialLog in
Avatar of recruitit
recruitit

asked on

Writing Java code for Flex/Flash Builder

I would like to power my Flex applications with Java, and use Flash Builder to construct the Flex Gui.

I have looked up how this is possible and have quickly hit a massive wall which I can not make sense of.  I was hoping someone could hopefully explain it to me.

I apparently need BlazeDS to get Java to talk to Flex, to use BlazeDS I need Tomcat.  I have just recently found out that I already have Tomcat running a JIRA installation.

I have zero clue as to what purpose BlazeDS or Tomcat service provides other than possible being a Java version of IIS?  My primary purpose is to run my flex applications with java code, but this whole process seems just a bit crazy.

I mean how do I go about doing this, I have Tomcat already, or seem to since our JIRA runs off Tomcat, so do I install a new Tomcat and run BlazeDS off that?  Why do I even need these things to just write Java Code for Flex?  I cant find any clear answers anywhere, I was hoping there would be some kind of simple picture diagram or a really straight forward example of how to tie in java coding into flex or whatever, I mean I personally would have thought I could just start writing java code straight into Flash Builder but that doesnt seem the case (even thought Flash Builder is virtually identical to eclipse!)

Anyway, if anyone knows any good simple ABC's of Tomcat/Blaze/Java/Flex functionality please let me know, from the perspective of a C# Microsoft IIS ASP.NET guy maybe you can tell me if any of these items relate to the microsoft equivalent at all, cheers!
Avatar of ChristoferDutz
ChristoferDutz
Flag of Germany image

You don't actually need BlazeDS ... this is only for highly optimized IO and server-push. If you only want to exchange data, you can use Xml. All you have to do is to freate a Servlet,JSP,PHP,whatsowever that generates XML and you can read that in your flex application without any need to use BlazeDS.
Avatar of recruitit
recruitit

ASKER

Exchange data? Does that mean exchanging java code?  What I am after is coding flex with Java.
I mean is it not as simple as say ASP.NET with C# Code Behind?  I.E

Flex with Java code behind?
kind of figured this was going to receive any response flagging for deletion since its not going to get answered
This question has been reworded and posted as a new question at.

https://www.experts-exchange.com/questions/26269540/How-do-I-link-my-Java-code-to-Flash-Builder.html 
ASKER CERTIFIED SOLUTION
Avatar of ChristoferDutz
ChristoferDutz
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial