-
Notifications
You must be signed in to change notification settings - Fork 13
/
news.html
311 lines (268 loc) · 20.9 KB
/
news.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
<!DOCTYPE html>
<html>
<head>
<title>Spark Framework - News</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="description" content="Spark Framework - Create web applications in Java rapidly. Spark is a micro web framework that lets you focus on writing your code, not boilerplate code.">
<script>for(var a="nav section footer".split(" "),b=0;b<a.length;b++){document.createElement(a[b])}</script>
<link rel="stylesheet" media="screen" href="/assets/stylesheets/main.min.css">
<link rel="shortcut icon" type="image/png" href="/assets/images/favicon.png">
</head>
<body>
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W4XBCK" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-W4XBCK');</script>
<!-- End Google Tag Manager -->
<!-- Fork me on GitHub -->
<a id="fork-me" href="https://github.com/perwendel/spark" target="_blank">
<img style="position:fixed;top:0;right:0;border:0;z-index:99999"
src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJUAAACVCAMAAABmfEh9AAAAllBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPEhwAAAAFBgkAAAARFR8fIiwRFB4YHCUQEx0RFB4SFiERFB8QEx3s7e4eIStPUlpKTFUvMjwOEhs8P0hfYmlXWmE5PUUZHSfd3uAnKjTAwcRnanB2eH5CRU6TlZqxs7bP0NKFh4yUlpqipKiUlpujpKiipKdzB4/DAAAAFXRSTlMAAwgBDREiKBYbL5wdQBjb3ZzclY3cWcIvAAAGZ0lEQVR42u2c3W7bMAyF02bL2q5bu7WLqDhW7Si24p902/u/3EglljxXQX1jixclsIv0QvhAHvAQZLJFF8vl1dX19afn/Ub9ej+2L5ufd6v725vPn66vr66ulsvFBOGoPj/LLJHvY8kkf/j2ZTUtlqe6ed6+JCOytX/ZPCLW/aRYnur2aZeo3QisjXogrO+TYjmq1ROqZgQWlvpxaiyisljf71dP+yQfJflk8mwtfbK+/NhnmxGSx1L/nBhraZP1ySbr7sc2O4xrEIMiTpqsu6+7zWGU5PNpi0hUfaxRkl9jqR9nxZLjJJ8d5s3W/mWU5Dfq56xY4z1x3iJuxnrinFg/xnrizJLfJZeLuMboJK9mbxDyIpPjkpvD48ySz4NQLpwnzopFY2CYqfzti7ibXfLZIQQlSoBjT1sRJL8bUgmCaiyWHwOjemKXqVIWYDwWlj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WuZdkw+sRgYPTrcacZonKF2i2nOkCntij2omTxQERWovpNsmvfl1weC56TzR33wwS9S5ZFoqGrjK3hioHk5Yg9em9ESnLZUa6lwlNFIc7br5/3PB7c3gsUk90WurAWnNOq3cDrzvibfDxyYdAx1WDcZ0UKStwbngPvDcHOeCGk5QUGSOynviKvDaHGOgqBHKb2wGP6i5Cz43xwldpd3GJnAuWIRj+hO6MABJKvu58p4YemtiT/RYr0b3Tyte8oGX5pK8qAGg9WL3sV1cjum/NVKabjk5iMvPTbwa6e//IlBdWo14qAhU75wLkCkC1bs/qIlFFfZEBlSBMZADVcgTGVCFJM+A6o3kk5wDVWg1woAq4IkcqEKeyIAq4Ik7BlSBMZADVWgMZEAV8EQOVCFPZEAV8EQOVAFP5EAV8kQGVIHVCAeqt5LfSAZUAU/kQBX6JiUDqtBqhAFVwBM5UIU8kQHVW8krDlShcwEDqoAncqAaYqEncqAaYpEnMqD6D2v15QnHQA5Ufaz71eqJxsAFg/BY35HriXbIHMJhEdftM+6QWUSHRVw3+L+VLXhEh4VcGM8LJnHGQjCKBZcgLOKysWATiEXBjAqxiMvGglEsMfhRWS4bC3bBk+ojPuIjPiIc/wAQkAE6ZqHsywAAAABJRU5ErkJggg=='
alt="Fork me on GitHub">
</a>
<!-- End Fork me on GitHub -->
<div id="some-buttons">
<a id="some-twitter" href="https://twitter.com/sparkjava" target="_blank">
<img src='data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEiIHg9IjAiIHk9IjAiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiB2aWV3Qm94PSI0MCAtNjAgMjAwIDIwMCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyA0MCAtNTkuOCAyMDAgMjAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMkFBOUUwIiBkPSJNMTQwLTUwYzUwIDAgOTAgNDAgOTAgOTBzLTQwIDkwLTkwIDkwYy01MCAwLTkwLTQwLTkwLTkwUzkwLTUwIDE0MC01ME0xNDAtNjBDODUtNjAgNDAtMTUgNDAgNDBzNDUgMTAwIDEwMCAxMDBjNTUgMCAxMDAtNDUgMTAwLTEwMFMxOTUtNjAgMTQwLTYwTDE0MC02MHpNMTk5IDljLTQgMi05IDMtMTQgNCA1LTMgOS04IDExLTEzIC01IDMtMTAgNS0xNSA2IC00LTUtMTEtOC0xOC04IC0xMyAwLTI0IDExLTI0IDI0IDAgMiAwIDQgMSA2IC0yMC0xLTM4LTExLTUwLTI1IC0yIDQtMyA4LTMgMTIgMCA4IDQgMTYgMTEgMjAgLTQgMC04LTEtMTEtMyAwIDAgMCAwIDAgMCAwIDEyIDggMjIgMTkgMjQgLTIgMS00IDEtNiAxIC0yIDAtMyAwLTUgMCAzIDEwIDEyIDE3IDIzIDE3IC04IDctMTkgMTAtMzAgMTAgLTIgMC00IDAtNiAwIDExIDcgMjQgMTEgMzcgMTEgNDUgMCA2OS0zNyA2OS02OSAwLTEgMC0yIDAtM0MxOTIgMTggMTk2IDE0IDE5OSA5TDE5OSA5eiIvPjwvc3ZnPg=='
title="Follow Spark on Twitter"
alt="Follow Spark on Twitter">
</a>
<a id="some-gplus" href="https://plus.google.com/+Sparkjavaplus" target="_blank">
<img src='data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEiIHg9IjAiIHk9IjAiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiB2aWV3Qm94PSItOSAtOSAyMDAgMjAwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IC05LjUgLTkuMiAyMDAgMjAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjREM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
<a id="some-facebook" href="https://www.facebook.com/sparkjava" target="_blank">
<img src='data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiIHZpZXdCb3g9IjQwIC01OS44IDIwMCAyMDAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgNDAgLTU5LjggMjAwIDIwMCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZmlsbD0iIzNENUE5QSIgZD0iTTE0MC00OS44YzQ5LjYgMCA5MCA0MC40IDkwIDkwcy00MC40IDkwLTkwIDkwYy00OS42IDAtOTAtNDAuNC05MC05MFM5MC40LTQ5LjggMTQwLTQ5LjhNMTQwLTU5LjhDODQuOC01OS44IDQwLTE1IDQwIDQwLjNzNDQuOCAxMDAgMTAwIDEwMGM1NS4yIDAgMTAwLTQ0LjggMTAwLTEwMFMxOTUuMy01OS44IDE0MC01OS44TDE0MC01OS44eiIvPjxwYXRoIGZpbGw9IiMzQzVBOTkiIHN0cm9rZT0iIzQ4NUM5MCIgZD0iTTE0Mi44LTI0LjdMMTQzLTUuNWMtNC4yIDkuOC0xMi42IDI0LjgtMTguNiAzMC41bC0wLjgtMSAtNDEuNS0wLjFjLTIuMS0wLjEtNC40IDIuNS00LjMgNC4zbDQgNTcuM2MwLjEgMS45IDIgNC4yIDMuOSA0LjJoMzdjMS40IDAgMy40LTEuNSAzLjUtMy40bDAuMi01YzEuMiAxLjggNC40IDQuNSA3LjMgNC41aDQ5LjljNi4zIDAgMTUuOS03LjIgMTIuNy0xOS4zIDMuNS0zLjEgNS43LTguMyAzLjUtMTQuOSAzLjctMy4zIDYuNS05LjUgMy4zLTE1IDEwLTkgMy41LTIxLjYtNC4yLTIxLjZoLTMzLjZjMS4yLTYgMy4yLTEyIDMuMS0xOS45IC0wLjEtNi45LTQuMy0xNi45LTcuNC0yMi4yQzE1OS45LTI5LjUgMTQ4LjItMzMuNyAxNDIuOC0yNC43TDE0Mi44LTI0Ljd6Ii8+PHBhdGggZmlsbD0iIzZFN0ZCMyIgZD0iTTgyLjkgMjkuNGgzNC43bDAuMSA1NS40SDg2LjlMODIuOSAyOS40eiIvPjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xNTkuNyAyMC4yYzEuNi03IDIuNy0xNC42IDMuNS0yMi4xIDAuMi0xLjggMC4yLTMuNC0wLjEtNC45IC0xLTYtMy4zLTExLjMtNS42LTE2LjcgLTIuMS0xLjgtNi40LTIuNS05LjUgMC4ydjE4LjhjLTUuMyAxMS4yLTExLjMgMjItMTguNyAzMS45bC03IDUuMnY0My42aDQuOGMwIDAgNi40IDQuMiA2LjggNCAwLjYgMC4zIDQ5LjkgMC4xIDQ5LjkgMC4xIDIuNiAwLjEgMTIuMy03LjYgNi4yLTEzLjQgLTAuOC0wLjUtMC43LTIuMSAwLjEtMi43IDMuOC0wLjcgOC41LTguNSAzLjYtMTIuNiAtMC44LTEtMC4yLTIuNSAwLjctMi42IDIuOC0xLjUgNy44LTYuNSAzLjMtMTIuNSAtMC45LTAuNS0wLjktMS44LTAuMS0yLjUgNC4zLTAuNiA5LjgtMTEuMiAwLjctMTMuOEwxNTkuNyAyMC4yeiIvPjwvc3ZnPg=='
title="Like Spark on Facebook" alt="Like us on facebook">
</a>
</div>
<nav>
<ul>
<li id="logo"><a href="/"><img src="/assets/images/logo.svg" alt="Spark framework logo"></a></li>
<li id="news-li"><a href="/news.html">News</a></li>
<li id="contact-li"><a href="/contact.html">Contact</a></li>
<li id="tutorial-li"><a href="https://sparktutorials.github.io/" target="_blank">Tutorials</a></li>
<li id="documentation-li"><a href="/documentation.html">Documentation</a></li>
<li id="download-li"><a href="/download.html">Download</a></li>
</ul>
</nav>
<div class="padding-hack"></div>
<section id="news">
<h2 class="google-groups-banner">
Follow us on <a href="https://twitter.com/sparkjava" target="_blank">Twitter</a> to get the latest news, and other Spark related content
</h2>
<ul class="side-nav" id="news-nav">
<li><a href="#spark23released">Spark 2.3 released <span class="news-date">(Sep 2015)</span></a></li>
<li><a href="#spark22released">Spark 2.2 released <span class="news-date">(May 2015)</span></a></li>
<li><a href="#sparksurvey">Spark survey results <span class="news-date">(Apr 2015)</span></a></li>
<li><a href="#spark21released">Spark 2.1 released <span class="news-date">(Dec 2014)</span></a></li>
<li><a href="#sparkworldwide">Spark worldwide <span class="news-date">(Oct 2014)</span></a></li>
<li><a href="#websiteredesign">Website redesign <span class="news-date">(Sep 2014)</span></a></li>
<li><a href="#spark2released"> Spark 2 released <span class="news-date">(May 2014)</span></a></li>
</ul>
<article class="news-article">
<h1 id="spark23released" class="anchor">
<img src="/assets/images/logo_just_spark.svg" alt="Spark framework logo" class="news-bullet">
Spark 2.3 released (Sep 2015)
</h1>
<p>
Spark 2.3 is now available for download on
<a href="http://search.maven.org/#artifactdetails%7Ccom.sparkjava%7Cspark-core%7C2.3%7Cjar" target="_blank">Maven Central</a>.
</p>
<h2>Changes</h2>
<ul>
<li><a href="https://en.wikipedia.org/wiki/WebSocket" target="_blank">WebSocket</a> support</li>
<li><a href="http://www.thymeleaf.org" target="_blank">Thymeleaf</a> template engine support</li>
<li><a href="https://github.com/subchen/jetbrick-template-2x" target="_blank">Jetbrick</a> template engine support</li>
<li>Major improvements to implementation</li>
<li>Newer versions of all dependencies</li>
</ul>
<p>Other minor features have also been added, as well as some bugfixes. See the <a href="https://github.com/perwendel/spark/commits/master" target="_blank">commit history on GitHub</a> for details.</p>
</article>
<article class="news-article">
<h1 id="spark22released" class="anchor">
<img src="/assets/images/logo_just_spark.svg" alt="Spark framework logo" class="news-bullet">
Spark 2.2 released (May 2015)
</h1>
<p>
Spark 2.2 is now available for download on
<a href="http://search.maven.org/#artifactdetails%7Ccom.sparkjava%7Cspark-core%7C2.2%7Cjar" target="_blank">Maven Central</a>.
</p>
<h2>New features</h2>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Gzip" target="_blank">GZIP</a> support</li>
<li>
Support for multiple new template engines:
<ul>
<li><a href="https://jknack.github.io/handlebars.java/" target="_blank">Handlbars</a></li>
<li><a href="http://www.mitchellbosecke.com/pebble/home" target="_blank">Pebble</a></li>
<li><a href="https://github.com/tiagobento/watertemplate-engine" target="_blank">Water</a></li>
</ul>
</li>
<li>Spark jar now seen as bundle by any OSGI container</li>
<li>Embedded Jetty threadpool configuration</li>
<li>awaitInitialization method on SparkBase</li>
<li>Unicode support for routes and params</li>
<li>Methods for removing all routes (or particular ones)</li>
</ul>
<p>There have also been other minor bugfixes and improvements, see the <a href="https://github.com/perwendel/spark/commits/master" target="_blank">commit history on GitHub</a> for details.</p>
</article>
<article class="news-article">
<h1 id="sparksurvey" class="anchor">
<img src="/assets/images/logo_just_spark.svg" alt="Spark framework logo" class="news-bullet">
Spark survey results (Apr 2015)
</h1>
<h2>About the survey</h2>
<p>
For the past couple of weeks we've been showing users on the documentation page a survey popup
(in the lower right corner though, we're not evil).
A couple of hundred users have responded to the survey now, so we've stopped it.
We're sorry if this annoyed anyone, but hey, at least we're sharing the results with you.
</p>
<h2>Survey results</h2>
<img src="/assets/images/news/sparksurveyq1.png" alt="Spark survey results image 1">
<p>
As expected, a lot of our users (51%) use Spark to create REST APIs,
but the amount of people who use Spark to create webpages is pretty high too (25%).
Most people use Spark for personal projects (57%), but a lot also use it at work (42%).
</p>
<p>
A surprisingly high number of our users seem to be using Spark for educational purposes, which is cool.
We've seen the most educational traffic from Brown University (thank you Miyazaki-sensei,
if you have any feedback from you or your students, please let us know).
</p>
<p>
<i>Note: It was possible to select as many alternatives as you wanted for this question,
so keep in mind that there is a lot of overlap between the different groups.</i>
</p>
<br>
<img src="/assets/images/news/sparksurveyq2.png" alt="Spark survey results image 2">
<p>
As can be seen from the first question, about 80% of our users have not deployed their application.
These people have been omitted from this chart, making the sample size approximately 50 people.
Still, it indicates that Spark is a viable candidate for bigger projects.
</p>
<br>
<img src="/assets/images/news/sparksurveyq3.png" alt="Spark survey results image 3">
<p>
No big surprises here. As most Spark users create REST APIs without any view, they have little interest in template engines.
Good news for Freemarker users though, we will work on better code examples for you guys in the coming months, showing that it's
definitely possible (and easy) to create a web application with a MVC'ish structure in Spark!
</p>
<br>
<img src="/assets/images/news/sparksurveyq4.png" alt="Spark survey results image 4">
<p>
We're glad to see that 90% of our users think that Spark's documentation is okay or better
("Good" being the largest group at 41%).
If you find any faults or have any input regarding the documentation,
please <a href="/contact.html">let us know</a>.
We would like all our users to think that our documentation is at least okay.
</p></article>
<article class="news-article">
<h1 id="spark21released" class="anchor">
<img src="/assets/images/logo_just_spark.svg" alt="Spark framework logo" class="news-bullet">
Spark 2.1 released (Dec 2014)
</h1>
<p>
Per has been really busy at work lately, but a new version of Spark is now ready for download on
<a href="http://search.maven.org/#artifactdetails%7Ccom.sparkjava%7Cspark-core%7C2.1%7Cjar" target="_blank">Maven Central</a>.
<br>
The new version is 2.1, not 2.1.0. Since we're aiming to be a lightweight/micro web framework, we decided that having 3 digits was too much!
Also, eight more versions will probably be more than we need before the next major release of Spark (3.0).
</p>
<h2>Changes</h2>
<ul>
<li>Added Request.bodyAsBytes() (get the body as bytes without having to convert it to String)</li>
<li>body() is now available even if "consumed" by previous filter/route (this also solves some query map related problems)</li>
<li>Allow overriding of HTTP method using X-HTTP-Method-Override header</li>
<li>Static resources functionality for other application servers (previously only available for the embedded Jetty)</li>
<li>Fixed MimeParse Exception</li>
<li>Moved route error info to log (from 404 page)</li>
<li>Replaced all System.out/System.err with slf4j logging</li>
<li>Other smaller bugfixes</li>
</ul>
</article>
<article class="news-article">
<h1 id="sparkworldwide" class="anchor">
<img src="/assets/images/logo_just_spark.svg" alt="Spark framework logo" class="news-bullet">
Spark is used all around the world (Oct 2014)
</h1>
<p>
One month after the website redesign we decided to have a look at which countries Spark users come from,
so we created a heat map of our website visitors. While this is probably not 100% corresponding to our
user base, it's reasonable to assume that it's pretty close. We're proud to be a Java web framework with such
a diverse user base, but Africa (and Greenland) seem to be a little underrepresented...
If you know any web developers there, please spread the word (ᵔᴥᵔ)
</p>
<img src="/assets/images/news/sparkworld.png" alt="Spark usage heatmap">
<h2>Top ten countries</h2>
<ol>
<li>United states <b>(23.44%)</b></li>
<li>China <b>(7.06%)</b></li>
<li>Germany <b>(6.21%)</b></li>
<li>India <b>(5.44%)</b></li>
<li>United Kingdom<b>(5.09%)</b></li>
<li>France <b>(3.52%)</b></li>
<li>Brazil <b>(3.04%)</b></li>
<li>Poland <b>(2.95%)</b></li>
<li>Japan <b>(2.70%)</b></li>
<li>Canada <b>(2.56%)</b></li>
</ol>
<p>In total we had visitors from 141 different countries!</p>
</article>
<article class="news-article">
<h1 id="websiteredesign" class="anchor">
<img src="/assets/images/logo_just_spark.svg" alt="Spark framework logo" class="news-bullet">
Website redesign (Sep 2014)
</h1>
<img src="/assets/images/news/redesign.png" alt="Spark Website before and after">
<p>
We're happy to announce that we have completely redesigned our website and graphic profile.
The new website should be easier to navigate, and much more mobile friendly.
<br>
If you have any issues or comments about the new design, please write to us on our
<a href="https://www.facebook.com/sparkjava" target="_blank">Facebook page</a>.
</p>
</article>
<article class="news-article">
<h1 id="spark2released" class="anchor">
<img src="/assets/images/logo_just_spark.svg" alt="Spark framework logo" class="news-bullet">
Spark 2.0.0 released (May 2014)
</h1>
<p>
Spark 2.0.0 is a complete rewrite of the old Spark core to provide support for the new Java 8 lambdas.<br>
The new paradigm is hugely based on the lambda philosophy, so Java 7 is officially not supported anymore.
If you want to work with Java 7, you can still use Spark 1, but unfortunately it won't be updated any longer.
Please consider migrating to Java 8 if at all possible :)
</p>
<h2>Spark 2 Hello World</h2>
<div class="code-snippet"><pre><code class="language-java">import static spark.Spark.*;
public class HelloWorld {
public static void main(String[] args) {
get("/hello", (req, res) -> "Hello World");
}
}</code></pre></div>
<h2>Spark 1 Hello World</h2>
<div class="code-snippet"><pre><code class="language-java">import static spark.Spark.*;
import spark.*;
public class HelloWorld {
public static void main(String[] args) {
get(new Route("/hello") {
@Override
public Object handle(Request request, Response response) {
return "Hello World!";
}
});
}
}</code></pre></div></article>
</section>
<script type="text/javascript" src="/assets/javascripts/smoothscroll.min.js"></script>
<script type="text/javascript" src="/assets/javascripts/prism.js"></script>
<footer>
Spark Framework is a free and open source Java Web Framework, released under the <a href="https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)" target="_blank">Apache 2 License</a>
| <a href="/contact.html">Contact</a>
| <a href="/contact.html#team">Team</a>
</footer>
<script>document.getElementById(document.URL.split("#")[0].slice(document.URL.lastIndexOf('/')+1, -5)+"-li").className = "active";</script>
</body>
</html>