How can I deliver a jetty with many webapps via jnlp?

I have a web application ( http://sourceforge.net/projects/sf-mvn-plugins/files/m2-repo/net/sf/maven/plugins/example-captaincasa-jnlp/0.1-SNAPSHOT/example-captaincasa -jnlp -0.1-SNAPSHOT.war / download ) which uses jsf in the servlet container. This works well with targeting on my local computer. In the future I would like to do more of this kind of weapps.

Now I am looking for a way to deliver this web application using a jetty via jnlp. The end user should have a zero installation, but web applications need a servlet container, and my hoster does not support a servlet container or application server, etc.

I don’t like the built-in solution, because in this case each web application should come with a separate berth and run with a separate haven → too large → with many download sizes and so on.

The architecture should look like this: (source: sourceforge.net )architecture

Example: Bundle1 may contain a berth and a deployed webapp1, and Bundle2 may contain a berth and a deployed webapp1 and webapp2 (due to end-user requirements, I would like to deliver many variations of my web applications)

? 1) ? , . 2) , jnlp? 3) , jnlp? 4) Jetty, , webapp1 webapp2.... weapps ...?

: 1) , ( maven), , , 2-4.

+3
2

Java- ( main() ..), Jetty Server? , ..

. - Jetty , ( ). / URL?

+1

. . :

  • java webstart osgi.
  • x osgi .
  • , .

: http://www.toedter.com/blog/?p=45

+1

Source: https://habr.com/ru/post/1734754/


All Articles