All Projects → dbelob → helloworld-web

dbelob / helloworld-web

Licence: other
Hello World web application in 39 different ways in Java

Programming Languages

java
68154 projects - #9 most used programming language
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
SCSS
7915 projects
CSS
56736 projects

Projects that are alternatives of or similar to helloworld-web

Pac4j
Security engine for Java (authentication, authorization, multi frameworks): OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 2,097 (+11550%)
Mutual labels:  dropwizard, play-framework, vertx, spring-mvc
java-jaxrs
OpenTracing Java JAX-RS instrumentation
Stars: ✭ 37 (+105.56%)
Mutual labels:  jersey, apache-cxf, resteasy
javaee8-cookbook
Jakarta EE 8 Cookbook (second edition)
Stars: ✭ 40 (+122.22%)
Mutual labels:  jsf, servlet
Javaee8 Samples
Java EE 8 Samples
Stars: ✭ 333 (+1750%)
Mutual labels:  jsf, servlet
Nubes
Annotation layer on top of Vert.x 3
Stars: ✭ 120 (+566.67%)
Mutual labels:  vertx, spring-mvc
Javaee7 Samples
Java EE 7 Samples
Stars: ✭ 2,470 (+13622.22%)
Mutual labels:  jsf, servlet
Servletjsptutorial
《Servlet & JSP 技術手冊 - 從 Servlet 到 Spring Boot》相關資源
Stars: ✭ 25 (+38.89%)
Mutual labels:  servlet, spring-mvc
Atmosphere
Realtime Client Server Framework for the JVM, supporting WebSockets with Cross-Browser Fallbacks
Stars: ✭ 3,552 (+19633.33%)
Mutual labels:  vertx, servlet
realstatecamp
RealState website using JHipster
Stars: ✭ 52 (+188.89%)
Mutual labels:  spring-mvc, jhipster
Jax Rs Performance Comparison
⚡️ Performance Comparison of Jax-RS implementations and embedded containers
Stars: ✭ 181 (+905.56%)
Mutual labels:  dropwizard, vertx
spring-boot-demo
使用spring-boot的简单代码库,方便以后copy代码
Stars: ✭ 24 (+33.33%)
Mutual labels:  jersey, spring-mvc
Hikaku
A library that tests if the implementation of a REST-API meets its specification.
Stars: ✭ 154 (+755.56%)
Mutual labels:  dropwizard, spring-mvc
openapi4j
OpenAPI 3 parser, JSON schema and request validator.
Stars: ✭ 92 (+411.11%)
Mutual labels:  vertx, servlet
jvm-alternatives-to-js
Repository comparing JVM alternatives to JS: CheerpJ, GWT, JSweet, TeaVM, Vaadin Flow, bck2brwsr (bonus: React, Dart)
Stars: ✭ 24 (+33.33%)
Mutual labels:  vaadin, gwt
SpringBootDataSourceMutil
spring-boot、Spring MVC、Mybatis、JTA实现多数据源动态切换,读写分离,加入Retry重试机制
Stars: ✭ 19 (+5.56%)
Mutual labels:  spring-mvc
report-ui
Generate Jasper Reports from your entities/beans/POJOs.
Stars: ✭ 14 (-22.22%)
Mutual labels:  vaadin
talos
No description or website provided.
Stars: ✭ 37 (+105.56%)
Mutual labels:  spring-mvc
vertx-jooq-async
Deprecated, use vertx-jooq instead:
Stars: ✭ 27 (+50%)
Mutual labels:  vertx
e-commerce-microservices
REST Microservices architecture for E-commerce with Spring boot, Cloud and multiple modules
Stars: ✭ 102 (+466.67%)
Mutual labels:  spring-mvc
f
a library to write async vert.x code similar as using java syntax
Stars: ✭ 22 (+22.22%)
Mutual labels:  vertx

Hello World web application

Creating a simple web application on Java in various ways:

# Techology, library, framework Initial release date
Type Subtype
1 HTTP Servlet web.xml file 1996-12
2 @WebServlet annotation
3 ServletContainerInitializer interface implementation
4 Spring MVC web.xml file 2005-12
5 Java configuration
6 Spring Boot Spring MVC 2014-04
7 Spring WebFlux
8 JavaServer Faces Eclipse Mojarra 2004-03-03
9 Apache MyFaces 2005-11
10 Google Web Toolkit 2006-05-16
11 Grails 2005-10
12 Struts 2000-05
13 Dropwizard 2011-12-21
14 Play 2008-05
15 JHipster 2013-10-21
16 JAX-RS Apache CXF 2008-04
17 RESTEasy 2008-09
18 Jersey 2010-05
19 Restlet 2013-01
20 Vaadin 2006
21 Seam 2007
22 Wicket 2005-06
23 Tapestry 2000
24 Spark Java 2011
25 Vert.x 2011
26 Rapidoid 2014-08
27 Lagom 2016-03
28 Ratpack 2013
29 Javalin 2017-05-24
30 Micronaut 2018-10-23
31 Quarkus 2019-11-25
32 ActFramework 2017-03-09
33 MicroProfile TomEE 2012-04-27
34 Hammock 2014-02-27
35 Thorntail 2016-01
36 KumuluzEE 2016-04-04
37 Payara Micro 2017-07
38 Open Liberty 2017-09-19
39 Helidon 2018-09-19

Requirements

Running

  1. Change directory: cd <maven module directory>

  2. From the command line with Maven:

    mvn jetty:run
    (for helloworld-web-servlet-xml, helloworld-web-servlet-annotation, helloworld-web-servlet-interface-war, helloworld-web-spring-mvc-xml, helloworld-web-spring-mvc-java, helloworld-web-jsf-mojarra, helloworld-web-jsf-myfaces, helloworld-web-struts, helloworld-web-jaxrs-apache-cxf, helloworld-web-jaxrs-resteasy, helloworld-web-jaxrs-jersey, helloworld-web-jaxrs-restlet, helloworld-web-vaadin, helloworld-web-seam, helloworld-web-wicket, helloworld-web-tapestry modules)

    mvn spring-boot:run
    (for helloworld-web-spring-boot-mvc, helloworld-web-spring-boot-webflux, helloworld-web-jhipster modules)

    mvn gwt:codeserver
    (in one terminal window for helloworld-web-gwt-client module)
    mvn jetty:run
    (in another terminal window for helloworld-web-gwt-server module)

    mvn grails:run-app
    (for helloworld-web-grails module)

    mvn package
    java -jar target/hello-world.jar server hello-world.yml
    (for helloworld-web-dropwizard module)

    mvn clean package
    mvn play2:run
    (for helloworld-web-play module)

    mvn package
    mvn lagom:runAll
    (for helloworld-web-lagom-impl module)

    mvn package
    java -jar target/hello-world.jar
    (for helloworld-web-sparkjava, helloworld-web-vertx, helloworld-web-rapidoid, helloworld-web-ratpack, helloworld-web-javalin, helloworld-web-micronaut, helloworld-web-microprofile-hammock, helloworld-web-microprofile-kumuluzee, helloworld-web-microprofile-openliberty, helloworld-web-microprofile-helidon modules)

    mvn clean compile quarkus:dev
    (for helloworld-web-quarkus module)

    mvn clean compile act:dev
    (for helloworld-web-actframework module)

    mvn package
    java -jar target/hello-world-exec.jar
    (for helloworld-web-microprofile-tomee module)

    mvn package
    java -jar target/hello-world-thorntail.jar
    (for helloworld-web-microprofile-thorntail module)

    mvn package
    java -jar target/hello-world-microbundle.jar
    (for helloworld-web-microprofile-payara module)

  3. Access the deployed web application at: http://localhost:8080

Article

See Habr (Russian)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].