Which version of JSP/servlet is in websphere 8? I use IBM RAD 8 with websphere 8 and wonder whether the JSP/servlet container supports method calls in EL which "the latest" servlet containers are supposed to do. Can it?
Thank you
WebSphere 8/8.5/8.5.5 has support for same Servlet ( 3.0 ), JSP ( 2.2 ) and JSF ( 2.0 ) versions. Only change is in JDBC version, which you may not that dependent.
Ref: https://en.wikipedia.org/wiki/IBM_WebSphere_Application_Server#Version_history
Side note: IBM start having internal ibm-web-bnd and ibm-web-ext files having extension xml instead of xmi since Servlet/WebApp version 2.5 declared in web.xml
Refer below chart.
According to Specifications and API documentation in the InfoCenter, WebSphere v8 supports JEE6, Java Servlet 3.0, and JSP 2.2.
Related
Is there any way to develop spring based restful end point using jdk1.4(non annotation base approach because java 1.4 won't support) ?
I have oc4j server(oracle application server) version 10.1.3 which supports j2sdk 1.4 and servlet 2.4. I believe I won't be able to deploy a springboot restful web service in my oc4j server because of jdk1.4(minimum java version required for springboot is 1.6)
Yes I agree Spring Boot is not possible for my scenario. I am asking if it is possible to develop spring web-mvc using jdk 1.4 and servlet 2.4 version ?
You may need to use the XML based configurations for initializing spring context. A RESTful application can be built even without using Spring using Jersey or some other JAX-RS implementations, if you are not going to use any Spring capabilities.
I have developed some rest services with Spring mvc 3.0.9. In some case I have an exception. It depends that my spring version use Servlet 3.0 api (my application server is jboss eap 5.1). What is latest spring mvc version compatible with Servlet 2.5? Thanks.
Spring 3.2 should work with Servlet 2.5 API.
Only Spring 4.0 requires Serlvet 3.0:
refer this official documentation for more info.
3 New Features and Enhancements in Spring Framework 4.0)
3.4 Java EE 6 and 7
Java EE version 6 or above is now considered the baseline for Spring
Framework 4, with the JPA 2.0 and Servlet 3.0 specifications being of
particular relevance.
Spring 4.0 work with Servlet 2.5.
See document: (https://docs.spring.io/spring/docs/4.3.14.RELEASE/spring-framework-reference/htmlsingle/)
3.4 Java EE 6 and 7
Java EE version 6 or above is now considered the baseline for Spring
Framework 4, with the JPA 2.0 and Servlet 3.0 specifications being of
particular relevance. In order to remain compatible with Google App
Engine and older application servers, it is possible to deploy a
Spring 4 application into a Servlet 2.5 environment. However, Servlet
3.0+ is strongly recommended and a prerequisite in Spring’s test and mock packages for test setups in development environments.
3.7 General Web Improvements
Deployment to Servlet 2.5 servers remains an option, but Spring
Framework 4.0 is now focused primarily on Servlet 3.0+ environments.
If you are using the Spring MVC Test Framework you will need to ensure
that a Servlet 3.0 compatible JAR is in your test classpath.
I'm working to upgrade JDK for a Web app from 1.4 to 1.7 and Websphere Application server 6.1 to 8.5 (WAS 6.1 to 8.5).
The application is built using JSF 1.2. My question is does JSF 1.2 is compatible with Java 1.7 or does it require to upgrade JSF 1.2 to 2.0? Any pointers in this relation is most valuable.
Thanks in advance.
JSF 1.2 is compitible with java 1.6.
You can change your version of java in a
Project>Build Path>Configure then select Java to change it
If you want to use java 7, then you need to move on JSF 2.0
I had issues with JSF 1.2 and JDK > 7.0.21
I do not remember the exact cause, but that was a known issue and never fixed.
You can use JSF 1.2 with WAS 8.5, you will need to change default JSF via application options Applications > Application Types > WebSphere enterprise applications > application_name > JSP and JSF options and switch to Sun Reference Implementation 1.2.
For more details see Configuring JavaServer Faces implementation
I am interested in using the Non-Blocking I/O features of Servlet Specification 3.1 like here http://docs.oracle.com/javaee/7/tutorial/doc/servlets013.htm#BEIHICDH
I can't find a definitive answer on IBM dev site whether JSR-340 is supported.
Does WAS LibertyProfile support Servlet Specification 3.1 ?
A slide deck from Impact2013 said that WAS 8.5.5 is at servlet 3.0. The recent 8.5.5.next notes didn't mention anything about updating that.
This page from Oracle shows the certified servers:
http://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html
If you care to look at any other servers, apart from glassfish the wildfly beta is reported to support servlet 3.1 (and Jave EE 7 in general) but I have no idea when to expect the release.
http://undertow.io/
New update.. WAS Liberty 8.5.5.5 (March 2015) supports several Java EE7 technologies (for production use) including Servlet 3.1 and Websocket 1.1. Announced today is the full Java EE7 stack for Liberty which will be available on 26th June.
The version 8.5.5.4 supports Servlets 3.1 and WebSockets 1.0 and some other Java EE 7 specs, but not yet all. For latest information check this page New Liberty features and tools
No, it only supports Servlet 3.0. See the Programming model support page in the 8.5 InfoCenter.
update, they have a beta out
https://www.ibmdw.net/wasdev/2014/03/28/announcing-websphere-application-server-beta/
it has some java ee 7 but no servlet 3.1 yet
I have a web application that use a JAX-WS 2.1 in order to create a client .. when running the application on Webshpere 2.1 I keep getting NoDefClassFoundError on XMLStreamBuffer. I googled the error but I couldn't find anything helpful. Please help.
From the WAS 7 Infocenter:
WebSphere® Application Server Version 7.0 supports the JAX-WS 2.1 specification.
Since there is no type called XMLStreamBuffer in the Java 6 SE, Java EE 5 or JAX-WS 2.1 public APIs you are perhaps importing a type from another implementation - either directly or via some generated code.