• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Java Guru Advice Required

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Java Guru Advice Required

    Hello People,

    As some of you may be aware I have a plan B which involves a bit of Java code. I have used the generics stuff from 5.0 and am delivering 5.0 compiled code in a jar file.

    Now, some people might prefer 1.4 compatibility which means I would have to remove the generics stuff.

    How do others resolve the possible need to make 5.0 and 1.4 versions available?

    Do you tell the client only the latest is available and they need to change their ways; do you provide two jar files appropriately named; do something else I'm not aware off.

    For Dim, using .NET is not an option.

    #2
    Bugger, that's my helpful advice blown out the water.

    Comment


      #3
      Java 6 has been out for a while, and 7 will be out next year.

      Publish as 5 and if anyone wants 1.4 then create a compatibility version for them.
      Cats are evil.

      Comment


        #4
        i'll second swamp's note. generics has been out now long enough for even some investment banks to start using it (a relative guage for uptake, i reckon)

        and follow the path of spring and hibernate projects where they've got specific implementations for legacy jvm's but are on a pretty much, only-where-absolutely-needed basis.

        Comment


          #5
          Thanks gents. Much appreciated. Your comments confirm I haven't missed anything and am going in the right direction.

          Dim. I did consider getting my java application to produce .NET parsers but every time I had the thought I began to shake uncontrollably.

          Comment


            #6
            Just as well. .net is tulipe anyway.
            bloggoth

            If everything isn't black and white, I say, 'Why the hell not?'
            John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

            Comment


              #7
              Also check out Retrotranslator and Retroweaver libraries. They will let you run your Java 5 code on a 1.4 JVM.

              Comment


                #8
                Retroweaver is what you're looking for.

                HTH
                Listen to my last album on Spotify

                Comment

                Working...
                X