[gentoo-dev] Application server deployment eclass?
Okay, so if I have a servlet to deploy to an application container such as tomcat, is there an eclass that I can use to inherit from? Obviously the webapp eclass helps for straight apache-like deployments, but it's not going to help much when deploying to tomcat. I looked in /usr/portage/ebuild, but nothing jumped out at me... So how do I get my war file deployed? Am I left to external tools such as ant to manage that for me? How does such an entity fit within the portage world? -- gentoo-dev@gentoo.org mailing list
Re: [gentoo-dev] Application server deployment eclass?
Dave Nebinger wrote: Okay, so if I have a servlet to deploy to an application container such as tomcat, is there an eclass that I can use to inherit from? I don't think so. Obviously the webapp eclass helps for straight apache-like deployments, but it's not going to help much when deploying to tomcat. Well maybe the webapp setup can be configured or added the support for tomcat too. It is just a matter of paths I think. I looked in /usr/portage/ebuild, but nothing jumped out at me... I don't think we have any servlets packaged in the tree at the moment. So how do I get my war file deployed? Am I left to external tools such as ant to manage that for me? ant is a helper tool for building java software from sources, hopefully no-one uses it for package management. I think at the moment people just do the management manually, but you need to ask people who actually use tomcat in production. How does such an entity fit within the portage world? If we start packaging servlets, then we of course need a setup for that, but it is not something the java team is actively looking into. Feel free to do your own development and we can then integrate it to the official tree if we find it a valuable addition. Regards, Petteri Räty signature.asc Description: OpenPGP digital signature
Re: [gentoo-dev] Application server deployment eclass?
On Sun, Oct 02, 2005 at 03:07:23AM -0400, Dave Nebinger wrote: So how do I get my war file deployed? Am I left to external tools such as ant to manage that for me? How does such an entity fit within the portage world? Each J2EE server has its own method for deploying j2ee archives. I don't think it is easy to create one that supports them all (WebSphere, WebLogic, Oracle's, TomCat/JBoss, ...). And anyway, the idea behind such archives is that the deployment itself is tweaked to the environment itself - there is no way for a default works for all deployment method afaik. I personally use a Java tool that uses the JMX possibilities of the J2EE server (if it supports it) to deploy tools, but this is targetted on a personal environment and mainly used to 1. provide a sort-of default method for deploying archives on the environment (which uses a single brand of J2EE servers anyway) 2. automate the upgrading of archives to a new version Wkr, Sven Vermeulen -- Gentoo Foundation Trustee | http://foundation.gentoo.org Gentoo Documentation Project Lead | http://www.gentoo.org/proj/en/gdp Gentoo Council Member The Gentoo Projecthttp://www.gentoo.org pgp3zvrS6Ghx5.pgp Description: PGP signature