<br><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 3:30 PM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Howdy,</div><div><br></div><div>I really like the work on AG Scaffolding!</div><div><br></div><div><br></div><div>A few questions:</div><div><br></div><div>1) Is this available on an &#39;official&#39; page ? </div>

<div><a href="https://gist.github.com/sebastienblanc/5222680" target="_blank">https://gist.github.com/sebastienblanc/5222680</a></div></div></blockquote><div><br></div><div>Not yet, I think we must find a place for it on <a href="http://aerogear.org">aerogear.org</a>, suggestions alre welcome ! </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>2) The generated JS controllers are Angular &#39;controllers&#39; that use AeroGear for HTTP communication ?</div>
</div></blockquote><div><br></div><div>Amgular&#39;s controllers uses the Aerogear generated DataService JS file (which contains/defines  the pipes/datastore)</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div><br></div><div><br></div><div>3) The generated Java/REST Endpoints are vanilla JAX-RS endpoints, but the AG Controller (Routes) does the actual</div><div>HTTP routing, not the JAX-RS impl. right ? </div></div></blockquote>
<div><br></div><div>Right, the &quot;ag controller&quot; scaffolding branch scaffolds a Controller Route and &quot;by pass&quot; the JAX-RS endpoints generated by the REST forge plugin. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><br></div>
<div>So... if 3) the above is right....</div><div><br></div><div>3a)  is it basically a dispatch ? </div></div></blockquote><div><br></div><div>It&#39;s AG Controller magic, just drop the jar and defines a route, any matches will use the Route defined in the controller.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>3b) what is the benefit of using the Controler/Routes in this example.</div></div></blockquote>
<div><br></div><div>* Show the basic use of the Controller / Promote our own stuff</div><div>* IMO Controller has a fluent API which make it really a breeze to define REST endpoints,</div><div>* When Security scaffold will be released (soon ! soon!) ,it will be easy to integrate into the Routes and again show the power of the controller.</div>
<div>* In the future, show how we can easily connect to other services (Dan&#39;s Camel samples)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<div><br></div><div><br></div><div>
Thanks</div></div></blockquote><div><br></div><div>Thanks for the feedback </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="HOEnZb"><font color="#888888"><div>
<br></div><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>

twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</font></span></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br>