4 Replies Latest reply on May 26, 2006 12:38 PM by starksm64

    JDK 1.5 (tiger) problems with JSPs

      Im building a J2EE application using JBoss 4.0.3 and JDK 1.5 (tiger).

      This is the first 1.5 J2EE project Ive worked on and Ive discovered that JBoss is compiling my JSPs to 1.4. Im using netbeans to package the app, so the EJBs and servlets are being compiled correctly to 1.5. I came across the following wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=402UpgradeIssues that reffered to a fix to apply to JBoss to allow JSPs to run in 1.5 mode, however the application will eventually be hosted on a shared host where I wont be able to apply 'fixes' like this to the JBoss app server.

      My question is - does anybody have any idea why this functionality is not provided as standard with JBoss? Is it just something that hasnt been developed yet, and if so why was the app server released w/o this functionality? I know Im probably wrong here, but I need to know what is going on before I go on with any more development in JDK 1.5.

      The problem is that Im using generic collections and the enhanced for loop in my EJBs and servlets, but these cannot be used in the JSPs (im having to explicitly cast wrappers etc from the generic types returned by the EJBs).

      Also, while Im on - does anybody use a shared JBoss host that they would reccomend? Uk preferable.

      colr__

        • 1. Re: JDK 1.5 (tiger) problems with JSPs
          starksm64

           

          "colr__" wrote:
          My question is - does anybody have any idea why this functionality is not provided as standard with JBoss? Is it just something that hasnt been developed yet, and if so why was the app server released w/o this functionality? I know Im probably wrong here, but I need to know what is going on before I go on with any more development in JDK 1.5.


          Because the jboss-4.0.x dist has a baseline jdk1.4 requirement from j2ee1.4. We can't use java5 specific features by default. I'll add a feture request to enable this in the installer javaee5 preview technology configs like ejb3.


          • 2. Re: JDK 1.5 (tiger) problems with JSPs
            starksm64
            • 3. Re: JDK 1.5 (tiger) problems with JSPs

              Thanks Scott,

              Any idea when this release is due? I see that JEE5 is scheduled for summer 06, is this true for the JBoss iomplementation as well?

              Just to clarify - the J2EE 1.4 spec is aimed at Java 1.4? So the next release of JEE will be for 1.5 ?

              colr__

              • 4. Re: JDK 1.5 (tiger) problems with JSPs
                starksm64

                 

                "colr__" wrote:
                Thanks Scott,

                Any idea when this release is due? I see that JEE5 is scheduled for summer 06, is this true for the JBoss iomplementation as well?

                Time means nothing to me so asking me about it is like asking a flatlander about the volume of a sphere.

                "colr__" wrote:

                Just to clarify - the J2EE 1.4 spec is aimed at Java 1.4? So the next release of JEE will be for 1.5 ?
                colr__


                Yes.