Thanks for the compliments.

I agree that the service does not need to be marked as stateless and
have updated the example.

I used MyEclipse to generate the hbm files based on my database
structure which I then had to tweak adding the phoneNumbers set and
the reference back to the Contact object in the phoneNumbers class. 
Their tool just generates the basic hbm's but it is better than
writing them all by hand.

I use Hibernate Synchronizer to generate the java dao's and vo's.  I
also created a AS2VOgenerator as a template to Hibernate Synchronizer
which keeps the AS vo's in synch with the java vo's.  The generator
can be found at:
http://www.everythingflex.com/blog/1/2005/05/AS2-Value-Object-Generator-for-Hibernate-Synchronizer.cfm

Do you currently use Hibernate on the back end ?

Rich

On 6/8/05, Valy Sivec <[EMAIL PROTECTED]> wrote:
> Rich, thanks for sharing with us the sample!.
> 
> Quick question for you: what tools have you used to
> generate the Hibernate XML mappings and the
> JAVA(POJO-DAO) code?. Is the tool compatible with
> Hibernate 3? or you manually made it Hibernate 3
> compatible, replacing the Hibernate 2 with v.3?
> 
> The example is great!.
> 
> I see that you initialize Hibernate session in the
> remote object's constructor, and the RO is declared
> stateless... Isn't that too expensive? Just my 2
> cents....
> 
> Not related with this message topic, I do believe that
> having all the data model replicated in AS is
> overwhelming... Changes to the model will have to
> propagate to the AS model/view... which is not cool...
> Flex Builder should offer a syncronize tool between
> Java model and AS model... to easy somehow the pain of
> dealing with this....
> 
> I read that JBoss people turned their eyes to RIA, and
> I hope they will move Lazlo to the next level as they
> did with Tomcat, EJB....hopefully... It will be better
> for MM people to have some sort of competition and
> relax the prices a little bit... :))
> 
> 
> 
> Valy
> 
> --- Rich Tretola <[EMAIL PROTECTED]> wrote:
> 
> > New sample appication utilizing Cairngorm .99 &
> > Hibernate 3.
> > http://www.everythingflex.com
> >
> > Rich
> >
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Make Yahoo! your home page
> http://www.yahoo.com/r/hs
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
>


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to