 |
| |  |
Home In This Issue Email a Friend EasyPrint
 | |
|
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. Click 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. Click 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. Click 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. Click 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. Click 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. Click 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. Click 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. Click 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. Click 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.
[ Prev | Next ]
|
|
-- Advertisement --
EASY DEDICATED AND VIRTUAL DEDICATED SERVERS FOR AS LOW AS $67.99 PER MONTH
Customize and configure your own dedicated server. Simply choose one of our popular plans or select your own Linux or Windows server and plan options.
NO LONG WAITS. Server provisioned within hours.
Tap here now and be up and running with your own server tonight. |
|
Copyright © 2008, ZATZ Publishing. All rights reserved worldwide.
|