I don't know much about CloudFoundry, but I'd love to see this working. If you're interested in working on it that would be great, I don't have a lot of experience with this sort of thing, but I'd be keen to help out if I can.
Jon On Fri, Jul 29, 2011 at 9:55 AM, Bakalsky, Krum <[email protected]>wrote: > Hi Jacek, guys, > > Basically, CloudFoundry tries to be as generic as possible, when it comes > to integrating runtimes and frameworks. Adopters are heavily contributing > integration with different platforms and languages, so I thought about > OpenEJB in this context. Currently, you can use only Tomcat as a Java > framework (a contribution of Virgo integration is on the way). I suppose > that maybe at some moment of time, running a classical JavaSE application on > CF should be introduced as well, since the CF platform looks quite flexible > and extensible. > > So, for the moment, a possible OpenEJB integration point, would be to > provision the OpenEJB+Tomcat integration on CF. I think that this won't be > difficult at all, but I haven't played with it yet. I suppose the from > OpenEJB side nothing has to be particularly done about it. Currently Tomcat > is provisioned on CF by unzipping its archive, and running shell scripts for > starting/stopping the Catalina. > > There is a recognition step as well, which is pretty simple and aims to > determine the app type by taking a look at the file system structure of the > application. An 'OpenEJB' application could be defined by searching for > \META-INF\ejb-jar.xml, for instance. At the staging step, a fresh new Tomcat > instance could be provisioned, and the OpenEJB framework injected as well > (according to the OpenEJB+Tomcat integration details, that I am not familiar > with). When running simple JavaSE apps is supported by CF, no Tomcat should > be needed. > > TomEE could be brought up in the cloud as well. I cannot myself evaluate > whether this would be worth doing, and whether people will be happy to use > it, but it would definitely be the first clouded EJB and clouded Java EE 6 > web profile offering (speaking of open source, of course). And this sounds > awesome to me :) > > > > Kindest Regards, > Krum. > > -----Original Message----- > From: Jacek Laskowski [mailto:[email protected]] > Sent: Friday, July 29, 2011 10:02 AM > To: [email protected] > Subject: Re: Investigation integration points with Cloud Foundry (.org) ? > > On Thu, Jul 28, 2011 at 12:28 PM, Bakalsky, Krum <[email protected]> > wrote: > > > I was wondering whether investigating CloudFoundry integration would > sound worth taking a look ? I am just giving the idea and am curious about > what you think. Basically, we could think of adding support for provisioning > Tomcat+OpenEJB or even the whole TomEE server on CloudFoundry, as a > framework on the Java runtime, speaking in terms of CF terminology. > > Hi Krum, > > I'm only sligtly aware of CF's existence and haven't tried it out yet. > What would it take to provision openejb modules from it? Should we > take any special steps to make it happen? > > Jacek > > -- > Jacek Laskowski > Java EE, functional languages and IBM WebSphere - http://blog.japila.pl > Warszawa JUG conference = Confitura (formerly Javarsovia) :: > http://confitura.pl >
