which are the minimum requirements to run a java web application with spring 2.5 and Hibernate 3? I mean, referred to Tomcat version, Mysql version, and Java EE version. I use Java EE 6, Mysql 14.14 distrib 5.1.41 and Tomcat 7 but i need to know the lowest version in which can be run
It would run on a reasonably low version of everything:
spring runs on tomcat 5.5 for sure, which is way old (and might even run on 5.5)
hibernate's MySQL Dialect should be fine with MySQL 4.1
For exact compatibility you should check release notes, but it is unreasonable to use so old version of these technologies anyway.
Related
Is it possible to upgrade the Java version (JDK) of the web application from 8 to 11 without upgrade my oracle database version (RDBMS) 11.2.0.1 to higher versions?
if it's possible which version of ojdbc driver is required?
I hope you are well.
If you need to upgrade the RDBMS, the upgrade process him self upgrade the user databases and in the software to use them, can be need change somthing like connector or driver, or pice of software between the Application Software (Client, Web, Service, etc.) and the RDBMS server. In general.
But if you need to upgrade your software (Client, Web, Service, etc.) for a new JDK/JVM, check if available the connector or driver for connect to the old RDBM. No need to upgrade the RDBMS.
Setup a test environment and check if the new JDK/JVM can connect with the current RDBMS. Create a simple java project, and make a lot of stress test and verify the stability of the connection.
Also and last, check documentation, find information in web and don't cut steps, because the productivity of the entire system is in yours hands.
I did this work for a .NET Solution and I change the version of compilations of Projects, using MySQL without upgrade, and everithing done well.
I am having an application running on JAVA - AIX platform, I am trying to move my spring application to Spring version 5.1.5.RELEASE.
I cannot upgrade my JVM which is currently in version 'J9VM - R28_20170209_0201_B336038'
The application does run in the above JVM version, but I am not sure if I have to upgrade to the latest JVM too to benefit on the latest Spring version!?
Is there any documentation on the JVM to chose for a spring version?
PS: My application does not work on any higher JVM version, which I have to sort out first.
See JDK Version Range on the Spring Framework Versions page, which currently says:
Spring Framework 5.1.x: JDK 8-12
Spring Framework 5.0.x: JDK 8-10
Spring Framework 4.3.x: JDK 6-8
We fully test and support Spring on Long-Term Support (LTS) releases of the JDK, i.e. currently JDK 8 and 11 (both with a lifetime until 2023). Additionally, there is support for intermediate releases such as JDK 9/10 or the upcoming JDK 12 on a best-effort basis, meaning that we accept bug reports and will try to address them as far as technically possible but won't provide any service level guarantees.
Please upgrade to Spring Framework 5.1 (and the corresponding Spring Boot 2.1) for JDK 11 support, as the common Long-Term Support migration path from JDK 8. No earlier Spring versions are officially supported on JDK 11, in particular not with JDK 11 bytecode level. Note that third-party components might not fully support JDK 11 yet, so you are likely to be limited in your full-stack options.
By default when you install the Oracle Database, it installs a JDK/JRE into the directory xxx/oracle/product/11.2.x.x/jdk/.
This appears to be hardcoded into the Oracle Tools such as opatch, dbca etc. i.e. Java is required to support the database management.
With the latest version of Oracle 11.2.0.4.3 the version of Java that is provided is 1.5.0_51.
Has anyone successfully patched this version of Java to a JDK 6/7/8 recent version? NB. The PSU updates from Oracle don't appear to patch this.
NB. This question isn't related to the OJVM which runs inside the Oracle Database.
You can't.
Well, you can, if you're willing to break your database installation and violate your support contract.
See this discussion:
The JVM is an integral part of Oracle and without the proper,
certified version of the JVM the database will not run properly. In
fact if you use Oracle installer and elect to remove the JVM the
database itself will be removed also.
Oracle 11g installs with JDK 1.5 and that is the ONLY version that is
certified to work properly with 11g. If you attempt to use anyother
version you are violating your support contract and will likely have
errors.
NB. This question isn't related to the OJVM which runs inside the Oracle Database.
And how do you know it's not related? The "OJVM which runs inside the Oracle database" has to have a JVM installation known to work with the database somewhere.
A bit late.
The embedded JVM cannot be upgraded with any arbitrary JDK/JRE by customers; it requires some development work in terms of security, memory management, and so on, as part of the RDBMS relase. Iow, only the database develpoment team can do it.
The 12c R1 release of the Oracle database comes with JDK 6 (the default) and JDK 7 (upgrade by running a one liner Perl script).
The RDBMS comes with a JRE for use by Oracle tools exclusively which is orthogonal to the embedded JVM.
We are using Weblogic 10, so maximum Java allowed there is Java 1.5
I inherited the code using EJB3
So, I will have to work on it within a realm of my Java 1.5 limitation.
I think, original designers had in mind to use Hibernate for implementing Data access, and
at some point we will migrate to JBOSS, so would like to keep Hibernate as a choice
There is one sitting in a project - version 3.2.1.ga. Same is a version for hibernate-entitymanager.jar
What is the latest version of Hibernate that I can use for this? I understand there were some changes in it.
Hibernate 3.x workes with JDK 4 and 5,
The 4.x requires 6.
I think you should go with HIbernate 3.6.x. The last version in 3.x was 3.6.10.
You will not find it on hibernate site you will to goto sourcefoge.net to get this version.
here's the link
This question already has answers here:
What is the difference between Tomcat, JBoss and Glassfish?
(8 answers)
Closed 8 years ago.
I would like to start using JEE6 in the next project that I have to work on at my job, but there is also a limitation (sort of): Tomcat 5.5
My question is, what improvements would bring GlassFish to the table (security/speed) vs the existing Tomcat(5.5) or an upgrade to the newer version 7?
Q: My question is, what improvements would bring GlassFish to the table
(security/speed) vs the existing Tomcat(5.5) or an upgrade to the
newer version 7?
Tomcat 7 compared to Tomcat 5.5 supports newer version of JSR specifications. Therefore, if you wish to use for example Servlet 3.0 or Websockets, you don't have other choice but to upgrade the Tomcat version. See this link for the full list of Tomcat versions and supported specifications.
However, Tomcat is not Java EE container, but only a servlet container. In other words, if you plan to use full Java EE (which includes security and many other things), you have to switch from Tomcat to some of full Java EE application servers. Glassfish is one of them, others are TomEE (similar to Tomcat, so perhaps a good starting point), WildFly, IBM Websphere, Oracle Weblogic etc. Unfortunately, Oracle recently decided to abandon commercial support for Glassfish, so maybe it would be wise choice to go with some other application server if you would like to use it commercially.
One way or another, move from Tomcat 5.5 because it is a quite old version of Tomcat.
See also:
Java EE containers vs Web containers
Oracle abandons commercial support for Glassfish JEE Server