Flex practice -- Flex + JSP + EJB

Source: Internet
Author: User

This practice originated from the application of online electronic dictionary. The goal was completed by meteorlwj, elevenxl, and syani. The copyright of this article belongs to the above three people. I have no comments to reprint or modify this article.

This project mainly applies the following technologies:
Presentation Layer: Flex
Transition Layer: JSP + JavaBean
Underlying layer: EJB
Database: MySQL

This introduction will not involve the specific flex technology and EJB technology. I will introduce the use and interaction of the framework in this project (because there are too many code, only one example can be provided)
The interaction between flex and JSP is achieved through the data in httpservice and XML format.
1) Flex Project (httpservice application code ):

VaR serviceforaddnewarticle: httpservice = new httpservice ();

2) JSP processing:


3) JavaBean processing:

4) EJB processing: (remote interface is used)

The above is an example of the interface and implementation code in the EJB section. The specific code will be supplemented by elevenxl.

Conclusion: for this practice, I personally think this combination is an attempt, and the running result is basically successful, so there is no problem in data processing. I hope it will be helpful to my friends who are learning flex.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.