Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flex Servlet Integration

 
Toms Luke
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The below link might help you.

http://biemond.blogspot.com/2010/01/adobe-flex-in-weblogic-with-blazeds.html

Cheers,
Anandraj
http://weblogic-wonders.com
 
Toms Luke
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic