title: How do I use CODI Conversation? Specifically, how to end it?
body: <p>Based on advice posted <a href="https://stackoverflow.com/questions/7061709/how-do-i-use-conversationscoped">here</a> and <a href="https://stackoverflow.com/questions/6419442/cdi-weld-how-to-handle-browser-page-refresh-after-ending-conversation/7140564#7140564">here</a>, I looked into and installed <a href="http://myfaces.apache.org/extensions/cdi/index.html" rel="nofollow noreferrer">MyFaces CODI</a> with my application.  My biggest concern was overcoming the shortcomings of Weld's implementation of @ConversationScoped feature.  After some hiccups I got it running on my GlassFish 3.1 development platform, and I converted all my beans to use </p>
  
  <pre><code>import org.apache.myfaces.extensions.cdi.core.api.scope.conversation.ConversationScoped;
  </code></pre>
  
  <p>In the end it seems like I am now not much further along than I was before.  I do not have to call the <strong>conversation.begin()</strong> method anymore, which is good, but the beans hang around after the browser has left the page and come back.  </p>
  
  <p>What I was hoping for was the functionality of JSF 2.0 @ViewScoped that works with CDI.  Once the user leaves the page, the backing bean should be discarded and re-created again if the user comes back.  Is there a way to do this with CODI?</p>
  
  <p>Incidentally, the documentation says it will pick up the @ViewScoped annotations and process them properly.  I tried this and got and Weld wouldn't deploy it.</p>
  
  <p>P.S. I am using myfaces-extcdi-dist-jsf20 version 0.9.5.  I tried installing the core and JSF 2 optional module akibe but it would not deploy on my GlassFish/Weld platform.   Any advice here much appreciated.</p>
  
  <p>UPDATE 1:  I ended up trying the ViewAccessScope annotation supported by CODI, and that seems to do what I wanted.</p>
  
  <p>Follow-up question.  The latest bundle that the maven repository that Apache maintains is 0.9.5 -- Can someone post the pom.xml segment that fetches the latest version?</p>