... running.
If that does not work, type the following from the
J2EE directory:
Unix:
j2sdkee1 .2. 1/ bin/j2ee -verbose
Windows:
j2sdkee1 .2. 1\ bin\j2ee -verbose
The verbose option prints informational messages ... \home\monicap\J2EE\ClientCode
set J2EE_HOME=\home\monicap\J2EE\j2sdkee1 .2
set CPATH=.;%J2EE_HOME%\lib\j2ee.jar;
\home\monicap\J2EE
javac -d . -classpath %CPATH% BonusServlet.java...
... failed
tests.
BonusRoot
WEB-INF
classes
bonus.html
public_html
BonusServlet.class
j2sdkee1 .2
LESSON 1 A SIMPLE SESSION BEAN
SEPTEMBER 27 , 20 00 21
Figure 8 Add bonus.html
• Click Finish.
WAR File General Properties ... CalcHome.class);
LESSON 1 A SIMPLE SESSION BEAN
SEPTEMBER 27 , 20 00 23
• Press the Return key. During deployment the BonusRoot directory is created under
the
pu...
... commands:
j2ee -verbose
deploytool
cloudscape -start
If that does not work, type this from the J2EE directory:
Unix
j2sdkee1 .2. 1/ bin/j2ee -verbose
j2sdkee1 .2. 1/ bin/deploytool
j2sdkee1 .2. 1/ bin/cloudscape ... -start
Windows
j2sdkee1 .2. 1\ bin\j2ee -verbose
j2sdkee1 .2. 1\ bin\deploytool
j2sdkee1 .2. 1\ bin\cloudscape -start
Assemble and Deploy
The steps in this section are:
LESS...
... J2EE Application (page 68)
• Run the J2EE Application (page 70)
• More Information (page 71)
LESSON 4 JAVASERVER PAGES TECHNOLOGY
66 SEPTEMBER 27 , 20 00
JSP-Specific Tags
The JavaServer Pages 1. 1 ... completely shaded as shown in
Figure 16 . When that happens, click
OK.
LESSON 3 COOPERATING ENTERPRISE BEANS
60 SEPTEMBER 27 , 20 00
Figure 15 Deploy Application
Run the J2EE Applicati...
... jbonus id):
LESSON 4 JAVASERVER PAGES TECHNOLOGY
72 SEPTEMBER 27 , 20 00
LESSON 5 ADDING JAVABEANS TECHNOLOGY TO THE MIX
76 SEPTEMBER 27 , 20 00
Figure 19 Duplicate Key Error
Create bonus.jsp
The code ... TECHNOLOGY TO THE MIX
74 SEPTEMBER 27 , 20 00
About the Example
In Lesson 4 JavaServer Pages Technology (page 61) , the application user interface consisted
of an HTML page with a...
... the Database Table (page 10 7)
• Remove the JAR File (page 10 9)
• Verify and Deploy the Application (page 11 1)
• Run the Application (page 1 12 )
• More Information (page 11 3)
LESSON 6 EXTENSIBLE ... (XML)
SEPTEMBER 27 , 20 00 95
The APIs
The j2ee.jar file that comes with your J2EE installation provides APIs for parsing and
manipulating XML data. The JAR file currently provides SA...
... ~\J2EE
rem To run: cd ~\J2EE\cloudTable.sh
rem
rem Change this next line to point to *your*
rem j2sdkee1 .2. 1 installation
rem
set J2EE_HOME=\home\monicap\J2EE\j2sdkee1 .2. 1
rem
rem Everything below ... Place this script in ~\J2EE
# To run: cd ~\J2EE\cloudTable.sh
#
# Change this next line to point to *your*
# j2sdkee1 .2. 1 installation
#
J2EE_HOME=/home/monicap/J2EE/j2sdkee1 .2
LES...