FLEX: integrating Spring + Hibernate

Before a friend also wanted to study development of FLEX. Asked me to help him to be a small sample. Spent a weekend time, to integrate a sampleproject.
Client: FLEX
Server: Spring2.5 + Hibernate3.2 + Hibernate-annotations3.3.1 + MySQL5
FDS: BlazeDS3
IDE: MyEclipse6.5 + FLEXBuilderPlugin3
Web Server: Tomcat5.5.12
Building and Deploy: Maven2.4
FLEX client does not use any framework (itself, Cairngorm I just study them in depth, perhaps, the latter can be also integrated the use of this piece put in.)
java code hierarchy Description:
domain.model: Model
domain.emun: Emun
exception: Service Exception
facade: receive FLEX call information, package object model and operational logic, call service.
factories: to provide SpringFactory, implementation Spring context and injected automatically into the blazeds remoteobject (Reference: http://coenraets.org/flex-spring/)
service: Calling DAO implementation for DB operations.
FLEX break the code Description:
Framework is not used, and they should only concentrate on the as file extraction, to achieve small-scale code reuse. Purely training and entry-hand use. Ha ha

In addition, the current client as framework of the FLEX study used my cairngorm, are adobe open source because, as puremvc yet to do a deeper understanding, who can point reference study opinion?

Learning together and progress together. :)

Source: http://www.blogjava.net/alex0927/archive/2008/11/04/238487.html

分类:Java 时间:2009-02-27 人气:1419
blog comments powered by Disqus


  • Web server type of method to obtain 2010-04-14

    Reprinted from: http://www.linuxorz.com/show-15-1.html Curl is a data transmission network for the tools, support for HTTP, HTTPS, FTP, FTPS, TFTP, DICT, TELNET, LDAP and other protocols. Through the curl you can either download the data off the serv

  • Web server with the Java implementation 2009-07-18

    WWW's work is based on client / server computing model, from the Web browser (client) and Web server (server) constituted between the use of Hypertext Transfer Protocol (HTTP) for communication, HTTP protocol, including the role of Principle 4 steps:

  • Achieved with a simple java web server 2010-07-26

    Always say that they are doing web development, it gives no knowledge http protocol, slightly ashamed few days ago, more leisure, to study a little http protocol and web server, using java to do a simple web server, of course, too simple, and can onl

  • [How Tomcat Works] Chapter 1 a simple Web server 2010-04-21

    Translator jarfield Blog http://jarfield.javaeye.co m Hypertext Transfer Protocol (HTTP) HTTP Request HTTP Response Socket Class ServerSocket Class Application HttpServer class Request Class Response Class Run the application Summary This chapter exp

  • Three Web Server analysis (Apache.Lighttpd.Nginx) 2010-06-11

    Transfer from race question First, the software introduced 1. Lighttpd Lighttpd is a very low memory overhead, CPU occupancy rate is low, performance is good, and a wealth of modules and so on. Lighttpd is a lightweight, OpenSource webserver many of

  • Reprinted with the web application web server and browser 2010-11-09

    Chapter I: Application Server Application Server (By huihoo.com tonyliu) Why should there be an application server The last decade, Internet-based applications at an unprecedented high-speed forward, one important direction is the application of Web-

  • Python Web Server Gateway Interface v1.0.1 不完整翻译 2014-12-12

    Contents 简介 基本原理与目标 概述 应用接口 服务器接口 中间件 : 同时扮演两种角色的组件 详细说明 environ 变量 输入和错误流 start_response() 可调用者 Handling the Content-Length Header Buffering and Streaming Middleware Handling of Block Boundaries The write() Callable Unicode Issues Error Handling HTT

  • rails web server deploy guide 2009-10-23

    web server: install ubuntu 64bit server edition then: ################################ 1.install necessary software: ################################ sudo apt-get install gcc g + + make sudo apt-get install mysql-client-5.0 sudo apt-get install ruby

  • tomcat analysis of a simple web server (map) 2010-03-29

    Preceded by javaeyer recommended a book "how tomcat works", this evening looked really good, I saw was fascinated. Ever since school book example of a knocked to learn a simple web server, probably realize, of course, this simply can not call it

  • [] Tomcat analysis of a simple web server 2010-03-29

    gogole_09 wrote Preceded by javaeyer recommended a book "how tomcat works", this evening looked really good, I saw was fascinated. Ever since school book example of a knocked to learn a simple web server, probably realize, of course, this simply

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 闽ICP备15018612号

processed in 0.210 (s). 12 q(s)