Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
47Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
J2EE Weblogic Documentation

J2EE Weblogic Documentation

Ratings: (0)|Views: 17,218|Likes:
Published by api-3733850

More info:

Published by: api-3733850 on Nov 30, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

S h r e e - T e c h n o l o g i e s
1 1 / 2 9 / 2 0 0 8
Shrikant
J2EE
Practical Guide
Bea Weblogic
2
Table of Contents

Module: Architecture............................................................................................................................ 13
Lab exercise - WebLogic setup..................................................................................................... 13
Installing your WebLogic server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Creating aliases for commonly used commands........................................................................... 14
Deleting your WebLogic directory............................................................................................... 15
Copying your WebLogic directory............................................................................................... 15
Module: Architecture........................................................................................................................ 15
Lab exercise - Familiarisation 1 - Installing Eclipse..................................................................... 15
Installing Workshop For Weblogic............................................................................................... 15
Creating a project.......................................................................................................................... 17
Deploying static HTML................................................................................................................ 20
Running the HTML page.............................................................................................................. 22
Module: Architecture........................................................................................................................ 25
Lab exercise - Familiarisation 2.................................................................................................... 25
The environment........................................................................................................................... 25
Familiarisation with the directory structure.................................................................................. 26
Starting your WebLogic server..................................................................................................... 27
Getting started............................................................................................................................... 28
Reading the configuration............................................................................................................. 28
Relevant areas:.............................................................................................................................. 28
DOMAIN:..................................................................................................................................... 29
Changing the configuration........................................................................................................... 30
Module: Servlets............................................................................................................................... 32
Lab exercise - Hello World Servlet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
A HelloWorld servlet.................................................................................................................... 32
Using Eclipse to create a servlet................................................................................................... 32
Packaging your servlet 1: directory structure................................................................................ 36

3

Packaging your servlet 2: deployment descriptor......................................................................... 37
Packaging your servlet 3: static HTML files................................................................................ 39
Packaging your servlet 4: create the WAR file............................................................................. 41
Deploying your web application................................................................................................... 42
Testing your web application........................................................................................................ 43
Exploring the WebLogic console.................................................................................................. 43
Reflection...................................................................................................................................... 46
Module: Servlets............................................................................................................................... 47
Lab exercise - Counter Servlet...................................................................................................... 47
A Counter servlet.......................................................................................................................... 47
Copying an existing Servlet.......................................................................................................... 47
Servlets and threading................................................................................................................... 48
Running your servlet..................................................................................................................... 48
Module: Servlets............................................................................................................................... 51
Lab exercise - Form parameters.................................................................................................... 51
A SettableCounter servlet............................................................................................................. 52
Request and Response objects...................................................................................................... 52
Reading form parameters.............................................................................................................. 53
Aside: printing all form parameters.............................................................................................. 54
Module: Servlets............................................................................................................................... 55
Lab exercise - HTTP Sessions...................................................................................................... 55
A SessionCounter servlet.............................................................................................................. 55
The state problem.......................................................................................................................... 55
Sessions and Java.......................................................................................................................... 56
SessionCounterServlet.................................................................................................................. 57
Aside: common usage pattern for sessions................................................................................... 57
URL Rewriting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Module: Servlets............................................................................................................................... 60

Activity (47)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Mina Neupane liked this
Natarajan Balaji liked this
Nimesh Thacker liked this
dnvsrinivas123 liked this
pantcaser liked this
dvnrkishore2722 liked this
futuredocs liked this
freebsdjlu liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->