gstep-base Re: [OGo-Developer] OGo Invoice Application

Helge Hess developer@opengroupware.org
Thu, 27 Dec 2007 16:08:31 +0100


On 27.12.2007, at 15:34, Adam Tauno Williams wrote:
> I host a number of Java applications, but they are all straight-up
> normal in-the-JVM apps.  I've had horrible experiences trying to host
> multiple apps in the same Tomcat instance, for example, which I though
> was the whole bleedin point of an application container - deploy and  
> go.
> (that and figuring out what is going on inside Tomcat's little mind is
> no fun either)

Yes, that can be a pain. I would expect JOPE apps to be run in an own  
Jetty instance.
Writing apps which can be *properly* hosted in a JVM container is  
quite an additional amount of work. By properly I mean, apps which can  
be unloaded, refreshed etc.

> I've never encountered GCJ and didn't realize it produced "real"
> binaries.   Are they "real" in the sense that they can be copied to a
> machine without a JVM and run or are they "real" like Mono AOT  
> libraries
> (which run like binaries but still need the original assembly)?


They are plain binaries, on Linux GCJ produces an ELF binary just like  
cc1obj. Of course you need the runtime (libgcj.so), similiar to  
libobjc.so.
(it also contains an interpreter for dynamically loaded .class files)

The gotcha was that GCJ did not support Java 1.5 (which we use in  
JOPE), but AFAIK that has been resolved (do they use the Eclipse  
compiler or something? don't remember and haven't looked again).

Greets,
   Helge
-- 
Helge Hess
http://www.helgehess.eu/