Hello Friends, I know Weblogic. I want to be atleast aware of Webshere based on my knowledge of one app server. If not the details, can I begin with a quick overview of webshere etc ? I want to have exposure to it mainly not to lose on the java job just coz I don;t know the required app server.. when I can get expert help on it. Can anyone help ? Thanks in advance. Leena Diwan
HI Ren, I used to work on WAS 3.5 and now I am trying to get on to WAS4.0 AE. With ver 3.5 things were simple. Suppose I want to publish a JSP and deploy a Servlet, I could directly put them in my websphere/appserver/myapp/web director. But with 4.90 there came the concept of war file and deployment descriptors for a simple JSP file too. Can u pl help me in generating a DD and deploying the web app in WAS 4.0. I could do this in weblogic 7.0. I tried to deploy the same war file in websphere but it gave errors. PL help. Regards, Mustang.
Joined: Feb 20, 2002
VAJ - Visual Age for Java WSAD - Websphere Studio Application Developer Websphere 4.0 is designed for enterprise application. The war file should be assembled with Application Assemble Tool to form ear file. Ren
Hi Leena, You can get the trial version of Websphere 4.0 from the IBms site. The Websphere 4.0 comes with a Application Assembly Tool. AAT is a tool for assembling application from application components and modifying the J2EE discriptors for these components. We use AAT to create J2EE Application form J2EE Modules. The J2EE module consists of Web Module, EJB Module and Clinet Application Module. We create an .ear which comprises of these modules with the help of AAT.
Replying to Mustang India- with WS 4.0.x the concept has been totally changed due to changes in the specs for J2EE. You can no longer deploy an app in the traditional servlet/web fashion. with WS 4.0 your app is packed into a war file and the deployment descriptor (web.xml) describes everything about the app, its resources , links and mappings etc. Further more ibm provides few "xmi" files which are used to configure the app the way websphere wants. In other words,the file serving servlet and the JSP invoker servlet is all gone, now in one of the "ibm-web-ext.xmi" files you specify saying fileServingEnabled="true" or . This xmi file is one per web-app. Also there is another file called "ibm-web-bind.xmi" which is used to bind the app to a particular host.
so in all there are 3 files needed to describe your app completely to the appserver. 1. ibm-web-ext.xmi (container specific) 2. ibm-web-bind.xmi (container specific) 3. web.xml (regular J2EE) they are created by default when you use WSAD (websphere studio application developer). For the latest and the greatest on websphere refer to the following link www.websphere-world.com I pretty much look this site everyday to keep track of latest things in websphere. With weblogic you need the following to deploy the app. 1. weblogic.xml (container specific) 2. web.xml (Regular J2EE) Hope this helps. Matt [ April 23, 2002: Message edited by: Matt Anderson ] [ April 23, 2002: Message edited by: Matt Anderson ]