File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Flex Servlet Integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Flex Servlet Integration" Watch "Flex Servlet Integration" New topic

Flex Servlet Integration

Toms Luke

Joined: Nov 10, 2010
Posts: 11
My requirements is like below

I am building a web application,
these are the technology I would like to use(Flex,servlet).
I want use Flex as View technology and Backend will be java.My flex page should hit the Servlet.
how I will package the whole application as "WAR".nad what should be project structure.

Please guide me through.
anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98


The below link might help you.


Follow us on facebook:
Toms Luke

Joined: Nov 10, 2010
Posts: 11
Thanks anand,realy appreciate your support,that link is pretty much helpfull.But I dont want to use framework like EJB or Spring or even struts.

Like oldday when your JSP or Html used to hit servlet(httpservlet) directly,Now I want to use Flex instead of HTML.Is it possible to hit any servlet URL directly from abc.mxml or xyz.mxml page?Appreciate if you or anyone can provide this information or some sample code.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Yes. Flex comes with RemoteObjects that can make HTTP requests. You might consider a technology such as BlazeDS, which is the messaging technology usually used with Flex (if not using Adobe's own commercial offering Life Cycle Data Services). Because you have posted this in the WebLogic forum I'm guessing that you need this app. to integrate with that particular container? If so be aware that the vast bulk of Adobe's work seems to be with Tomcat, so treat Adobe's claims for the integration capabilities of Flex with a pinch of salt. I've not tried Flex with WebLogic, but my experience has been the Flex with JBoss, WebSphere and Glassfish all had their problems. The one thing I've learned with Flex is its worth prototyping anything before committing to it.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: Flex Servlet Integration
It's not a secret anymore!