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
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of FLEX: integrating Spring + Hibernate

  • hibernate Technical Study Notes (first)

    Introduction: Model does not match (impedance mismatch) java object-oriented language, object model, its key concepts are: inheritance, association, polymorphism, etc.; database is the relational model, its key concepts are: tables, primary keys, for ...

  • Javascript Object Model

    Javascript Object Model

  • What is the JPA

    Same, JDO, also started compatible JPA. At the field of ORM, it seems that JPA is a benevolent government, is the normative specification. At the support of major manufacturers, JPA use became widespread. 2 Spring Spring + Hibernate often referred to as t

  • Hibernate II Study Notes

    11. Many-to-many Of many that can be converted to two one-to-many <set name="students" table="teacher_student"> <key column="techer_id"/> <many-to-many column="student_id"/> </set> many-to-many data only from one end of the mainten

  • Hibernate Inteceptor

    The end of the project stage, the client suddenly put forward a very troublesome but normal demand, the system records all changes must be carried out. Formats such as: 2004.1.1 12:30 Ikuya wind orders Sales Order Date 2004.1.2-> 2004.1.3 The firs ...

  • In the Spring to configure Service

    JTA in Spring Development Environment: JDK1.5 (sun) + Myeclipse6.0 + Tomcat5.5 + ant 1.7.1 + MySql5.0.4 Framework version: JSF1.2 (sun) + hibernate3.3.1.GA + spring2.5.6 JTA (Java Transaction API) Only supports the standard EJB Persistence (JTA) transacti

  • jboss ejb3 Message Driven Bean

    Super Medium ejb hate. . . . . . . . . . . . . . . . . . . ================================================ To configure a Message Driven Bean in a different application server parameters are not the same. Currently only passed the test jboss. Message Dri

  • hibernate using c3p0 connection pooling

    Private http://www.lifevv.com/tenyo/doc/20070605102040991.html c3p0 for open source's JDBC connection pool, with the release hibernate. This article describes how to use the hibernate configuration in c3p0. c3p0 connection pool configuration is v ...

  • Build flex + spring + blazeds + hibernate application

    Build flex + spring + blazeds + hibernate application First, set up the project blazeds 1, will blazeds.war extract to a directory, such as: myflex /; 2, set up java works were such as: MyFlex, in the orientation of selection create project from exis ...

  • The level Hibernate cache

    Hibernate cache level: (1) a cache is very short and the session life cycle consistent, also known as session-level cache-level cache or transaction-level cache (2) Ways of Supporting level cache: get (); load (); iterator (); only entity object cach ...

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries