I remember Igor talking about a mongodb integration.. What happened with it?

Having support for mongodb is a good thing but I think making morphia the 
default mapper is not the best choice.
We have here some nice integration with the jackson mapper[1], which is not so 
much hibernate-like and gives much more power over everything (we've started 
with morphia as well). I could open-source the integration with jackson in a 
couple of days just to have some more options.

@Howard: I think these tools would also be sufficient to add the features you 
are talking about.
Otherwise: reinvent the wheel and write a tapestry-json-mapper...

[1] http://jackson.codehaus.org
https://github.com/vznet/mongo-jackson-mapper


Am 16.08.2012 um 22:27 schrieb Howard Lewis Ship:

> I've been thinking of a general-purpose way to convert arbitrary
> Objects into JSONObjects, using naming conventions and annotations.  I
> believe it could also be used to reverse the process.
> 
> It would be nice for a Ajax event handler method to be able to return
> an Entity, or a List<Entity> and have that converted to a JSONObject,
> or a JSONArray of JSONObjects automatically. It would also be nice to
> have a ValueEncoder, or equivalent, be able to convert a JSONObject
> back into an Object, knowing the target type.
> 
> On Thu, Aug 16, 2012 at 11:47 AM, Thiago H de Paula Figueiredo
> <[email protected]> wrote:
>> On Thu, 16 Aug 2012 14:34:35 -0300, Massimo Lusetti <[email protected]>
>> wrote:
>> 
>>> Hi all,
>> 
>> 
>> Hi!
>> 
>> 
>>> I've done some preliminar work on two modules for integration with
>>> MongoDB.
>> 
>> 
>> Nice! I was thinking of doing that someday too. :)
>> 
>> A couple suggestions:
>> 
>> * Injection of MongoDB database instance using @Inject or some other
>> annotation.
>> * Type coercions from MongoDB object to JSONObject and vice-versa.
>> 
>> --
>> Thiago H. de Paula Figueiredo
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
> 
> 
> 
> -- 
> Howard M. Lewis Ship
> 
> Creator of Apache Tapestry
> 
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
> 
> (971) 678-5210
> http://howardlewisship.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to