<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 31, 2014 at 5:08 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"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Mar 31, 2014 at 5:03 PM, Karel Piwko <span dir="ltr">&lt;<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 31 Mar 2014 16:41:09 +0200<br>
<div><div>Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt; wrote:<br>
<br>
&gt; On Mon, Mar 31, 2014 at 4:39 PM, Karel Piwko &lt;<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Mon, 31 Mar 2014 15:25:41 +0200<br>
&gt; &gt; Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hello there,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; we recently had talks about creating some simplified quickstarts and<br>
&gt; &gt; &gt; hello-word demos, related to the UnifiedPush Server and JBoss AS<br>
&gt; &gt; developers:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; * Hello World (No Server Code - just client receiving push, no fancy<br>
&gt; &gt; &gt; (complex) UI on the client, nor integrated into a Cookbook or something<br>
&gt; &gt; &gt; that has &quot;dependencies&quot;)<br>
&gt; &gt; &gt; ** Cordova<br>
&gt; &gt; &gt; ** Android<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; For iOS that is already there:<br>
&gt; &gt; &gt; <a href="https://github.com/aerogear/aerogear-push-ios-demo" target="_blank">https://github.com/aerogear/aerogear-push-ios-demo</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Yes, just usage of the &quot;Push Registration SDKs&quot;, is the goal here: keep<br>
&gt; &gt; it<br>
&gt; &gt; &gt; simple, since native push can be a complicated use-case all on its own<br>
&gt; &gt; and<br>
&gt; &gt; &gt; so it will be good to make sure we cover the basics here.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Beyond the Hello-World, we wanted some different quickstarts. The<br>
&gt; &gt; &quot;server&quot;<br>
&gt; &gt; &gt; components that come to mind would be:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; *Secured CRUD + Push Integration (Java Sender)<br>
&gt; &gt; &gt; ** JAX-RS + PicketLink<br>
&gt; &gt; &gt; ** SpringMVC/Spring Security<br>
&gt; &gt; &gt; ** JAX-RS + Apache Camel<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; These need to function on both JBoss AS 7.X and EAP.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Josh, from the JDF team, has already said he wants to help on the server<br>
&gt; &gt; &gt; projects (especially the JAX-RS/PL and Spring ones). yay!<br>
&gt; &gt; &gt; Note: Josh already has a simple backend started that is used in JDF<br>
&gt; &gt; &gt; quickstarts that would be good to re-use to make it easier for developers<br>
&gt; &gt; &gt; to transition from one to other.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; The goal would be the SERVER acts same to outside (identical REST<br>
&gt; &gt; &gt; endpoints, difference is only an impl. detail (e.g. JavaEE vs. Spring vs.<br>
&gt; &gt; &gt; Camel))<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; For these different servers, there would be mobile apps needed:<br>
&gt; &gt; &gt; * Android<br>
&gt; &gt; &gt; * Cordova<br>
&gt; &gt; &gt; * iOS<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m not sure if I got that. You mean extra 3 apps per each supported<br>
&gt; &gt; backed?<br>
&gt; &gt; Making it 9 additional apps to test and maintain?<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; No: total of 3 server apps and 3 client apps<br>
<br>
</div></div>That&#39;s a weight off my shoulders :-)<br>
<br>
What do you guys feel of these quickstarts having additional registration<br>
button? E.g. it should be possible to provide UPS username/pass/variant name,<br>
and get variantId/secret dynamically via REST, so not hardcoded in app. You<br>
could then use one app to (re)connect to different UPS instances without<br>
redeploy. Once registered via button, variantId/secret could go into offline<br>
storage.<br>
<br>
Something similar to<br>
<a href="https://github.com/TadeasKriz/aerogear-push-test-android/blob/master/src/org/jboss/aerogear/pushtest/activity/RegistrationActivity.java#L57" target="_blank">https://github.com/TadeasKriz/aerogear-push-test-android/blob/master/src/org/jboss/aerogear/pushtest/activity/RegistrationActivity.java#L57</a><br>


I&#39;m not sure if it&#39;s good for a quickstart but it should be valuable for a demo.<br>
<div><div><br></div></div></blockquote><div><br></div></div></div><div>sure, we can certainly do that. </div><div>AeroDoc&#39;s &#39;issue&#39; :-) is it has the cfg inside of the code.</div></div></div></div></blockquote>
<div>Yes but for AeroDoc , that was only present in the backend (which make sense) and not the clients.</div><div>But that make me think that it should be configurable in the server bits.</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 class="gmail_extra"><div class="gmail_quote"><div><br></div>
<div>Once we get to hack on these clients, let&#39;s worry about details, but yes - certainly a valid point</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>-M</div></font></span><div><div class="h5">
<div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>
<br>
&gt;<br>
&gt;<br>
&gt; &gt; Should not the client be the same no matter have backend is set up?<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; The idea would be to keep them simple and straightforward as well, e.g.<br>
&gt; &gt; for<br>
&gt; &gt; &gt; iOS that means plain usage of NSURLConnection / NSURLSession. But for the<br>
&gt; &gt; &gt; &quot;push registration&quot; of the client,<br>
&gt; &gt; &gt; the iOS-push SDK would be used (same/similar would apply to Cordova or<br>
&gt; &gt; &gt; Android). Similar to the above &#39;Hello World&#39;, the quickstarts are going<br>
&gt; &gt; to<br>
&gt; &gt; &gt; be focused only on Push functionality, so for these we would leave out<br>
&gt; &gt; &gt; pipes and such until later versions.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I will be creating Epics and subtasks in JIRA for this.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; For the location of all these projects, I had this &quot;uber repo&quot; location<br>
&gt; &gt; in<br>
&gt; &gt; &gt; mind:<br>
&gt; &gt; &gt; * <a href="https://github.com/aerogear/aerogear-push-helloworld" target="_blank">https://github.com/aerogear/aerogear-push-helloworld</a><br>
&gt; &gt; &gt; * <a href="https://github.com/aerogear/aerogear-push-quickstarts" target="_blank">https://github.com/aerogear/aerogear-push-quickstarts</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Greetings,<br>
&gt; &gt; &gt; Matthias<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; aerogear-dev mailing list<br>
&gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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>
</div></div></blockquote></div></div></div><br><br clear="all"><div class=""><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>
</div></div></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></div></div>