You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ashish Kulkarni <ku...@yahoo.com> on 2004/11/29 00:12:58 UTC

[OT] different java versions in same project

Hi
Has anyone used 2 different versions of java in same
J2EE project.
I have a web project where i have a Applet which
displays data in graphs etc, this applet uses applet -
servlet communication to connect to database, 
What i want to try to do is develop all the servlets
and code running on application server using
J2SDK1.4.2 and the applet using J2sdk1.5 (5.0).
I cannot use java 1.5 for server side as i am using
app server which does not support it, but i want to
use java 1.5 to get latest abilities in Swing.
I see a potential problem with class compiled in
different versions,
I populate data in java class and send this class to
applet which reads data from these classes and do the
plotting
Any suggestions
Ashish


		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page � Try My Yahoo!
http://my.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: [OT] different java versions in same project

Posted by Duncan Mills <du...@oracle.com>.
I don't see that there will be an issue there - the Applet will run in a 
different JVM from the server side part of the application and you 
probably want to package it separately in any case as a stand alone JAR

Regards

Duncan Mills
http://www.groundside.com/blog



Ashish Kulkarni wrote:

>Hi
>Has anyone used 2 different versions of java in same
>J2EE project.
>I have a web project where i have a Applet which
>displays data in graphs etc, this applet uses applet -
>servlet communication to connect to database, 
>What i want to try to do is develop all the servlets
>and code running on application server using
>J2SDK1.4.2 and the applet using J2sdk1.5 (5.0).
>I cannot use java 1.5 for server side as i am using
>app server which does not support it, but i want to
>use java 1.5 to get latest abilities in Swing.
>I see a potential problem with class compiled in
>different versions,
>I populate data in java class and send this class to
>applet which reads data from these classes and do the
>plotting
>Any suggestions
>Ashish
>
>
>		
>__________________________________ 
>Do you Yahoo!? 
>All your favorites on one personal page – Try My Yahoo!
>http://my.yahoo.com 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org