Hi, I'm trying to use the best practices of rest notes in the following article regarding the connectedness http://www.infoq.com/articles/rest-introduction
<order self='customers/1234' >
23
but I can not implement it. if I use the @XmlElement on product object which is an inner object of order class, All of the product fields will be added to the xml. If I use @xmlidref, then when I post a xml to be consumed for order resource, product is not initialized and in null. also when I use @xmlidref, I can not add the ref attribute to the element. everybody is talking about connectedness using the above example but implementing it using jersey has become a nightmare for me. please help.