|
|
|
|
|
|
|
|
|
|
|
|
|
|
Setting up a Wiki in WebSphere Studio Application Developer (continued)
Once you get everything downloaded and extracted, you are ready to fire up WebSphere Studio Application Developer and get to work. The example screen shots are from v5.1.2, but the process will be virtually the same for any 5.x version of Studio.
Create a new Enterprise Application Project The first thing you will need to do inside of Studio is to open up the J2EE perspective. From the File menu, select New > Enterprise Application Project, as shown in Figure A.
FIGURE A
 
Use the File menu to create your new Enterprise Application Project. Roll over picture for a larger image.
When the New Enterprise Application Project dialog box appears, select Create J2EE Enterprise Application project and click Next, as shown in Figure B.
FIGURE B
 
Select your JDK level. Roll over picture for a larger image.
Enter the name of your new project (I just used JspWiki, but you can select any name that is appropriate for your situation) and click Next, as I did in Figure C.
FIGURE C
 
Name your project. Roll over picture for a larger image.
Inside of the Enterprise Application project (the .ear), you are going to need to create a Web project (the .war), so on the next panel click on New Module, as you can see in Figure D.
FIGURE D
 
Click on New Module. Roll over picture for a larger image.
Uncheck the boxes for all of the projects except for the Web Project, shown in Figure E.
FIGURE E
 
Select only the Web Project. Roll over picture for a larger image.
WebSphere Studio Application Developer will provide a default name for your Web project based on the name of your Enterprise Application project, but if you would like something different, you can enter the new name at this point. Click Finish to return to the New Enterprise Application Project dialog box.
Make sure that the box is checked in front of your Web Project and click Finish to create your new Enterprise Application Project and associated Web Project, as shown in Figure F.
FIGURE F
 
Click Finish to create your Enterprise Application and Web projects. Roll over picture for a larger image.
Import the downloaded software into your Web project The next thing that you will need to do is to import the software that you downloaded into the Web Project. When you open up the tree on your Web project, you should see three items: the deployment descriptor, the Java source code folder, and the web contents folder. Right click on the Web Contents folder to bring up the context menu and select Import, as shown in Figure G.
FIGURE G
 
Select Import from the context menu. Roll over picture for a larger image.
Select File System from the list of potential import sources and click Next, as shown in Figure H.
FIGURE H
 
Select File System as your import source. Roll over picture for a larger image.
On the next panel, click on Browse to bring up the file finder and navigate to the folder into which you unzipped the downloaded .war file. Select the high-level folder containing your .war contents and click OK. This is displayed in Figure I.
FIGURE I
 
Locate the folder containing the unzipped .war file and click OK. Roll over picture for a larger image.
Since you want to import the entire contents of the folder, but do not want to import the folder itself, open up the folder on the next panel and select all of the subfolders and all of the contents individually. Click Finish to complete the import selection process, as shown in Figure J.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Advertisement --
How To Save Jobs
This book is about how to create and save jobs. Believe it or not, there's not a single book out there that specifically focuses on job creation and preservation -- until now.
This book, by ZATZ editor-in-chief David Gewirtz, is about helping your business work better. It's about helping you change the things you need to change so your company can perform more effectively.
Plus, through a grant from ZATZ, it's a free download.
Read it and reap. |
|
|
|
|
|
|
|
|
|
|
|