Showing posts with label technology. Show all posts
Showing posts with label technology. Show all posts

Saturday, September 20, 2008

Quick, learn some Cobol!

I got to learn some Fortran and BASIC in my days, but was never brave enough to tackle Cobol. Looks like it might be my next thing to learn for job-security ;) Per this article from Dr. Dobb's Portal (via Slashdot), come these really interesting nuggets - 
Cobol: 1) is the most widely used language in the 21st century; 2) is critical to some of the hottest areas of software development today; and 3) may be the next language you'll be learning?


In 1997 the Gartner Group estimated that there were 240 billion lines of Cobol code in active apps. Something like 90 percent of financial transactions are processed by Cobol code, and 75 percent of all business data processing is Cobol. Merril Lynch reports that 70 percent of its business runs on Cobol apps.


More interesting and possibly horrifying information (if you are like me and not really looking forward to programmingin COBOL for the rest of your life) at the link...

Thursday, September 18, 2008

Simple steps to create a portlet and consume it in Oracle Webcenter

There is definitely tons of documentation on this topic - I am not going to repeat it all but I thought a super, simple distilled version always helps ;)


  1. In JDeveloper, create a new web application with "portlet, repository, JSF" capabilities. This creates three projects in your application - "Model" (for your data needs), "Portlets" (where your portlets will reside) and "View Controller" (to build your JSF pages and components).
  2. Right-click your Portlets project, pick "New" -> Web Tier -> Standards-based Java portlet (JSR-168) to lauch the wizard. The rest of the wizard steps are pretty self-explanatory and the requisite files are automatically generated for you.
  3. Right-click on your Portlets project to create a new deployment descriptor (New... -> Deployment Descriptor).
  4. Right-click on your brand new *.deploy file created in the "Resources" folder and deploy. Your portlet is now deployed to your app server. Note: Remember to go to the connections tab and create an application server connection that you can deploy your portlet to prior to the deployment.
  5. In your browser window, type http://<host>:<port>/<context-root>/info to see your portlet's deployment status and to get the links to the portlet's WSDL (wsrp 1 and 2 are automatically generated).
  6. From your View Controller project, right-click to register a new WSRP Producer (New.. -> Web Tier -> WSRP Producer Registration). The URL endpoint to use here is the url of the WSDL from step 5 - either WSRP1 or WSRP2, based on the standard you are using. You will now see the newly registered portlet producer in the Portlet Producer folder in your application. 
  7. Create a new JSF *.jspx page using New...->Web-Tier->JSF page wizard.
  8. If you haven't already, right-click on the View Controller project and in the project properties, add the Customizable Core Components library to the project to have this show up in your component palette.
  9. Drag and drop the "PanelCustomizable" component within the h:form already on the page. Find the portlet producer you just registered in the component palette, pick your portlet in it and drop it within the PanelCustomizable on the JSF page. Note: If you don't find the portlet producer in the palette, make sure you created it from within the project. 
  10. Run the JSF page by right-clicking on it selecting "Run". You can see your portlet being consumed by the JSF page :)

Monday, September 15, 2008

Usability and JDeveloper

Alright, I agree I might not be working with all my brain after a nice and heavy meal of eggplant parmigiana, but Oracle's JDeveloper is not epitome of usability in my experience. This is the first time I have used this IDE (I still "heart" Eclipse!). I am only using it since it integrates well with the Oracle Fusion Middleware and that is my new mission in life to get well-versed in.

As a simple first step (after the not-so simple step of installing Oracle's SOA Suite), I am trying to create a portlet based out of the Oracle WebCenter framework. I relied on the cuecards to lead me through the process. Of course, the second step on the cuecard is to launch the Oracle PDK-Java Portlet Wizard - without explaining how to do so. I had to go to the "Show Me" menu on the cuecards to launch a browser window and an Oracle "viewlet" that actually visually showed me how to launch the wizard - a three-step process in itself.


Not to put the product down or anything, but figuring out how to launch a wizard should really not be rocket science!

Friday, September 5, 2008

Creating word clouds

Here is a cool tool that lets you derive patterns out of any text you provide - Wordle! The idea is to run through the text and form a word cloud that visually represents the frequency of word appearance in the text. A really cool analysis tool with a lot of uses I can see already (some bloggers have used it to analyze the text of the Democrat and Republican convention speeches).

Thursday, August 28, 2008

Wonderland - Virtual World Toolkit from Sun

Here is another interesting link passed on from a friend (thanks, Roger!) - Project Wonderland - Toolkit for building Virtual Worlds. Seems like a cool new java-based toy for the desktop that lets users create interactive 3D virtual worlds like Second Life for themselves. There is no license fees to pay - the platform is available under the GNU GPL v2.0, though commercial customers might want to look into the dual license.

Interesting as the project may sound, questions abound about how useful this is if it is going to be just a few developers creating things on their own servers - even if a few of them manage to link up. The beauty of virtual worlds is the ability to be physically be in one corner of the world while you are interacting virtually with people all over the world. The more people you see around and the more content you let them generate and play with, the more likely users of the world are going to last.

It is the being linked in to other people that allows virtual worlds flourish - not just the virtual part. It will be interesting to see how this effort fares outside of a purely educational experience.

Tuesday, August 26, 2008

Setting up a Blog

This is a sequel to yesterday's post about creating blogs. We are going to take a more detailed look at the setup and configuration of a blog and the various decisions involved.

First task, picking a host for the blog - free or paid. A lot of newbie bloggers tend to start free (I did, eons ago), gauge interest, get addicted and move on to their own domain and web space as the content increases. Corporate bloggers of course, are better off starting on their own domain in the first place.

Advantages to having your own domain are numerous - you have complete control over the content-generation, presentation, access and authorization for the content. You can use an enterprise-level infrastructure to ensure availability and an effective user experience. The biggest implicit advantage of social media and blogging in specific, is brand-messaging through the content being published and exposed to a user community. This brand-messaging can be conveyed in the most effective manner when the corporate domain is used for the blog, creating a seamlessly integrated user interface to the corporate website visitors.

Freebie blog options: Blogger, Wordpress
Paid blogging options: Typepad
Domain/Web space options: GoDaddy

Second task, pick a name for your blog. Easy enough? Not really, since this is essentially your identity - how you will come to be viewed by the online community and your readers. Too formal a name will put off readers, while something too informal might sound like you are not serious about what you want to say - well, maybe you really don't want to be too serious, in which case, go ahead and have fun (my first blog's name had "two mad Asian girls" in it, so I am not one to preach). An ideal name will reflect your brand identity to the world or yours and will come off friendly and inviting (hopefully) and not offensive or off-puttingly staid. For good or for bad, once your online identity is established, it is here to stay - so put a lot of thought in what you want to be known as and known for.

Now that the tough part is out of the way, what is left is to make your content search engine friendly so your blog can be indexed and viewed freely or setup stringent access controls so only authorized users can access it.

More in the next post about generating content that is relevant to the audience you want.

Monday, August 25, 2008

Yahoo Pipes - A cool new way to Mashup

I have to admit I was tipped off on this by a friend this morning (thanks, Scott!) - I was well aware of the really good job Yahoo had done with their AJAX framework (I worked on an application recently where the Yahoo libraries were used extensively), but this was something very few in the open source domain have managed (take my word for it now - I will google it up later ;)).

So what is Pipes? Remember unix pipes where you "pipe in" the result from one command to another and so on to create an aggregate of all the commands? This is a little bit like that. All you need is access to the feeds of whatever information you want to mashup in one of the standard formats like RSS, KML and mash it up in the interface provided by Yahoo (see here for more information). Interesting, easy to play with and looks to be going in the right direction. This is definitely one tool I want to keep on my radar for future mashup implementations.

Tuesday, August 19, 2008

The Speed of Meme?

Information travels faster than ever in these interconnected days. It used to be that it traveled at the speed of the best gossiper's mouth...all it takes is a few clicks to spread memes now. We will be looking at a few interesting memes, information and technology in general over here over the coming days.