Using Servlets 3 in IBM RAD 8? - websphere

I've been asked to get a web application running in WebSphere using RAD 8.0.1, which isn't my usual app.server or development environment.
I'm starting off simple, using the default Ajax Test Server, but from what I can see, the default for a Dynamic Web Application is Servlets 2.5. Is there something buried in the twisty little maze of config dialogs to set it to Servlets 3.0, or must I handle that manually?

IBM Websphere Application Server 8.0 supports Servlet 3.0
IBM Websphere Application Server versions 7.0 and 6.1 do not support it.
So you need to use version 8.0. If you are using Websphere Portal, then you have a problem.
IBM Websphere Portal runs on same version Application Server (though you can for instance run Portal 6.1 on WAS 7 - I ran into some problems with AJAX though). So you might be able to get Portal 7 to run on WAS 8. It's the only way in the short term.

What is the run-time environment that you use?
WebSphere 7.x does not support Servlets 3.0 and it would be supported only by WebSphere 8.0.
WebSphere 8.0 is still in beta.
Interestingly, wikipedia is a good site for the list of supported APIs by WAS.
http://en.wikipedia.org/wiki/IBM_WebSphere_Application_Server
I don't have a RAD 8 handy with me to assist but i would check and ensure that the run-time associated with the project does support Java EE 6 (and Servlets 3.0)
HTH
Manglu

Websphere Application Server 7 can support servlets 3.0 if you installed Fix Pack 7.0.0.37 or later.
That shall upgrade JDK from 1.5.x to 1.6.x. Also you need to install WebSphere Application Server V7 Feature Pack for Web 2.0 and Mobile V1.1

Related

WebSphere 9 upgrade with RAD 8.5

Our developers currently use the IBM RAD 8.5 to develop web applications (No enterprise Java beans (No J2EE), use Spring framework). The server team is planning to upgrade WebSphere from version 8 to version 9. Last I checked in the servers tab, RAD 8.5 supports WAS version 8, 8.5, and 8.5 Liberty profile. See screenshot.
Is it possible to continue to develop in RAD 8.5, and deploy to WebSphere 9 in the server environment? What kind of snag would I expect to run into? e.g. Assemble the WAR file in RAD 8.5, and deploy the WAR file in WAS 9.
Would there be any problem I should anticipate in the deployment descriptor? e.g. files like web.xml and application.xml?
Moving forward, is it better to use other IDE to do software development if we are not planning to upgrade RAD 8.5 to a newer version? Would MyEclipse(variant of Eclipse with better server support) or Eclipse IDE for Java EE Developers (oxygen) suffice? Do I also need the liberty profile?
https://developer.ibm.com/wasdev/downloads/liberty-profile-using-eclipse/
What kind of issues should I be expecting? Or continue using RAD 8.5 would be a better option?
Here are some of the stackoverflow links I had checked already. There are pretty high level.
what-are-the-differences-when-deploying-on-tomcat-vs-websphere
can-a-war-file-be-deployed-on-any-server
Thanks.
In my experience I could not use RAD 8.5 to control a v9 server. I could not use Java 8 in RAD 8.5. I would not expect RAD 8.5 to know about the newer versions of JPA, JAX-RS and other things in v9. You could continue to develop jee6 apps on a v8.5 server and then move them manually to a v9 server.
Liberty is worth a look but is not completely interchangeable. Liberty has features that traditional does not (MicroProfile) and lacks some older things that traditional has (JAX-RPC).
You might check out the WebSphere Developer Tools for Eclipse that have support for traditional v9. They're not as full featured as RAD but might be enough. More info is at https://www.ibm.com/support/knowledgecenter/en/was_beta/com.ibm.websphere.wdt.doc/topics/wdt_overview.htm
Adding to the information provided by Bruce, IBM had introduced OpenLiberty where one can deploy the war file built with RAD. Deploying to other application server (e.g. tomcatEE
) is possible, but it would require some work. OpenLiberty should be closest to the IBM Websphere in terms of setup and architecture.
Here are some links that provide more information.
OpenLiberty
IBM announces Open Liberty, an open source runtime for Java microservices
Difference between OpenLiberty and Websphere Liberty

Will lastest websphere liberty full platform run oracle java 8?

I am looking at the latest websphere liberty 8.5.5.7 full platform (https://developer.ibm.com/wasdev/downloads/liberty-profile-using-non-eclipse-environments/) and I wonder if it can run oracle java 8? I see on the download page that ibms java 8 only supports the web profile but I don't care if i run a jdk from oracle or ibm as long as it is version 8.
Historically websphere has demanded ibms jdk on linux and solaris.
I have search ibms site but not found any answer.
Yes we support running Liberty on non-IBM JVMs, including those from Oracle. As for the downloads from IBM that come bundled with Java 8 you can use that with more than the web profile (you can use the installUtility to download and install the full Java EE 7 platform onto the web profile install).

Websphere application server 5.1 installation in RAD 8

I am using WebSphere application server 5.1 in RAD 7.1. Now I want to migrate to RAD 8.0 but RAD 8.0 do not provide support to WebSphere application server 5.X. Please help on this
WebSphere Application Server 5.1 is not supported for many years now and as you saw it is also not supported in any newer RAD. I'd suggest to migrate to newer server version as soon as possible.
If you need to develop for WAS 5.1, then stick with RAD 7. Eventually you can develop with newer RAD, but you will need to install applications to server manually via web console or wsadmin.

Configuring WebSphere Commerce Developer 6.0 to use WebSphere Application Server 6.1

Has anyone successfully configured WebSphere Commerce Developer 6.0 to use WAS 6.1 and RAD 7.0?
I'm working on a site implemented with IBM WebSphere Commerce Developer 6.0. In production the site runs on WebSphere Application Server 6.1, which is officially supported. We'd like to run our local developer environments on WAS 6.1 as well, but the migration instructions cover only stand-alone servers. Commerce Developer is limited to WAS 6.0 according to the documentation below:
http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/index.jsp?topic=%2Fcom.ibm.commerce.admin.doc%2Ftasks%2Ftmgwas61.htm
We're hoping to be able to leverage Java 5 support and other features of WAS 6.1 while staying on WebSphere Commerce Developer 6.0. We have some portions of the code developed using Java 5, but currently we have to deploy this code to a stand-alone server to test, which is less than ideal.
Nope.. can't be done. The issue is that the runtime and tooling is all linked together.

Old versions of WebSphere Application Server v7 (Free Trial)

Yesterday, I've downloaded and install the free trial version of WAS v7. The version I've downloaded is 7.0.0.9 but I need to certify my application against 7.0.0.3.
Where can I get this version?
UPDATED: It turns out that what I really needed was WebSphere Application Server for Developpers
It's working!
Now it can be downloaded from HERE
This link provides a Windows or Linux version of WebSphere 7.0.0.0 for development testing.
WebSphere Application Server for Developers V7
This link provides Fix Pack 3 for Windows (a Linux version of the fix pack is also available.)
WebSphere Application Server V7.0 Fix Pack 3 for Windows

Resources