Search WebSpherePower's 6,973 WebSphere, Java, and Eclipse article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Setting up a Wiki in WebSphere Studio Application Developer (continued)

Technically, these file path properties are environmental, and should really not be embedded in your .ear file. Ideally, you want to create .ear files that can be deployed anywhere in your enterprise without having to be modified in any way.

If you have your production WebSphere environment on zOS, AIX, or any other non-Windows environment, you will undoubtedly have a different file path to your pages than you do on a Windows development machine. But that's the way this software is set up, so we'll just go with that for now. Just be aware that if your are generating an .ear for deployment, you will need to modify these environmental properties to match your target environment.

There are a number of other things that we could change, but this is enough to get up and running, so let's close this file and say "Save" when it tells us that we've made changes to the contents, as shown in Figure P.

FIGURE P


Close and save the properties file when you are finished. Roll over picture for a larger image.

Test Your Wiki
That's really all there is to it. At this point, your wiki should be ready to rock and roll, so the next thing to do is to try it out. Right click on the Web project to bring up the context menu one more time and select Run on Server, as shown in Figure Q.

FIGURE Q


Select Run on Server to test your wiki. Roll over picture for a larger image.

Select your server (I use the WebSphere Applications Server 5.1 Test Environment embedded in Studio) and click Finish to initiate the server and the application, as shown in Figure R.

FIGURE R


Select your target test environment and click finish to initiate the test. Roll over picture for a larger image.

If all is well, the next thing you will see is your new wiki's welcome page in the internal Web browser of your Studio, as you can see in Figure S.

FIGURE S


Congratulations! You have a new .ear wiki!! Roll over picture for a larger image.

Now you can play around with it and try out all of the feature and functions and make sure everything is configured just the way you want it.

Customize Your Wiki
At this point, you can export your .ear file and deploy it to your application server and start using just the way it is.

However, there are a number of contributed plug-ins and templates out on the JSPWiki web site that you might want to take a look at to enhance your basic wiki. And you may want to add a few custom enhancements of your own. You can, of course, customize your wiki simply by adding new pages and altering the sample pages that were provided as part of the package, but there are many things that you can do beyond just altering the content.

While I was in playing around with this product, I modified one of the custom templates by adding elements of the WebSphere Application Server's Administrative Console application to come up with a WebSphere-like template.

You can take a look at how that came out at http://www.jspwiki.org/Wiki.jsp?page=WebSphere. But whether you customize yours extensively or simply use it right out of the box, a wiki is a nice addition to your portfolio products and has a number of valuable uses. The more you use it, the more you will find you have uses for it.

Product availability and resources
For the definition of a Wiki, visit http://en.wikipedia.org/wiki/Wiki.

For more information on JSPWiki, visit http://www.jspwiki.org.

To download JSPWiki, visit http://www.jspwiki.org/Wiki.jsp?page=JSPWikiDownload.

To see how it worked out, visit http://www.jspwiki.org/Wiki.jsp?page=WebSphere.

Jeff Chilton is a Contributing Editor for DominoPower and WebSpherePower magazines, and in his spare time serves as Vice President of Fulfillment for Echo Technology Group, Inc., an IT consulting firm that specializes in enterprise-focused best practices. Visit http://www.teametg.com for more information or email him at jchilton@teametg.com.


« Previous  ·  1  ·  2  ·  3  ·  4
Other articles you might like
Home > WebSphere Studio (9 articles)
   Upgrading WebSphere Studio to Version 5.1.2
   Managing multiple workspaces with WebSphere Studio
   Using the Fast View feature to be quicker on the draw
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent WebSpherePower Articles
A perfect 10: celebrating 10 years online
You can help bring security and safety back to White House email
Introducing the WebSpherePower RSS feeds
From New Jersey to Palm Bay, Florida
A WebSphere pot o' gold
How Elvis entered the building and CES went out the window
WebSphere Application Server 6: what's it all mean?
WebSpherePower News
Legal question: Can HP keep Hurd from going to Oracle?
Caringo announces integration with Symantec EV 9.0
Cisco & Citrix marry on virty PCs
Take Heed, Tech Giants: Edison's Failed Plot To Hijack Hollywood
IBM code unchains virtual workloads
Oracle names H-P ex-CEO Mark Hurd as co-president
Cloud Messaging Provider, Linxter, Releases SDK for Java and Android
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Introducing the Jones family and their full-family backup challenges
David Gewirtz Online: CNN commentary and analysis
DominoPower: Lotus must open source Notes and Domino
OutlookPower: Hands on debugging a broken Outlook forwarding rule
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login