This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.
Follow us on facebook:
Joined: Nov 10, 2010
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.
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.