J and I and Me
2015-01-26
  Approaches for Über / Fat JAR Deployment in Java EE
I believe the deployment and monitoring model for Java EE Application Server is outdated. If you want to learn more about my opinion refer to my article at JAXenter, the slides or my Interview at InfoQ. Instead I advocate a model to deploy an application including all the needed infrastructure as a large JAR file. This model is supported e.g. by Vert.x, Dropwizard, the Play Framework and of course Spring Boot. However, what about Java EE applications? While in theory there is no reason why a Java EE should not be deployed as a huge JAR file - but there are not that many solutions to actually do that. So here are some approaches that might be worth looking at: Thanks for the discussion over at Twitter and all the help I got there. If you know any other options - please leave a comment. Thanks!
  10:36
Bookmark and Share
Comments:
Here is a link Matthias Wessendorf provided: https://rmannibucau.wordpress.com/2015/01/20/did-you-ever-realize-openejb-applicationcomposers-is-the-ee-spring-boot/
 
If you want to take this idea one step further: Instead of bundling a "fat" JAR build a Docker image.

Put Glassfish (or any other JEE AppServer) + your deployed app into the container and voila you have a self contained JEE app.

 
Thanks for the comment! However, I think creating a Docker image is something different: You still need to deal with the monitoring and the deployment model of the App Server - which IMHO are considerable drawbacks. You could create a Docker image with a fat JAR, too - but that would solve different issues i.e. providing a verified operating system with the app and more lightweight virtualization.
 
Great article
 
Good read! I fully agree! Looks like app server vendors are starting to recognize the need for lightweight deployment models too. See Wildfly Swarm (https://github.com/wildfly-swarm/wildfly-swarm), Payara Micro (http://www.payara.fish/introducing_payara_micro). I guess the microservices architectures drives the mindset change.

Regards,
Andreas
 
Kommentar veröffentlichen

<< Home
J for Java | I for Internet, iMac, iPod and iPad | Me for me

ARCHIVES
Juni 2005 / Juli 2005 / August 2005 / September 2005 / Oktober 2005 / November 2005 / Dezember 2005 / Januar 2006 / Februar 2006 / März 2006 / April 2006 / Mai 2006 / Juni 2006 / Juli 2006 / August 2006 / September 2006 / Oktober 2006 / November 2006 / Dezember 2006 / Januar 2007 / Februar 2007 / März 2007 / April 2007 / Mai 2007 / Juni 2007 / Juli 2007 / August 2007 / September 2007 / Oktober 2007 / November 2007 / Dezember 2007 / Januar 2008 / April 2008 / Mai 2008 / Juni 2008 / August 2008 / September 2008 / November 2008 / Januar 2009 / Februar 2009 / März 2009 / April 2009 / Mai 2009 / Juni 2009 / Juli 2009 / August 2009 / September 2009 / Oktober 2009 / November 2009 / Dezember 2009 / Januar 2010 / Februar 2010 / März 2010 / April 2010 / Mai 2010 / Juli 2010 / August 2010 / Oktober 2010 / Januar 2011 / Februar 2011 / März 2011 / April 2011 / Mai 2011 / Juni 2011 / August 2011 / September 2011 / November 2011 / Februar 2012 / April 2012 / Mai 2012 / April 2013 / Mai 2013 / Juni 2013 / Januar 2015 / Juli 2015 / Februar 2016 /

Links

Twitter
Google +
Slideshare
Prezi
XING
LinkedIn
Das Spring Buch


Feeds

Feedburner


Impressum
Betreiber und Kontakt:
Eberhard Wolff
Leobschützer Strasse 22
13125 Berlin
E-Mail-Adresse: eberhard.wolff@gmail.com

Verantwortlich für journalistisch-redaktionelle Inhalte:
Eberhard Wolff