Google Groups Home
Help | Sign in
Subject: RPC Poll
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Emily  
View profile
 More options Jan 13 2007, 8:59 am
From: "Emily" <gwt.team....@gmail.com>
Date: Sat, 13 Jan 2007 13:59:42 -0000
Local: Sat, Jan 13 2007 8:59 am
Subject: Subject: RPC Poll
What favorite Java frameworks would you like to see work well with RPC?
 Some examples we are pretty sure are popular include Hibernate and
JDO, which is your personal favorite?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Jellinghaus  
View profile
 More options Jan 13 2007, 11:40 am
From: "Rob Jellinghaus" <r...@unrealities.com>
Date: Sat, 13 Jan 2007 08:40:47 -0800
Local: Sat, Jan 13 2007 11:40 am
Subject: Re: Subject: RPC Poll
Hibernate.  Huge bonus points for getting EJB3 persistence working,
which is basically Hibernate 3 + Java 5's annotations.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Jellinghaus  
View profile
 More options Jan 13 2007, 11:46 am
From: "Rob Jellinghaus" <r...@unrealities.com>
Date: Sat, 13 Jan 2007 08:46:50 -0800
Local: Sat, Jan 13 2007 11:46 am
Subject: Re: Subject: RPC Poll
Sorry for the self-reply, but I just realized that there are some
additional issues with Hibernate OR JDO.  Any Java persistence model
that supports lazy proxies or collections is really easy to blow up
when serializing, since often traversing every association just keeps
lazy loading more and more and more of the database.

In some serializers I've done I've handled this by truncating the
object graph at lazy associations or proxies, serializing them as
"null".  This is kind of the same behavior as you get when using a lazy
graph in the view phase, disconnected from the database -- you know you
shouldn't touch anything that's not loaded, so it might as well be
null.

The worse case is when you have an object model that has NON-lazy
associations that you don't actually want to send over for your
particular use case -- e.g. even the non-lazy portions of your object
graph are overkill for what you actually need to send in an RPC.  My
current work project (Hibernate Java to Flex client via Axis and SOAP)
is interposing an "object marshaling" layer to enable selective pruning
of things before sending, and reasonably intelligent server
reassociation and update of partial objects once returned from the
client.

All of this is almost certainly more than GWT would want to bite off
itself, but it might be good to at least have pluggable hooks to modify
the serialization behavior, and at a minimum you'll likely need to
support truncation of lazy references to avoid the "serialize the whole
database" problem.

(But you probably knew all this already ;-)
Cheers!
Rob


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wsurowiec  
View profile
 More options Jan 14 2007, 3:58 pm
From: "wsurowiec" <wsurow...@gmail.com>
Date: Sun, 14 Jan 2007 20:58:44 -0000
Local: Sun, Jan 14 2007 3:58 pm
Subject: Re: Subject: RPC Poll
Emily,

I do not know if it matches an RPC framework categorization but easy
use of Spring MVC would increase my productivity.

Bill


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google