Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Oct 2007
    Posts
    24
    Vote Rating
    0
    pbesi is on a distinguished road

      0  

    Default Spring/Hibernate and GXT deferred binding

    Spring/Hibernate and GXT deferred binding


    Hello. I'm a GXT newbie and a little confused.

    Please, can anyone clarify the following consideration:

    I read it is possible to work with deferred binding (via @BEAN annotation provided by GXT).
    With deferred binding it is possible to work with POJO classes without extending them with BeanModel class.
    So, it should be possible to work with beans coming from an ORM (hibernate, iBATIS, etc.)
    More precisaly, I've beans coming from Spring + hibernate, and they have some java annotations like @Entity, @Id, @NamedQuery, etc. Can I manage them with GXT if I define a @BEAN annotated interface?

    My question arises from the fact that I read several articles where people explains that it is necessary to define a DTO/VO, in order to transform ORM beans to ModelData beans that can be managed by GXT. I'd like to avoid DTO and making two beans (the first one in order to work with ORM, the second to work with GXT) for each domain object!!
    Deferred binding should be the right way. Isn't it? Why so many people works with DTO? Am I forgetting something that deferred binding cannot provide? Which is the best choice, deferred binding or DTO?

    Thank you

    Pbesi

  2. #2
    Sencha User
    Join Date
    Mar 2010
    Posts
    19
    Vote Rating
    0
    bhaskar1484 is on a distinguished road

      0  

    Default


    To my knowledge, to work with GXT we don't need DTOs(not mandatory) we can directly work on JSON data which send by server to UI(GXT)

  3. #3
    Sencha User
    Join Date
    Oct 2007
    Posts
    24
    Vote Rating
    0
    pbesi is on a distinguished road

      0  

    Default


    I'm sorry. I forgot to write that I'm working with RPC!
    Pbesi

Similar Threads

  1. Replies: 7
    Last Post: 15 May 2013, 1:07 PM
  2. Replies: 0
    Last Post: 12 Oct 2010, 10:23 AM
  3. Cascading Combobox using Java/Spring/Hibernate
    By loiane in forum Community Discussion
    Replies: 0
    Last Post: 12 Oct 2010, 10:19 AM
  4. Replies: 2
    Last Post: 26 Apr 2010, 7:45 AM
  5. extjs2+tapestry5.11+spring+hibernate(grid,paging.. ....)
    By fanzhen.meng@gmail.com in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 18 Jul 2009, 10:13 AM

Thread Participants: 1