Porting And Converting Enterprise Javabeans Applications - BEA WebLogic Server 7 Upgrade Manual

Table of Contents

Advertisement

2
Upgrading WebLogic Server 4.5 and 5.1 to Version 7.0
3. Move the
domain\applications\DefaultWebApp_myserver\WEB-INF
C:\hello\WEB-INF\
4. Set up your development environment (see
Environment
and compile the HelloWorldServlet with a command like the following:
C:\hello\WEB-INF\classes>javac -d
This should compile the file and create the correct package structure.
5. The servlet can now be bundled into an archive WAR file with the following
command:
jar cvf hello.war *
This command will create a
directory.
6. To install this Web Application, start your server and open the Administration
Console. Under the Getting Started menu, choose Install Applications. Browse to
the newly created WAR file and click Upload.
The servlet should now be deployed and appear under the Web Applications
node under Deployments, in the left-hand pane of the console.
7. To call the servlet, type the following in your browser URL window:
http://localhost:7001/hello/hello
In this case
naming of the WAR file, in this case
the servlet mapping tags inside the
Porting and Converting Enterprise
JavaBeans Applications
The following sections describe Enterprise Java Beans porting and conversion
procedures.
2-16
BEA WebLogic Server 7.0 Upgrade Guide
file from
web.xml
.
in Developing WebLogic Server Applications for more information)
hello.war
is the context path of the servlet. This is determined by the
/hello/
Establishing a Development
. HelloWorldServlet.java
file and place it inside the
.
. The second
hello.war
file.
web.xml
to
C:\hello
was mapped in
/hello

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WebLogic Server 7 and is the answer not in the manual?

This manual is also suitable for:

Weblogic server 7.0

Table of Contents