Few precisions: GraniteContext.getCurrentInstance() won't work in a standalone servlet: GraniteContext is a ThreadLocal variable initialized in the ...
Hi, Make sure you have configured externalizers in granite-config.xml: <granite-config> <classgetter type="org.granite.hibernate.HibernateClassGetter"/> ...
Thanks for you fast and complete response Franck. I try your solution. ... <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE granite-config PUBLIC "-//Granite...
It's interesting because with this new "granite-config.xml" the transport of Java to Flex of my "Account" Object during the authentication throw an error and...
It seems that your entities do not have the @Entity annotation or that your gas3 classpath is not correctly setup. When correctly set up, gas3 itself adds the...
Nice Job Piotr! I've been looking for some video tutorials on the setup of Seam/Flex/GraniteDS. I have a couple of questions that I wasn't too clear on from...
Hi Blue, 1) This is just a coincidence that I had standalone Flex Builder version not the plugin one. I would suggest everyone rather use FB Eclipse plugin and...
Anyone know how to configure gas3 so that it autogenerates any java class, either: 1) extending a particular interface (eg. IValueObject), and/or 2) has a...
For now, the easiest way is to use a naming convention which allows to select the files in the gas3 ant task fileset, e.g. : <gas3 outputdir="as3"> <classpath>...
Thanks William - yep, figured out option #1 at 4 am this morning. For some reason the Granite Nature Eclipse Plugin wizard wouldn't do it with **/*VO.class but...
Hello all, I need to load test an all Flash web app that is communicating with a Granite DS server. Basically, I need to send a series of packets that simulate...
It's completely intentional that gas3 does not generate inner classes. During deserialization of as3 objects, GDS needs to be able to instantiate the object...
Thanks William: am thinking of going with Cinnamon from SpiceFactory instead of Granite, simply because they seem to have given significant thought to typing...
Hi, I have a look my entity Object and I don't think that I have a problem inside. Have you just an idea to resolve the problem ? Personally I don't see the...
Are you sure that your embedded objects (Stamp, Details, PersonInfo...) are correctly generated ? ... type="org.granite.hibernate.HibernateClassGetter"/> ... ...
I just regenerate my Entities with gas3 RC4 and I after verification, I think that Stamp could be the problem because the Stamp class contians transcient...
Your generated classes look fine, there is no problem with the Transient annotation. It's more likely that there is a problem with granite-config.xml or your...
Hi thanks for your answers, My problem progress .. I try to set all entities which is transfert ... <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE...
Hi, Thanks for your answer William. I try to adapte the ejb3 sample for my project, but I think that is not the best way because with this sample it is hard to...
The projects structure in eclipse is not a problem. It's just easier for the sample to be in one single piece. The important thing is the structure of the...
We are running GraniteDS (1.1.0 RC4) and trying to use the Gravity messaging capabilities. The messages seem to be working (both through Gravity only and ...
I will try to check this. Can you just try with JBoss 4.2.2 and check if you have the same problem. The Consumer.selector should work. The syntax is the one of...