Using GWT with Morphia?
I was wondering if anyone is actually using the GWT plugin jar with Morphia, as I've been trying to get it working and no matter the configuration it doesn't work, it keeps complaining about missing source code for ObjectId. Does anyone have a working example of using Morphia with GWT or is the plugin no longer supported?
We have been using morphia with Gwt in our project for more than a year. There is working fork https://github.com/ismetozalp/morphia
@evanchooly please take a look , changes are https://github.com/ismetozalp/morphia/compare/mongodb:master...master
Wow thankyou for that, it will simplify my codeline dramatically, are you guys just building it yourselves or do you know if it has an official maven location for downloading the jars?
Actually we just created the fork after we saw your ticket here to provide a solution to gwt users. Its better to mongodb/morphia guys to merge our fork so that everybody can benefit easly. Unfortunatally we only have private maven repository so i can nit give you a link, but you can clone yourself and built from it. But if you need the jar file i can send you.
I'm not a GWT guy so I'm not even sure why GWT needs a special module. My guess is it's something to do with the serialization. I'm happy to accept any pull requests on it but i'll probably just need a bit of guidance on the impact of the changes since I have no context in which to evaluate them.
I would be happy to assist you with gwt if you need. Yes problem is with serialization. Some files can not be serialized on client side so gwt need emulation files and custom field serializers.
It would be great to get GWT support working in Morphia, for the time being I've downloaded and built a jar locally, thanks again :)
Please file a pull request and we can work on getting things patched up here.
Ok Justin i will send a request.
You are welcome, happy to assist.
Merged @ismetozalp's pull request that fixes this issue. hopefully.