openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1777632 [5/5] - in /openwebbeans/cms-site/trunk/content/meecrowave: ./ meecrowave-core/ meecrowave-gradle/ meecrowave-jolokia/ meecrowave-jpa/ meecrowave-jta/ meecrowave-maven/ testing/
Date Fri, 06 Jan 2017 15:47:37 GMT
Modified: openwebbeans/cms-site/trunk/content/meecrowave/start.html
URL: http://svn.apache.org/viewvc/openwebbeans/cms-site/trunk/content/meecrowave/start.html?rev=1777632&r1=1777631&r2=1777632&view=diff
==============================================================================
--- openwebbeans/cms-site/trunk/content/meecrowave/start.html (original)
+++ openwebbeans/cms-site/trunk/content/meecrowave/start.html Fri Jan  6 15:47:37 2017
@@ -114,6 +114,52 @@ public class HelloKitchen {
 </div>
 </div>
 </div>
+<div class="sect1">
+<h2 id="_you_re_in_a_hurry_use_groovy">You&#8217;re in a hurry? Use groovy!</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>Create a file called <code>hello.groovy</code>:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlightjs highlight"><code class="language-groovy" data-lang="groovy">@Grab('org.apache.meecrowave:meecrowave-core:0.3.0')
+
+import org.apache.meecrowave.Meecrowave
+
+import javax.ws.rs.GET
+import javax.ws.rs.Path
+import javax.enterprise.context.ApplicationScoped
+
+@Path("hello")
+@ApplicationScoped
+class Hello {
+    @GET
+    hi() {
+        "hi"
+    }
+}
+
+new Meecrowave().bake().await()</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>then</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlightjs highlight"><code class="language-groovy" data-lang="groovy">groovy
hello.groovy</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Finally you can test it:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlightjs highlight"><code>curl http://localhost:8080/hello</code></pre>
+</div>
+</div>
+</div>
+</div>
             </section><!--//doc-section-->
 
 

Modified: openwebbeans/cms-site/trunk/content/meecrowave/start.pdf
URL: http://svn.apache.org/viewvc/openwebbeans/cms-site/trunk/content/meecrowave/start.pdf?rev=1777632&r1=1777631&r2=1777632&view=diff
==============================================================================
--- openwebbeans/cms-site/trunk/content/meecrowave/start.pdf (original)
+++ openwebbeans/cms-site/trunk/content/meecrowave/start.pdf Fri Jan  6 15:47:37 2017
@@ -4,16 +4,16 @@
 << /Title (Quick start)
 /Creator (Asciidoctor PDF 1.5.0.alpha.11, based on Prawn 1.3.0)
 /Producer (Asciidoctor PDF 1.5.0.alpha.11, based on Prawn 1.3.0)
-/CreationDate (D:20170102212932+01'00')
-/ModDate (D:20170102212932+01'00')
+/CreationDate (D:20170106164612+01'00')
+/ModDate (D:20170106164612+01'00')
 >>
 endobj
 2 0 obj
 << /Type /Catalog
 /Pages 3 0 R
 /Names 12 0 R
-/Outlines 17 0 R
-/PageLabels 20 0 R
+/Outlines 20 0 R
+/PageLabels 24 0 R
 /PageMode /UseOutlines
 /OpenAction [7 0 R /FitH 842.89]
 /ViewerPreferences << /DisplayDocTitle true
@@ -22,8 +22,8 @@ endobj
 endobj
 3 0 obj
 << /Type /Pages
-/Count 2
-/Kids [7 0 R 10 0 R]
+/Count 3
+/Kids [7 0 R 10 0 R 18 0 R]
 >>
 endobj
 4 0 obj
@@ -80,15 +80,15 @@ endobj
 << /Type /Font
 /BaseFont /AAAAAP+NotoSerif
 /Subtype /TrueType
-/FontDescriptor 22 0 R
+/FontDescriptor 26 0 R
 /FirstChar 32
 /LastChar 255
-/Widths 24 0 R
-/ToUnicode 23 0 R
+/Widths 28 0 R
+/ToUnicode 27 0 R
 >>
 endobj
 9 0 obj
-<< /Length 16730
+<< /Length 17461
 >>
 stream
 q
@@ -1148,6 +1148,50 @@ ET
 
 0.000 0.000 0.000 SCN
 0.000 0.000 0.000 scn
+0.200 0.200 0.200 scn
+0.200 0.200 0.200 SCN
+
+BT
+48.24 224.4340000000001 Td
+/F2.0 22 Tf
+[<59> 69.82421875 <6f75d5726520696e20612068757272793f205573652067726f6f767921>]
TJ
+ET
+
+0.000 0.000 0.000 SCN
+0.000 0.000 0.000 scn
+0.200 0.200 0.200 scn
+0.200 0.200 0.200 SCN
+
+BT
+48.24 195.2460000000001 Td
+/F1.0 10.5 Tf
+<43726561746520612066696c652063616c6c656420> Tj
+ET
+
+0.000 0.000 0.000 SCN
+0.000 0.000 0.000 scn
+0.694 0.129 0.275 scn
+0.694 0.129 0.275 SCN
+
+BT
+142.9605 195.2460000000001 Td
+/F3.0 10.5 Tf
+<68656c6c6f2e67726f6f7679> Tj
+ET
+
+0.000 0.000 0.000 SCN
+0.000 0.000 0.000 scn
+0.200 0.200 0.200 scn
+0.200 0.200 0.200 SCN
+
+BT
+205.96050000000002 195.2460000000001 Td
+/F1.0 10.5 Tf
+<3a> Tj
+ET
+
+0.000 0.000 0.000 SCN
+0.000 0.000 0.000 scn
 q
 0.000 0.000 0.000 scn
 0.000 0.000 0.000 SCN
@@ -1182,7 +1226,7 @@ endobj
 /F1.0 8 0 R
 /F3.0 15 0 R
 >>
-/XObject << /Stamp1 16 0 R
+/XObject << /Stamp1 19 0 R
 >>
 >>
 >>
@@ -1196,281 +1240,1155 @@ endobj
 >>
 endobj
 13 0 obj
-<< /Names [(_your_first_application) 11 0 R]
+<< /Names [(_you_re_in_a_hurry_use_groovy) 16 0 R (_your_first_application) 11 0 R]
 >>
 endobj
 14 0 obj
 << /Type /Font
 /BaseFont /AAAAAQ+NotoSerif-Bold
 /Subtype /TrueType
-/FontDescriptor 26 0 R
+/FontDescriptor 30 0 R
 /FirstChar 32
 /LastChar 255
-/Widths 28 0 R
-/ToUnicode 27 0 R
+/Widths 32 0 R
+/ToUnicode 31 0 R
 >>
 endobj
 15 0 obj
 << /Type /Font
 /BaseFont /AAAAAR+mplus1mn-regular
 /Subtype /TrueType
-/FontDescriptor 30 0 R
+/FontDescriptor 34 0 R
 /FirstChar 32
 /LastChar 255
-/Widths 32 0 R
-/ToUnicode 31 0 R
+/Widths 36 0 R
+/ToUnicode 35 0 R
 >>
 endobj
 16 0 obj
-<< /Type /XObject
-/Subtype /Form
-/BBox [0 0 595.28 841.89]
-/Length 178
+[10 0 R /XYZ 0 252.73000000000013 null]
+endobj
+17 0 obj
+<< /Length 12260
 >>
 stream
 q
-/DeviceRGB cs
-0.000 0.000 0.000 scn
-/DeviceRGB CS
-0.000 0.000 0.000 SCN
-1 w
-0 J
-0 j
-[ ] 0 d
 q
-0.25 w
+/DeviceRGB cs
+0.961 0.961 0.961 scn
+52.240 805.890 m
+543.040 805.890 l
+545.249 805.890 547.040 804.099 547.040 801.890 c
+547.040 522.570 l
+547.040 520.361 545.249 518.570 543.040 518.570 c
+52.240 518.570 l
+50.031 518.570 48.240 520.361 48.240 522.570 c
+48.240 801.890 l
+48.240 804.099 50.031 805.890 52.240 805.890 c
+h
+f
 /DeviceRGB CS
-0.867 0.867 0.867 SCN
-48.240 30.000 m
-547.040 30.000 l
+0.800 0.800 0.800 SCN
+0.75 w
+52.240 805.890 m
+543.040 805.890 l
+545.249 805.890 547.040 804.099 547.040 801.890 c
+547.040 522.570 l
+547.040 520.361 545.249 518.570 543.040 518.570 c
+52.240 518.570 l
+50.031 518.570 48.240 520.361 48.240 522.570 c
+48.240 801.890 l
+48.240 804.099 50.031 805.890 52.240 805.890 c
+h
 S
 Q
-Q
+/DeviceRGB cs
+0.600 0.600 1.000 scn
+/DeviceRGB CS
+0.600 0.600 1.000 SCN
 
-endstream
-endobj
-17 0 obj
-<< /Type /Outlines
-/Count 2
-/First 18 0 R
-/Last 19 0 R
->>
-endobj
-18 0 obj
-<< /Title <feff0051007500690063006b002000730074006100720074>
-/Parent 17 0 R
-/Count 0
-/Next 19 0 R
-/Dest [7 0 R /XYZ 0 841.89 null]
->>
-endobj
-19 0 obj
-<< /Title <feff0059006f007500720020006600690072007300740020006100700070006c00690063006100740069006f006e>
-/Parent 17 0 R
-/Count 0
-/Prev 18 0 R
-/Dest [10 0 R /XYZ 0 841.89 null]
->>
-endobj
-20 0 obj
-<< /Nums [0 << /P (i)
->> 1 << /P (1)
->>]
->>
-endobj
-21 0 obj
-<< /Length1 8072
-/Length 5126
-/Filter [/FlateDecode]
->>
-stream
-xœ½Y{tՙ¿w4zږ-K–dɖFËòK[–”Ø–ü~įø)?ãX¶åGü‘mˆãRšBHHÞ¤!€ãf!ËBOزœØíaӒ³¥X¶pÚ.¥¤m)‡“Ä“ýf4ò·ü×ñ‘F÷›™ïþîïûÝï~wŒ0BH†œHˆf‡§ƒ³ç^úç?åB8yljqôðAå8ü~¡”“Sááàž+ÃÇÒ´À=-ãÓóûŸm—Ü
í³Ð>=>
-&ýRAH[íŒéàþYTŠ§ =mjw»£àËWï¾Ú߂öàlxnžÌ:¡ý´gg‚Ó¡÷¹JÿB܍$h¼Ž‘íÏŒX¼ÅÃOúÚolðÄdô$D"1{–HYŠ‹OÃ)1‰¿M‘¬T¥
µF›ªÓ§¥Œˆ2™éÊüú¾ÿAF.ü!QG,±cSºM)."øðÃÑkG`ȗ„/##B.·«ÀO¸rmÎtû¥Ø¥PˆbœòÚQÚgÓ[kÊ|[‘±´¶ÝuòvÝGdÆ"'YèlÞaôåK4·eßµ\g‘Q`Ù\¹ñg|žì@JdEÈ[è'\"E%'h³Pli¯¨h‡^ç SRh‡Nï U[Û·f¹)¹œrgY=ìÙ#˜[7˜är}6‚H¸,|e
O,Ç)*5ŒÀč͋]Ø à›îÂLرU.LøL³TVYí`⭆³Q‰_?‹ŸjÎ3èW/:–¤’¶eÊ­+ÕiÉwáŸãßÖ:…Î@
!ßO¾r-ÊI•CŠÍïñžGë-Õu»ÌŽã…—Éeá¢Øˆí0j9ü62æ‰À„»0ُ¢‰GÆ\zgyfêξÊùÇGíÎñÇnj˜ë®Ô)ÔÈCø^Kǹ/„oÐþŽ|“Û¢r48:Ÿøì᣿{¢7ÝYjŽË4Z[+r§^ÇêZÁª×g8~šŸ~àG‡,€FEÈ1mâãr±ÛT`Àɘ5$AS!ìïX¹úýÕã:Úg×éí>³Ž˜;óåS½«îÏðýå/?$Þ?Ïüß¿qJ\¶y
Ò@ðEæÊõ÷ÛÏþñAœ+®iY _âqèwƒÎøþR8x¥5sý°ÚÒz³ß¦×Ûüf}Ôûï8eq¿¯§ñ*ß7>fTœïtÐò¶®åÐÒ(+Æj,ÑD=×}ó©!šY°t}gŠüˆι¾F{~ÚÎc»À/(‹×ӘGº…5)Þ<a²‚¢&˜Ü0cQY½fcՙ}v=‡
Mime
View raw message