AnsweredAssumed Answered

JCR proxy question

Question asked by rdotzeus on Dec 17, 2007
  I am a newbie to alfresco. I read the jcr example and the alfresco source.
Alfresco implement the jcr interface. Coder who is familiar with jcr don't need
to learn Alfresco to use jcr. Alfresco proxy the jcr session or node to its implement. My question is that in alfresco 2.1,why they always return

"proxy = (Node)JCRProxyFactory.create(this, Node.class, session); "
(org.alfresco.jcr.item.NodeImpl line:129)

. why can't it just return "this"(node instance)?

what is the benefit to use dynamic proxy  here?