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 人气:1317
blog comments powered by Disqus


  • 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 st ...

  • 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

  • JAVA implement simple static web server http 2010-10-30

    Really boring, so practice your hand, no technical content, but says nothing more fun. A few days ago saw a 4kb mainly static web server, thanks to use of free time to play, spend next weekend at the boring time. No image support after the last finis

  • 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 ruby1

  • java commons cookbook book source code 2010-04-24

    java commons cookbook book source code

  • C, Erlang, Java and Go Web Server performance test 2010-07-12

    C, Erlang, Java and Go Web Server performance test http://timyang.net/programming/c-erlang-java-performance/

  • 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

  • [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 explains

  • 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-

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



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

CodeWeblog.com 版权所有 黔ICP备15002463号-1

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