-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
713 lines (676 loc) · 31.8 KB
/
index.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
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<!--bootstrap cdn-->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<!-- google fonts cdn -->
<link
href="https://fonts.googleapis.com/css?family=IBM+Plex+Mono:400,600,700|PT+Sans:400,700&display=swap"
rel="stylesheet"
/>
<!--custom style sheet-->
<link rel="stylesheet" href="css/style.css" />
<title>Piranha | cloud</title>
</head>
<body>
<!-- landing page section -->
<section class="landing d-flex flex-column">
<nav>
<img src="img/yellow-cloud.svg" alt="Piranha - cloud" class="img-fluid" />
<img src="img/nav-logo.svg" alt="Piranha - cloud" class="img-fluid" />
</nav>
<div class="hero-text m-auto text-center w-100">
<h1>
You want Cloud?<br />
We got Clout!
</h1>
<p class="mb-0">
Piranha is a cloud native extensible runtime, which delivers various
integration libraries facilitating running applications in a non
application server centric way. Some examples of integration libraries
include JakartaEE libraries, as well as MicroProfile libraries, and
integration libraries for various web frameworks, such as Faces, Vaadin,
Wicket, etceteras.
</p>
<div class="d-flex">
<div class="d-flex accolades-wrapper mx-auto flex-wrap">
<a href="https://piranha.cloud/getting-started">
<button type="button">
GET STARTED!
</button>
</a>
</div>
</div>
</div>
</section>
<!-- intro section -->
<section class="intro">
<div class="row">
<div class="col-lg-6 text px-0">
<h1>
Can Piranha really strip a server to the core in under a minute?
</h1>
<p>
A traditional Enterprise Java runtime is an installed application
server acting as a deployment target, which supports running multiple
applications via archives, which are each isolated by classloaders,
and serves these applications via remote protocols such as HTTP.
</p>
<p>
Piranha’s scalable architecture can strip away all these features
until only the bare libraries remain. A web application can be run
having only the libraries on the flat classpath, and not even having
an HTTP server running.
</p>
</div>
<div class="col-lg-6 image px-0 d-flex">
<div class="m-auto">
<img src="img/server-fish.svg" alt="" class="img-fluid m-auto" />
</div>
</div>
</div>
</section>
<!-- features section -->
<section class="features">
<h1 class="text-center px-2">Scalable architecture</h1>
<div class="d-flex">
<p class="text-center mx-auto mb-0 px-3">
Piranha can scale down to essentially a serverless framework, or you can
use it as a unit testing framework, all the way up to something more
akin to a traditional application server, and many steps in between.
</p>
</div>
<div class="row">
<!-- Embedded -->
<div class="col-xl-3 col-lg-4 col-md-6">
<div class="card-yellow">
<div class="d-flex">
<div class="mx-auto">
<img
src="img/yellow-cloud.svg"
alt=""
class="img-fluid mx-auto"
/>
</div>
</div>
<h5>Piranha Embedded</h5>
<div class="d-flex">
<div class="mb-auto">
<img src="img/yellow-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Can be used for embedding in your own application.
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/yellow-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Used extensively within the Piranha project to verify its
functionality.
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/yellow-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Can be customized with HTTP and other functionality
</p>
</div>
<a href="https://piranha.cloud/embedded">
<button type="button" class="w-100">LEARN MORE</button>
</a>
</div>
</div>
<!-- Core Profile -->
<div class="col-xl-3 col-lg-4 col-md-6">
<div class="card-green">
<div class="d-flex">
<div class="mx-auto">
<img
src="img/green-cloud.svg"
alt=""
class="img-fluid mx-auto"
/>
</div>
</div>
<h5>Piranha Core Profile</h5>
<div class="d-flex">
<div class="mb-auto">
<img src="img/green-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
A runtime delivering Jakarta Core
Profile support
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/green-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
A micro services ready runtime
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/green-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
One web application archive
</p>
</div>
<a href="https://piranha.cloud/core-profile/">
<button type="button" class="w-100">LEARN MORE</button>
</a>
</div>
</div>
<!-- Servlet -->
<div class="col-xl-3 col-lg-4 col-md-6">
<div class="card-purple">
<div class="d-flex">
<div class="mx-auto">
<img
src="img/purple-cloud.svg"
alt=""
class="img-fluid mx-auto"
/>
</div>
</div>
<h5>Piranha Servlet</h5>
<div class="d-flex">
<div class="mb-auto">
<img src="img/purple-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
One web application archive
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/purple-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
A runtime that delivers the same application
level support as a traditional Servlet container
</p>
</div>
<a href="https://piranha.cloud/servlet/">
<button type="button" class="w-100">LEARN MORE</button>
</a>
</div>
</div>
</div>
<div class="row">
<!-- Micro Profile -->
<div class="col-xl-3 col-lg-4 col-md-6">
<div class="card-blue">
<div class="d-flex">
<div class="mx-auto">
<img
src="img/blue-cloud.svg"
alt=""
class="img-fluid mx-auto"
/>
</div>
</div>
<h5>Piranha Micro Profile</h5>
<div class="d-flex">
<div class="mb-auto">
<img src="img/blue-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
A runtime delivering Eclipse Micro Profile support
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/blue-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
One web application archive
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/blue-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Includes an HTTP server
</p>
</div>
<a href="https://piranha.cloud/micro-profile/">
<button type="button" class="w-100">LEARN MORE</button>
</a>
</div>
</div>
<!-- Web Profile -->
<div class="col-xl-3 col-lg-4 col-md-6">
<div class="card-yellow">
<div class="d-flex">
<div class="mx-auto">
<img
src="img/yellow-cloud.svg"
alt=""
class="img-fluid mx-auto"
/>
</div>
</div>
<h5>Piranha Web Profile</h5>
<div class="d-flex">
<div class="mb-auto">
<img src="img/yellow-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
A runtime delivering Jakarta Web Profile support
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/yellow-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
One web application archive
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/yellow-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Includes an HTTP server
</p>
</div>
<a href="https://piranha.cloud/web-profile/">
<button type="button" class="w-100">LEARN MORE</button>
</a>
</div>
</div>
<!-- Micro -->
<div class="col-xl-3 col-lg-4 col-md-6">
<div class="card-green">
<div class="d-flex">
<div class="mx-auto">
<img
src="img/green-cloud.svg"
alt=""
class="img-fluid mx-auto"
/>
</div>
</div>
<h5>Piranha Micro</h5>
<div class="d-flex">
<div class="mb-auto">
<img src="img/green-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Delivers you with a single executable JAR file.
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/green-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
At minimum can be used as a Servlet container.
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/green-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Includes an HTTP server. <br/>
<br/>
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/green-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
One web application archive. <br/>
<br/>
</p>
</div>
<a href="https://piranha.cloud/micro/">
<button type="button" class="w-100">LEARN MORE</button>
</a>
</div>
</div>
</div>
<div class="row">
<!-- Platform -->
<div class="col-xl-3 col-lg-4 col-md-6">
<div class="card-purple">
<div class="d-flex">
<div class="mx-auto">
<img
src="img/purple-cloud.svg"
alt=""
class="img-fluid mx-auto"
/>
</div>
</div>
<h5>Piranha Platform</h5>
<div class="d-flex">
<div class="mb-auto">
<img src="img/purple-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
A runtime delivering Jakarta Platform support
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/purple-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
One web / enterprise application archive
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/purple-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Includes an HTTP server
</p>
</div>
<a href="https://piranha.cloud/platform/">
<button type="button" class="w-100">LEARN MORE</button>
</a>
</div>
</div>
<!-- Server -->
<div class="col-xl-3 col-lg-4 col-md-6">
<div class="card-blue">
<div class="d-flex">
<div class="mx-auto">
<img
src="img/blue-cloud.svg"
alt=""
class="img-fluid mx-auto"
/>
</div>
</div>
<h5>Piranha Server</h5>
<div class="d-flex">
<div class="mb-auto">
<img src="img/blue-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Delivers you with an installed version of Piranha
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/blue-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
At minimum can be used as a Servlet container
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/blue-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Includes an HTTP server
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/blue-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Supports multiple web applications. <br/>
<br/>
</p>
</div>
<a href="https://piranha.cloud/server/">
<button type="button" class="w-100">LEARN MORE</button>
</a>
</div>
</div>
<!-- Isolated -->
<div class="col-xl-3 col-lg-4 col-md-6">
<div class="card-yellow">
<div class="d-flex">
<div class="mx-auto">
<img
src="img/yellow-cloud.svg"
alt=""
class="img-fluid mx-auto"
/>
</div>
</div>
<h5>Piranha Isolated</h5>
<div class="d-flex">
<div class="mb-auto">
<img src="img/yellow-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Delivers you with an installed version of Piranha
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/yellow-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Includes an HTTP server
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/yellow-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Supports multiple web applications. <br/>
<br/>
</p>
</div>
<div class="d-flex">
<div class="mb-auto">
<img src="img/yellow-bracket.svg" class="mb-auto" alt="" />
</div>
<p>
Keeps applications isolated from each other. <br/>
<br/>
</p>
</div>
<a href="https://piranha.cloud/isolated/">
<button type="button" class="w-100">LEARN MORE</button>
</a>
</div>
</div>
</div>
</section>
<!-- native intro section -->
<section class="native-intro">
<div class="row">
<div class="col-lg-6">
<h1>Cloud Native</h1>
<p>
The cloud deployment model focusses on small, immutable units. With
containers like Docker and platforms like Kubernetes, the archive
and deployment features of a traditional application server are not
necessarily needed anymore, but the Jakarta EE and MicroProfile APIs
themselves are still really useful. Piranha can focus on only these
APIs, and completely omitting (not just hiding) all functionality
related to archives and deployment, making it optimally suited for a
cloud environment.
</p>
</div>
<div class="col-lg-6 d-flex">
<div class="m-auto">
<img src="img/cloud-guy.svg" alt="" class="img-fluid m-auto" />
</div>
</div>
</div>
</section>
<!-- unit testing section -->
<section class="testing">
<h1>Unit (like) testing</h1>
<div class="d-flex p-4">
<p class="mx-auto">
Because traditional Jakarta EE products come with the deployment
model, there is a bit more involved with testing code. Tools like
Arquillian make integration testing quite easy, but often developers
like a more unit testing oriented approach as well.
</p>
</div>
<!-- code editor -->
<div class="editor-wrapper d-flex p-4">
<div class="mx-auto editor d-flex flex-column">
<div class="yellow-bar"></div>
<div class="code-wrapper">
<div class="code-container">
<p>
<span class="purple">EmbeddedPiranha</span> piranha = new
<span class="purple">EmbeddedPiranhaBuilder</span>()<br />
<span class="tab"></span>.<span class="blue">servlet</span
>("<span class="red">SnoopServlet</span>",
<span class="purple">SnoopServlet</span>.<span class="blue"
>class.getName</span
>()) <br /><span class="tab"></span>.<span class="blue"
>servletMapping</span
>("<span class="red">SnoopServlet</span>", "<span class="red"
>/SnoopServlet</span
>") <br /><span class="tab"></span>.<span class="blue"
>build</span
>() <br /><span class="tab"></span>.<span class="blue"
>start</span
>(); <br /><br /><span class="purple">EmbeddedRequest</span>
request = new
<span class="purple">EmbeddedRequestBuilder</span>() <br /><span
class="tab"
></span
>.<span class="blue">servletPath</span>("<span class="red"
>/SnoopServlet</span
>") <br /><span class="tab"></span>.<span class="blue"
>build</span
>(); <br /><br /><span class="purple">EmbeddedResponse</span>
response = new
<span class="purple">EmbeddedResponseBuilder</span>()
<br /><span class="tab"></span>.<span class="blue">build</span
>(); <br /><br />piranha.<span class="blue">service</span
>(request, response);
<span class="purple">assertTrue</span>(response.<span
class="purple"
>getResponseAsString</span
>().<span class="blue">endsWith</span>("<span class="red"
>SUCCESS</span
>"));<br /><br />
piranha.<span class="blue">stop</span>()<br />
<span class="tab"></span>.<span class="blue">destroy</span>();
</p>
</div>
</div>
</div>
</div>
<style>
#github {
border-radius: 5px;
background-color: #fff84c;
color: #131415;
padding: 15px 20px;
font-size: 16px;
font-weight: bold;
line-height: 1.25;
letter-spacing: 3px;
margin-top: 28px;
img {
margin-right: 16px;
}
}
</style>
<div class="d-flex">
<div class="d-flex accolades-wrapper mx-auto flex-wrap">
<a href="https://github.com/piranhacloud/piranha">
<button id="github" type="button">
<img src="img/github-icon.svg" alt="" />VIEW ON GITHUB
</button>
</a>
</div>
</div>
<h5>PIRANHA TEAM ACCOLADES</h5>
<div class="d-flex">
<div class="d-flex accolades-wrapper mx-auto flex-wrap">
<div>
<h3>2</h3>
<p>JAVA CHAMPION</p>
</div>
<div>
<h3>2</h3>
<p>SPEC/PROJECT LEAD</p>
</div>
<div>
<h3>1</h3>
<p>DUKE CHOICE AWARD</p>
</div>
</div>
</div>
</section>
<!--section class="news-letter">
<div class="row">
<div class="col-lg-7">
<h1>Subscribe to our newsletter</h1>
<div class="d-flex form">
<input type="email" placeholder="E-mail Address*" />
<button type="submit">SUBMIT</button>
</div>
</div>
<div class="col-lg-5 text-right">
<img src="img/news-letter.svg" alt="" class="img-fluid" />
</div>
</div>
</section-->
<footer>
<div class="row">
<div class="col-lg-5"><p>Copyright 2019-2023 Piranha Cloud</p></div>
<div class="col-lg-4 d-flex">
<p class="mr-4 ml-auto"><!--Privacy Policy--></p>
<p><!--Terms of Service--></p>
</div>
<div class="col-lg-3 text-right">
<!--img src="/img/facebook.svg" alt="" /-->
<a href="https://twitter.com/piranha_cloud" style="text-decoration: none;">
<img src="img/twitter.svg" alt="" />
</a>
<a href="https://github.com/piranhacloud/piranha" style="text-decoration: none;">
<img src="img/github.svg" alt="" />
</a>
<!--img src="/img/linkedin.svg" alt="" /-->
</div>
</div>
</footer>
<!--bootstrap CDN-->
<script
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"
></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"
></script>
</body>
</html>