aspose file tools
The moose likes Websphere and the fly likes Deployment of classes on Websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "Deployment of classes on Websphere" Watch "Deployment of classes on Websphere" New topic
Author

Deployment of classes on Websphere

Johannes de Jong
tumbleweed
Bartender

Joined: Jan 27, 2001
Posts: 5087
If classes are develped with Visualage for Java 3.5 can one deploy them on the new Websphere 4 application servers without having to redisign and/or recompile them ?
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3878
It depends on what you mean by "classes". Since VisualAge for Java can't generate WAR files, you will have to use the tooling that comes with WebSphere 4.0 (the AAT -- Application Assembly Tool) to generate WAR files for your servlets and JSP's -- you simply export the Java class files into a directory structure and then use AAT to build the WAR files from there.
If you mean classes that make up EJB's, then you can use the EJB 1.1 deployment tools built into VisualAge for Java 4.0 to generate EJB 1.1 compatible jar files directly.
You will also want to use the AAT to assemble your WAR and EJB JAR files into Enterprise ARchive (EAR) files.
This is all described in the "migration" section of WebSphere 4.0's InfoCenter and the migration documents that come with VisualAge for Java 4.0.

------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3878
One more thing -- the Servlet spec and JSP spec supported by WebSphere 4.0 is the same as that supported by VisualAge 4.0 -- none of those classes will have to change. Likewise, the EJB spec supported by WebSphere 4.0 (EJB 1.1) is mostly a superset of the EJB spec supported directly by VisualAge 4.0 (EJB 1.0). Your classes will have to be repackaged as described in the previous message, but not redesigned or rewritten.

------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
[This message has been edited by Kyle Brown (edited September 21, 2001).]
Ted J Schrader
Greenhorn

Joined: Oct 10, 2001
Posts: 28
What if we spin the situation around: using VisualAge for Java 4.0 to develop for WebSphere 3.5.3. Could there be headaches when deploying the servlets and JSP's because the VisualAge for Java 4.0 WTE (WebSphere Test Environment) is no longer an accurate representation of WebSphere 3.5.3?
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3878
No, the VAJ 4.0 WTE IS the WebSphere 3.5.3 WebSphere environment. We did not update the WebSphere inside of VAJ 4.0 to WAS 4.0 because WAS 4.0 required Java 1.3... There should be no problems developing on VAJ 4.0 for deployment on WebSphere 3.5.3.
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
Ted J Schrader
Greenhorn

Joined: Oct 10, 2001
Posts: 28
Thanks again, Kyle.
 
 
subject: Deployment of classes on Websphere
 
Threads others viewed
EJB Deployment on WAS 5.0
EJB deployment problems
classpath and path for ejb deployment on WAS 5.0
Struts 1.2 Application running in Websphere 8
cell node , server what these terms mean ?
developer file tools