Re: Using new JDK 5.0 language features with Tomcat 5.5?

2005-03-07 Thread Siarhei Dudzin
Didn't have any problems so far...


On Mon, 07 Mar 2005 10:22:09 +0100, Petr Jiricka [EMAIL PROTECTED] wrote:
 Hello list,
 
 is it safe to use the new JDK 5.0 language features, e.g. annotations
 and generic types, with Tomcat 5.5? Do people do this in practice? Was
 this tested extensively? Are there any known issues in this area? Please
 let me know your experience with using new JDK 5.0 constructs with Tomcat.
 
 The reason I am asking is because the J2EE 1.4 specification mandates
 JDK 1.4 as the baseline, and all compliant servers must work reliably
 with JDK 1.4. There is no such requirement for JDK 5.0, so any
 applications that exploit the new JDK 5.0 constructs are technically
 non-portable and non-compliant with J2EE 1.4.
 
 Thanks
 Petr
 
 -
 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]



Re: Using new JDK 5.0 language features with Tomcat 5.5?

2005-03-07 Thread Christoph Kutzinski
AFAIK the eclipse JDT compiler, that is used per default to compile the 
JSPs, doesn't support JDK 5.0 features. So you mustn't use these 
features in JSPs or change the JSP compiler.

Christoph
Petr Jiricka wrote:
Hello list,
is it safe to use the new JDK 5.0 language features, e.g. annotations 
and generic types, with Tomcat 5.5? Do people do this in practice? Was 
this tested extensively? Are there any known issues in this area? 
Please let me know your experience with using new JDK 5.0 constructs 
with Tomcat.

The reason I am asking is because the J2EE 1.4 specification mandates 
JDK 1.4 as the baseline, and all compliant servers must work reliably 
with JDK 1.4. There is no such requirement for JDK 5.0, so any 
applications that exploit the new JDK 5.0 constructs are technically 
non-portable and non-compliant with J2EE 1.4.

Thanks
Petr
-
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]


RE: Using new JDK 5.0 language features with Tomcat 5.5?

2005-03-07 Thread Allistair Crossley
Hi,

We've been fine with for loops and generics with Tomcat 5.5, but we have only 
used JSTL in JSPs, no scriplet.

Allistair.

 -Original Message-
 From: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
 Sent: 07 March 2005 11:44
 To: Tomcat Users List
 Subject: Re: Using new JDK 5.0 language features with Tomcat 5.5?
 
 
 AFAIK the eclipse JDT compiler, that is used per default to 
 compile the 
 JSPs, doesn't support JDK 5.0 features. So you mustn't use these 
 features in JSPs or change the JSP compiler.
 
 Christoph
 
 Petr Jiricka wrote:
 
  Hello list,
 
  is it safe to use the new JDK 5.0 language features, e.g. 
 annotations 
  and generic types, with Tomcat 5.5? Do people do this in 
 practice? Was 
  this tested extensively? Are there any known issues in this area? 
  Please let me know your experience with using new JDK 5.0 
 constructs 
  with Tomcat.
 
  The reason I am asking is because the J2EE 1.4 
 specification mandates 
  JDK 1.4 as the baseline, and all compliant servers must 
 work reliably 
  with JDK 1.4. There is no such requirement for JDK 5.0, so any 
  applications that exploit the new JDK 5.0 constructs are 
 technically 
  non-portable and non-compliant with J2EE 1.4.
 
  Thanks
  Petr
 
 
  
 -
  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]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



Re: Using new JDK 5.0 language features with Tomcat 5.5?

2005-03-07 Thread Rodrigo Avila
since we're talking about that...

I have a system running *perfectly* using Tomcat 5.0.28 and Java
1.4.2_07. But I think in migrate this system to Java 1.5.0_01 using
Tomcat 1.5.7, in an Production server.

My question is: have any problem in make this migration? What is the
group opinion? Restrictions? Problems in using an newer jre in an
production server?

Thanks the help!


On Mon, 7 Mar 2005 13:09:37 -, Allistair Crossley
[EMAIL PROTECTED] wrote:
 Hi,
 
 We've been fine with for loops and generics with Tomcat 5.5, but we have only 
 used JSTL in JSPs, no scriplet.
 
 Allistair.
 
  -Original Message-
  From: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
  Sent: 07 March 2005 11:44
  To: Tomcat Users List
  Subject: Re: Using new JDK 5.0 language features with Tomcat 5.5?
 
 
  AFAIK the eclipse JDT compiler, that is used per default to
  compile the
  JSPs, doesn't support JDK 5.0 features. So you mustn't use these
  features in JSPs or change the JSP compiler.
 
  Christoph
 
  Petr Jiricka wrote:
 
   Hello list,
  
   is it safe to use the new JDK 5.0 language features, e.g.
  annotations
   and generic types, with Tomcat 5.5? Do people do this in
  practice? Was
   this tested extensively? Are there any known issues in this area?
   Please let me know your experience with using new JDK 5.0
  constructs
   with Tomcat.
  
   The reason I am asking is because the J2EE 1.4
  specification mandates
   JDK 1.4 as the baseline, and all compliant servers must
  work reliably
   with JDK 1.4. There is no such requirement for JDK 5.0, so any
   applications that exploit the new JDK 5.0 constructs are
  technically
   non-portable and non-compliant with J2EE 1.4.
  
   Thanks
   Petr
  
  
  
  -
   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]
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Rodrigo de Avila
[EMAIL PROTECTED]

http://www.avila.eti.br

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



Re: Using new JDK 5.0 language features with Tomcat 5.5?

2005-03-07 Thread Christoph Kutzinski
Rodrigo Avila wrote:
since we're talking about that...
I have a system running *perfectly* using Tomcat 5.0.28 and Java
1.4.2_07. But I think in migrate this system to Java 1.5.0_01 using
Tomcat 1.5.7, in an Production server.
My question is: have any problem in make this migration? What is the
group opinion? Restrictions? Problems in using an newer jre in an
production server?
 

We are using Java 1.5.0 with Tomcat 5.0.28 in a production environment 
since november. We didn't have any problems since then. At least related 
to the JDK ;-) Actually we had some problems which I suspected to be 
related to the JDK, but switching back to 1.4.2_05 didn't fix it, so we 
stayed with 1.5.0.
We hope to make the jump to Tomcat 5.5 in the near future, too.

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