gr8 idea, why do u have to use Adobe's framework? U can create 1 by urself which will be light and flexible.
 

sobluesky
2006-04-19

发件人: box110a
发送时间: 2006-04-17 22:36:05
收件人: [email protected]
抄送:
主题: [flexcoders] Re: FDS & Hibernate
 
I  the  FDS  Hibernate  Adaptor  will  be  a  hard  sell  to  the  Java  community.
Aspect  Oriented  Programming  (AOP)  is  the  latest  programming  buzzword,
but  it  has  come  about  because  coders  want  to  write  plain  old  java
objects  (POJOs),  and  have  a  framework  interject  them  where  they  are
needed.  This  has  proven  very  flexible...I  am  able  to  use  the  same
POJOS  within  the  Spring  Framework,  Hibernate,  my  JSPs  or  a  swing  app.    
 
We're  using  Java  5.  This  means  we  can  use  Hibernate  Annotations  to
define  our  ORM  layer.  After  working  with  EJBs  without  EJBGen  and  then
working  with  it,  Annotations  save  so  much  time  and  headache,  I  won't
use  XML  descriptor  files.    The  problem  with  FDS  hibernate  adaptor  is
that  if  I  want  to  use  Annotations,  I  have  to  wait  for  Adobe  to  release
a  version  that  supports  it.  Another  problem  is  that  I  am  tying  my
persistance  layer  so  closely  to  FDS,  I  can  only  use  FDS  to  access  it.
What  happens  if  there  is  some  critical  bug  in  Hibernate  that  needs  to
be  fixed.  I  have  to  wait  for  Adobe  to  release  it  even  though  the
Hibernate  team  has  fixed  it.
 
If  you've  gotten  this  far,  thanks  for  reading.
-JB
 
 
 
 
---  In  [email protected],  Valy  Sivec   <[EMAIL PROTECTED] >  wrote:
>
>  My  understanding  is  that  with  FDS  at  this  moment  you  shouldn't  write
any  DAO  code  and  just  the  mapping  files  should  suffice.  On  the  other
hand,  are  Hibernate  features  that  I  don't  see  how  to  implement  them
with  the  current  Hibernate  adapter;  might  be  just  me...
>      Anyway,  I  have  chosen  to  use  Java-JDO  with  Hibernate  &  Spring  and
feel  more  comfortable  about  fixing  the  bugs  in  the  code  I  can  open
than  having  the  bug  in  the  Hibernate  adapter.  In  addition  to  that
historicaly  speaking,  I  haven't  seen  any  BUG  fixes  or  patches  to  the
Flex  1.5  and  having  the  bugs  fixed  only  via  Flex  Support  seems  to  me  a
little  bit  odd.  That  makes  me  even  more  reluctant  to  adopt  Hibernate
Adapter.  I  hope  that  in  the  future  Adobe  will  release  the  bug  fixes  in
patches  available  for  everybody.
>        
>      Thanks,
>      Valy
>        
>        
>      
>  [EMAIL PROTECTED]  wrote:
>      Yep,  just  curious  what  functionality  Hibernate  adapter  provides,  
>  using  of  java-dao  adapter  should  work  fine  with  Hibernate-based
applications
>  tho  ;)  
>  
>  Regards,
>  Alex  
>  
>  -----Original  Message-----
>  From:  [email protected]  [mailto:[EMAIL PROTECTED]  On
>  Behalf  Of  Matt  Chotin
>  Sent:  Monday,  April  17,  2006  2:35  AM
>  Subject:  RE:  [flexcoders]  FDS  &  Hibernate
>  
>  I  don't  know  that  I  agree  with  your  premise  that  open  source  is  the
only  way
>  to  understand  a  technology  to  adopt  it,  but  agree  that  the
documentation  is
>  behind  the  implementations.  Hopefully  when  B3  comes  out  more
documentation
>  will  be  available,  and  the  changes  that  we  made  to  the
implementation  should
>  allow  you  to  use  Hibernate  with  much  less  FDS  configuration.
>  
>  
>  
>  Matt
>  
>  
>  
>  ________________________________
>  
>  From:  [email protected]  [mailto:[EMAIL PROTECTED]  On
>  Behalf  Of  Valy  Sivec
>  Sent:  Friday,  April  14,  2006  10:48  AM
>  Subject:  RE:  [flexcoders]  FDS  &  Hibernate
>  
>  
>  
>  After  reading  the  Flex  Developer  guide  I  realized  that  might  be  too
early  to
>  integrate  DS&Hibernate  in  my  application.  DS  idea  is  great  but  not
having
>  the  Hibernate  adaptor  open  source  I  think  is  very  difficult  to  adopt  it.
>  
>  In  addition  to  that,  it  looks  that  there  is  no  support  for  annotation  at
>  this  moment  .  
>  
>  Do  you  guy  have  any  plans  in  going  away  from  the  XML  configuration
of  each
>  destination?.
>  
>  Thanks,
>  Valy
>  
>  Matt  Chotin  wrote:
>  
>  We���re  updating  the  hibernate  implementation  significantly  so  I���d
expect
>  some  changes  that  should  make  integration  easier.  We���re  also  exposing
>  more  options  on  the  DS  to  optimize  for  the  case  you  describe  of
non-editable
>  data  where  it  doesn���t  need  to  be  kept  in  sync.  So  you  absolutely
can  use
>  remote  object  instead  but  DS  might  also  do  the  trick  just  fine.
>  
>  
>  
>  Matt
>  
>  
>  
>  ________________________________
>  
>  From:  [email protected]  [mailto:[EMAIL PROTECTED]  On
>  Behalf  Of  Valy  Sivec
>  Sent:  Thursday,  April  13,  2006  2:23  PM
>  Subject:  [flexcoders]  FDS  &  Hibernate
>  
>  
>  
>  I  start  looking  into  the  Data  Services  topics  a  little  bit  and  I  see
that
>  for  each  destination  there  is  a  identity  property  that  needs  to  be
defined.
>  I  have  the  data  persistence  layer  implemented  with  Hibernate  and  I  was
>  wondering  how  Flex  DES  will  handle  objects  with  the  identity
propetry  NULL,
>  knowing  that  Hibernate  is  smart  enough  to  do  an  insert/update  based
on  the
>  entity  key's  value.  
>  
>  Have  you  guys  integrated  Flex  DES  with  Hibernate  data  model  in  the
backend.?
>  
>  
>  Also,  in  cases  when  I  need  to  populate  non-editable  data,  that
doesn't  need
>  to  be  kept  in  sync  with  the  backed  should  I  use  remote  objects
versus  data
>  services?.  Any  thoughts?.
>  
>  Thanks,
>  Valy
>  
>  ________________________________
>  
>  How  low  will  we  go?  Check  out  Yahoo!  Messenger���s  low  PC-to-Phone  call
>  rates.
>  =39663/*http:/voice.yahoo.com >  
>  
>  
>  
>  ________________________________
>  
>  Yahoo!  Messenger  with  Voice.
>  =39666/*http:/beta.messenger.yahoo.com >  PC-to-Phone  calls  for
ridiculously
>  low  rates.  
>  
>  
>  --
>  Flexcoders  Mailing  List
>  Search  Archives:
>  
>  
>  
>  ________________________________
>  
>  YAHOO!  GROUPS  LINKS  
>  
>  
>  
>  *  Visit  your  group  "flexcoders
>  "  on  the  web.
>  
>  *  To  unsubscribe  from  this  group,  send  an  email  to:
>  [EMAIL PROTECTED]
>  
>  
>  *  Your  use  of  Yahoo!  Groups  is  subject  to  the  Yahoo!  Terms  of  Service
>  .  
>  
>  
>  ________________________________
>  
>  
>  
>  
>  --
>  Flexcoders  Mailing  List
>  Search  Archives:
>  Yahoo!  Groups  Links
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  ---------------------------------
>  Yahoo!  Messenger  with  Voice.  Make  PC-to-Phone  Calls  to  the  US  (and
30+  countries)  for  2?min  or  less.
>
 
 
 
 
 
 
 
--
Flexcoders  Mailing  List
Yahoo!  Groups  Links
 
<* >  To  visit  your  group  on  the  web,  go  to:
 
<* >  To  unsubscribe  from  this  group,  send  an  email  to:
       [EMAIL PROTECTED]
 
<* >  Your  use  of  Yahoo!  Groups  is  subject  to:
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to