Re: Best Servlet Container

2006-10-02 Thread Gonzalo Diethelm
Oracle's J2EE server is based off Orion. I would guess their servlet
container comes straight from Orion as well.

Regards.

On Sun, 2006-10-01 at 13:14 -0400, Geir Magnusson Jr wrote:

 Geronimo and JBoss use Tomcat.
 
 Geronimo also offers a distribution with Jetty.
 
 Glassfish now has their own impl, although I don't know it's pedigree.
 I'd expect it's based on Tomcat.
 
 I don't know what WebSphere uses (you could probably guess looking at
 the jars), nor oracle.
 
 geir
 
 Steve O'Hara wrote:
  Forgive the slightly off-topic request, but I'm wondering if anyone has
  any experience of performance comparisons of all the myriad of servlet
  containers out there?
  
  To start the ball rolling, I can safely say that the Oracle App server
  is a real dog in comparison to Tomcat but it does have some nice wizzy
  monitoring tools (perhaps that's why it's so slow).
  
  I'd like to to know what people's experiences are with Jboss, geronimo,
  Webspehere, Jetty etc.
  
  Thanks,
  
  Steve
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Gonzalo Diethelm
[EMAIL PROTECTED]




Re: Status of floating point literals and arithmetic?

2006-08-08 Thread Gonzalo Diethelm
I would just do:

#set ($fontSize1Percent = 85)
#set ($fontSize2Percent = $fontSize1Percent * 75 / 100)

although I admit it is a cop out... Regards.

On Tue, 2006-08-08 at 13:39 -0400, Paul Lynch wrote:

 I just ran into a case where I wanted to do something like the following in
 a template:
 
 #set($fontSize1Percent = 85)
 #set($fontSize2Percent = 0.75 * $fontSize1Percent)
 
 When this didn't parse, I searched the velocity mail archives for
 information on floating points, and found the the lengthy 2002 discussion.
 The impression I got was that there was some interest in adding the ability
 to specify floating point literals and to allow floating point arithmetic.
 Was anything actually checked in for it?  (As I recall the 1.4 release came
 out quite a while after 2002.)  If not, is the current best practice for
 this sort of thing to use the MathTool class in the GenericTools
 sub-project?  With that, I could do something like:
 
 #set($fontSize1Percent = 85)
 #set($reduction = $math.div(75, 100))
 #set($fontSize2Percent = $math.mul($reduction, $fontSize1Percent))
 
 Thanks,
--Paul Lynch


-- 
Gonzalo Diethelm
[EMAIL PROTECTED]


Re: Velocity maintained?

2005-09-27 Thread Gonzalo Diethelm
: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
Gonzalo Diethelm
[EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Escaping in VTL (was Re: Velocity JSP Generation)

2005-02-25 Thread Gonzalo Diethelm
 Doesn't quite work that easily.
 
 The problem is that if #directive is not an actual macro, 
 than \#directive 
 is shown verbatim.  You only should escape when the same  
 code is legit in 
 both the source and the generated Velocity.  This can be a 
 little confusing.

I know there is no agreement on this. To me, this behavior breaks the
principle of least astonishment.

http://en.wikipedia.org/wiki/Principle_of_least_astonishment

Regards,


-- 
Gonzalo Diethelm
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Velocity in C/CPP?

2002-08-28 Thread Gonzalo Diethelm

 I´m not sure if it is possible, directly, but it might be a way to write
 a hook into C++ from the velocity code via the Java Native Interface and
 then access the java stuff from C++ directly. Velocity after my
 experience is fast enough not to be implemented in C++.

This may be true, but my point is that if you had a C library
implementing the core Velocity engine, you could EASILY use
Velocity from ANY imaginable language (including Java...).

Regards,


--
Gonzalo A. Diethelm
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]