views:

35

answers:

0

Greetings Overflowers,

I'm really tiered of over-thinking this subject

Here are typical mappings:

Relation DB Model <> Server OO Model <> Serialized Model <> Client OO Model

<> stands for bi-directional mapping

I'm currently using Java for my backend and ExtJS (JavaScript library) for my frontend. It makes sense to serialize to/from Java and JSON objects. What is your recommended JSON serialization library ? why ?

How about your recommendation on the DB side ? I really hate the overhead and complexity of relational-OO mapping. I love objectdb's support for the clean JPA2, but it is expensive. Sadly, it seems to be the only OO db to support JPA2 natively. What are your thoughts on this especially when it comes to API cleanness and performance ?

How do you manage your data stores using relational DBs ? do you, for e.g., use wrapper classes to wrap datasets ? or directly manipulate datasets without mapping to objects ? do you map directly to JSON, for e.g., from those datasets ?

Anything for compression/encryption of serialized data before sending ? and how to reverse it back using JavaScript ?

Im really looking for a clean and fast stack of APIs to do my job

Thank you in advance !