You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Jean-Baptiste Onofré <jb...@nanthrax.net> on 2009/02/15 10:27:40 UTC
JVM compatible requirement
Hi guys,
I would like only a confirmation. In the SMX getting started documentation,
we have JDK 1.4.x or greater for deployment (at least for SMX3).
I guess that we need to use pure 1.4 compatible source. Do you confirm ?
For example, I think that I need to use "old" style Iterator such as :
for(Iterator iterator = myList.iterator(); iterator.hasNext(); ) {
MyObject object = (MyObject)iterator.next();
...
}
in place of :
myList<MyObject> = ...;
for(MyObject object:myList) {
...
}
Thanks,
Regards
JB
--
Jean-Baptiste Onofré
---------------------------------
HomePage
http://www.nanthrax.net
---------------------------------
Contacts
jbonofre@apache.org
jb@nanthrax.net
---------------------------------
OpenSource
BuildProcess/AutoDeploy
http://buildprocess.sourceforge.net
Apache ServiceMix
http://servicemix.apache.org
-----------------------------------
PGP : 17D4F086
Re: JVM compatible requirement
Posted by jb...@nanthrax.net.
OK,
I have upgraded the started guide.
I repost a patch in the SMXCOMP-176 to use Java5 source (in place of "old" styled).
Regards
JB
On Sunday 15 February 2009 - 21:37, Guillaume Nodet wrote:
> Yes, we've upgraded to JDK 1.5 some time ago. We really need to
> update the docs.
>
> On Sun, Feb 15, 2009 at 19:39, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> > Thanks for your reply Lars.
> >
> > I prefer to use JVM 1.5 :) (both for the code and the runtime) but as
> > the started guide says that a JVM 1.4 is enoough, I have asked the
> > question.
> >
> > If we use JVM 1.5 (in our code or requirement by the dependencies),
> > we need at least to update the started guide.
> >
> > Regards
> > JB
> >
> > On Sunday 15 February 2009 - 12:52, Lars Heinemann wrote:
> >> Hi JB,
> >>
> >> I think you can't use Java 1.4 because we use a lot of the Java 5
> >> features and as far as I can remember also dependencies like
> >> Camel do so. And I also see no reason why we should stay with Java 1.4.
> >> Yes, I know that some companies have very strong restictions on
> >> which Java to use but do we really need to care about that? Java 5 is
> >> now in use for years and stable enough.
> >>
> >> Lets hear what the others say :)
> >>
> >> Regards,
> >> Lars
> >>
> >>
> >> Jean-Baptiste Onofré schrieb:
> >> > Hi guys,
> >> >
> >> > I would like only a confirmation. In the SMX getting started documentation,
> >> > we have JDK 1.4.x or greater for deployment (at least for SMX3).
> >> >
> >> > I guess that we need to use pure 1.4 compatible source. Do you confirm ?
> >> >
> >> > For example, I think that I need to use "old" style Iterator such as :
> >> >
> >> > for(Iterator iterator = myList.iterator(); iterator.hasNext(); ) {
> >> > MyObject object = (MyObject)iterator.next();
> >> > ...
> >> > }
> >> >
> >> > in place of :
> >> > myList<MyObject> = ...;
> >> > for(MyObject object:myList) {
> >> > ...
> >> > }
> >> >
> >> > Thanks,
> >> > Regards
> >> > JB
> >> >
> >>
> >
> > --
> > Jean-Baptiste Onofré
> > ---------------------------------
> > HomePage
> > http://www.nanthrax.net
> > ---------------------------------
> > Contacts
> > jbonofre@apache.org
> > jb@nanthrax.net
> > ---------------------------------
> > OpenSource
> > BuildProcess/AutoDeploy
> > http://buildprocess.sourceforge.net
> > Apache ServiceMix
> > http://servicemix.apache.org
> > -----------------------------------
> > PGP : 17D4F086
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
Re: JVM compatible requirement
Posted by Guillaume Nodet <gn...@gmail.com>.
Yes, we've upgraded to JDK 1.5 some time ago. We really need to
update the docs.
On Sun, Feb 15, 2009 at 19:39, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
> Thanks for your reply Lars.
>
> I prefer to use JVM 1.5 :) (both for the code and the runtime) but as
> the started guide says that a JVM 1.4 is enoough, I have asked the
> question.
>
> If we use JVM 1.5 (in our code or requirement by the dependencies),
> we need at least to update the started guide.
>
> Regards
> JB
>
> On Sunday 15 February 2009 - 12:52, Lars Heinemann wrote:
>> Hi JB,
>>
>> I think you can't use Java 1.4 because we use a lot of the Java 5
>> features and as far as I can remember also dependencies like
>> Camel do so. And I also see no reason why we should stay with Java 1.4.
>> Yes, I know that some companies have very strong restictions on
>> which Java to use but do we really need to care about that? Java 5 is
>> now in use for years and stable enough.
>>
>> Lets hear what the others say :)
>>
>> Regards,
>> Lars
>>
>>
>> Jean-Baptiste Onofré schrieb:
>> > Hi guys,
>> >
>> > I would like only a confirmation. In the SMX getting started documentation,
>> > we have JDK 1.4.x or greater for deployment (at least for SMX3).
>> >
>> > I guess that we need to use pure 1.4 compatible source. Do you confirm ?
>> >
>> > For example, I think that I need to use "old" style Iterator such as :
>> >
>> > for(Iterator iterator = myList.iterator(); iterator.hasNext(); ) {
>> > MyObject object = (MyObject)iterator.next();
>> > ...
>> > }
>> >
>> > in place of :
>> > myList<MyObject> = ...;
>> > for(MyObject object:myList) {
>> > ...
>> > }
>> >
>> > Thanks,
>> > Regards
>> > JB
>> >
>>
>
> --
> Jean-Baptiste Onofré
> ---------------------------------
> HomePage
> http://www.nanthrax.net
> ---------------------------------
> Contacts
> jbonofre@apache.org
> jb@nanthrax.net
> ---------------------------------
> OpenSource
> BuildProcess/AutoDeploy
> http://buildprocess.sourceforge.net
> Apache ServiceMix
> http://servicemix.apache.org
> -----------------------------------
> PGP : 17D4F086
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com
Re: JVM compatible requirement
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Thanks for your reply Lars.
I prefer to use JVM 1.5 :) (both for the code and the runtime) but as
the started guide says that a JVM 1.4 is enoough, I have asked the
question.
If we use JVM 1.5 (in our code or requirement by the dependencies),
we need at least to update the started guide.
Regards
JB
On Sunday 15 February 2009 - 12:52, Lars Heinemann wrote:
> Hi JB,
>
> I think you can't use Java 1.4 because we use a lot of the Java 5
> features and as far as I can remember also dependencies like
> Camel do so. And I also see no reason why we should stay with Java 1.4.
> Yes, I know that some companies have very strong restictions on
> which Java to use but do we really need to care about that? Java 5 is
> now in use for years and stable enough.
>
> Lets hear what the others say :)
>
> Regards,
> Lars
>
>
> Jean-Baptiste Onofré schrieb:
> > Hi guys,
> >
> > I would like only a confirmation. In the SMX getting started documentation,
> > we have JDK 1.4.x or greater for deployment (at least for SMX3).
> >
> > I guess that we need to use pure 1.4 compatible source. Do you confirm ?
> >
> > For example, I think that I need to use "old" style Iterator such as :
> >
> > for(Iterator iterator = myList.iterator(); iterator.hasNext(); ) {
> > MyObject object = (MyObject)iterator.next();
> > ...
> > }
> >
> > in place of :
> > myList<MyObject> = ...;
> > for(MyObject object:myList) {
> > ...
> > }
> >
> > Thanks,
> > Regards
> > JB
> >
>
--
Jean-Baptiste Onofré
---------------------------------
HomePage
http://www.nanthrax.net
---------------------------------
Contacts
jbonofre@apache.org
jb@nanthrax.net
---------------------------------
OpenSource
BuildProcess/AutoDeploy
http://buildprocess.sourceforge.net
Apache ServiceMix
http://servicemix.apache.org
-----------------------------------
PGP : 17D4F086
Re: JVM compatible requirement
Posted by Lars Heinemann <lh...@apache.org>.
Hi JB,
I think you can't use Java 1.4 because we use a lot of the Java 5
features and as far as I can remember also dependencies like
Camel do so. And I also see no reason why we should stay with Java 1.4.
Yes, I know that some companies have very strong restictions on
which Java to use but do we really need to care about that? Java 5 is
now in use for years and stable enough.
Lets hear what the others say :)
Regards,
Lars
Jean-Baptiste Onofré schrieb:
> Hi guys,
>
> I would like only a confirmation. In the SMX getting started documentation,
> we have JDK 1.4.x or greater for deployment (at least for SMX3).
>
> I guess that we need to use pure 1.4 compatible source. Do you confirm ?
>
> For example, I think that I need to use "old" style Iterator such as :
>
> for(Iterator iterator = myList.iterator(); iterator.hasNext(); ) {
> MyObject object = (MyObject)iterator.next();
> ...
> }
>
> in place of :
> myList<MyObject> = ...;
> for(MyObject object:myList) {
> ...
> }
>
> Thanks,
> Regards
> JB
>