UCM – Migrating folder and its contents
Folders are an easy way to let users organize content stored in Content Server. Though folders are virtual, it gives a clean presentation of the content in a familiar user interface for users. Use of WebDAV further simplifies access and update of content.
If you are using folders, while migrating contents from one Content Server to another the component “Folder Structure Archive” can be of great help.
Folder Structure Archive: The Folder Structure Archive component enables an administrator to configure a Content Server Archive to archive the folder structure as well as its associated content. The structure of the folders is archived via database table replication.
This component allows you to browse and select the folder from the following screen (Administration > Folder Archive Configuration) and create an export archive.
You can then use the Admin Applet Archiver to export the collection to a target collection if you have connectivity between the two content servers. If your content servers are in different network, you can zip or tar the collection file, usually at the following location
/opt/oracle/ecm/user_projects/domains/ecm_domain/ucm/cs/archives/
and copy it to the same location in the target content server. Then you can launch the Admin Applet Archiver in the target content server and import the folder and its content.
Note: If you dont want all the revisions (to save space), before exporting change the revision selection settings as below:
Admin Applet > Archiver > Your_Collection_Name > Export Data > Content : Edit : Query Options – Select “Latest Revision”
You can notice that since the Folder Structure Archiver archives content through database replication, the Query Expression is empty. Explore the “Table” tab to see collection that is being exported.
This feature can be used to migrate content from a 10G to a 11G UCM environments also. Make sure you have migrated the security configurations and other required custom meta-data you have defined using the Config Migration Admin prior to migrating the content.
RIDC to display Dynamically Converted content
Quite often customers want a quick and easy way to publish a Word document and display it as HTML in a Portal. Dynamic Converter and RIDC comes handy in such situations. After you have setup the Dynamic Converter and tested the dynamic conversion from within the Content Server, you can use simple RIDC code snippet to display the content in a WebCenter Portal page.
First you need to import “oracle.ucm.ridc.jdev-11.1.1.zip” file manually into your JDeveloper. Then you can use the following code to build a bean to pass the content id and get the content.
This bean takes two parameters – the first is the Content ID, the second is a boolean value indicating if the content is dynamically converted or not. If all you need is to display a regular content, pass false as the second parameter.
package view;
import java.io.IOException;
import oracle.stellent.ridc.IdcClient;
import oracle.stellent.ridc.IdcClientException;
import oracle.stellent.ridc.IdcClientManager;
import oracle.stellent.ridc.IdcContext;
import oracle.stellent.ridc.model.DataBinder;
import oracle.stellent.ridc.protocol.ServiceResponse;
public class RIDCBean {
private String content;
public RIDCBean(String dDocName, boolean dynamicConversion) throws
IdcClientException, IOException {
// Arguments needed to connect to UCM
String idcConnectionURL;
idcConnectionURL = "idc://mycontentserver.com:4444";
String username;
username = "myappid";
String password;
password = "myapppwd";
// Create the IdcClient
IdcClientManager clientManager = new IdcClientManager ();
IdcClient client = clientManager.createClient (idcConnectionURL);
IdcContext userContext = new IdcContext(username, password);
// Create a new binder
DataBinder dataBinder = client.createBinder ();
// Retrieve the file
if (dynamicConversion) {
dataBinder.putLocal ("IdcService", "GET_DYNAMIC_CONVERSION");
dataBinder.putLocal("IsJava","0");
} else {
dataBinder.putLocal ("IdcService", "GET_FILE");
}
dataBinder.putLocal ("dDocName", dDocName);
dataBinder.putLocal("RevisionSelectionMethod", "LatestReleased");
ServiceResponse ridc_response;
ridc_response = client.sendRequest (userContext, dataBinder);
// Get the response as a string
content = ridc_response.getResponseAsString ();
}
public String getContent() {
return content;
}
}
Note: If the Dynamically Converted Word document had images, they will be checked-into the content server automatically by the Dynamic Converter. Based on your Dynamic Converter template, IMG tags will be generated. The IMG tags will use a URL to load these images in the converted content. This will work fine as long as your Content Server is accessible by end users. If you have your Content Server locked behind a firewall, you will have issues and need to convince the customer to have a consumption UCM server (read only) that can be opened up to users access by punching a hole in the firewall.
What is Sub-Prime Crisis – A Simple Primer
Here is a simple article to know about the sub-prime crisis, current hot topic. Let us know whats going on around us and why… Here we go….
What is a sub-prime loan?

In the US, borrowers are rated either as ‘prime’ – indicating that they have a good credit rating based on their track record – or as ‘sub-prime’, meaning their track record in repaying loans has been below par. Loans given to sub-prime borrowers, something banks would normally be reluctant to do, are categorized as sub-prime loans. Typically, it is the poor and the young who form the bulk of sub-prime borrowers.
Why loans were given?

In roughly five years leading up to 2007, many banks started giving loans to sub-prime borrowers, typically through subsidiaries. They did so because they believed that the real estate boom, which had more than doubled home prices in the US since 1997, would allow even people with dodgy credit backgrounds to repay on the loans they were taking to buy or build homes. Government also encouraged lenders to lend to sub-prime borrowers, arguing that this would help even the poor and young to buy houses.
With stock markets booming and the system flush with liquidity, many big fund investors like hedge funds and mutual funds saw sub-prime loan portfolios as attractive investment opportunities. Hence, they bought such portfolios from the original lenders. This in turn meant the lenders had fresh funds to lend. The sub prime loan market thus became a fast growing segment.
What was the interest rate on sub-prime loans?

Since the risk of default on such loans was higher, the interest rate charged on sub-prime loans was typically about two percentage points higher than the interest on prime loans. This, of course, only added to the risk of sub-prime borrowers defaulting. The repayment capacity of sub-prime borrowers was in any case doubtful. The higher interest rate additionally meant substantially higher EMIs than for prime borrowers, further raising the risk of default.
Further, lenders devised new instruments to reach out to more sub-prime borrowers. Being flush with funds they were willing to compromise on prudential norms. In one of the instruments they devised , they asked the borrowers to pay only the interest portion to begin with. The repayment of the principal portion was to start after two years.
How did this turn into a crisis?

The housing boom in the US started petering out in 2007. One major reason was that the boom had led to a massive increase in the supply of housing. Thus house prices started falling. This increased the default rate among subprime borrowers, many of whom were no longer able or willing to pay through their nose to buy a house that was declining in value.
Since in home loans in the US, the collateral is typically the home being bought, this increased the supply of houses for sale while lowering the demand, thereby lowering prices even further and setting off a vicious cycle. That this coincided with a slowdown in the US economy only made matters worse. Estimates are that US housing prices have dropped by almost 50% from their peak in 2006 in some cases. The declining value of the collateral means that lenders are left with less than the value of their loans and hence have to book losses.
Since in home loans in the US, the collateral is typically the home being bought, this increased the supply of houses for sale while lowering the demand, thereby lowering prices even further and setting off a vicious cycle. That this coincided with a slowdown in the US economy only made matters worse. Estimates are that US housing prices have dropped by almost 50% from their peak in 2006 in some cases. The declining value of the collateral means that lenders are left with less than the value of their loans and hence have to book losses.
How did this become a systemic crisis?

One major reason is that the original lenders had further sold their portfolios to other players in the market. There were also complex derivatives developed based on the loan portfolios, which were also sold to other players, some of whom then sold it on further and so on.
As a result, nobody is absolutely sure what the size of the losses will be when the dust ultimately settles down. Nobody is also very sure exactly who will take how much of a hit. It is also important to realize that the crisis has not affected only reckless lenders. For instance, Freddie Mac and Fannie Mae, which owned or guaranteed more than half of the roughly $12 trillion outstanding in home mortgages in the US, were widely perceived as being more prudent than most in their lending practices. However, the housing bust meant that they too had to suffer losses — $14 billion combined in the last four quarters – because of declining prices for their collateral and increased default rates. The forced retreat of these two mortgage giants from the market, of course, only adds to every other player’s woes.
What has been the impact of the crisis?
Global banks and brokerages have had to write off an estimated $512 billion in sub-prime losses so far, with the largest hits taken by Citigroup ($55.1 bn) and Merrill Lynch ($52.2 bn). A little more than half of these losses, or $260 bn, have been suffered by US-based firms, $227 billion by European firms and a relatively modest $24 bn by Asian ones. Despite efforts by the US Federal Reserve to offer some financial assistance to the beleaguered financial sector, it has led to the collapse of Bear Sterns, one of the world’s largest investment banks and securities trading firm. Bear Sterns was bought out by JP Morgan Chase with some help from the Fed.
The crisis has also seen Lehman Brothers – the fourth largest investment bank in the US – file for bankruptcy. Merrill Lynch has been bought out by Bank of America. Freddie Mac and Fannie Mae have effectively been nationalized to prevent them from going under.
How is the rest of the world affected?

Apart from the fact that banks based in other parts of the world also suffered losses from the subprime market, there are two major ways in which the effect is felt across the globe. First, the US is the biggest borrower in the world since most countries hold their foreign exchange reserves in dollars and invest them in US securities.Thus, any crisis in the US has a direct bearing on other countries, particularly those with large reserves like Japan, China and – to a lesser extent – India. Also, since global equity markets are closely interlinked through institutional investors, any crisis affecting these investors sees a contagion effect throughout the world
Reports suggest that insurance major AIG (American Insurance Group) is also under severe pressure and has asked for a $40 bn bridge loan to tide over the crisis. If AIG also collapses, that would really test the entire financial sector.
Recieved by email from Mr K, Sundararaj of Honeywell/Saravanan PK
How to rescue the Shopping Cart from being abandoned?
Every year, hoards of online shoppers bolt when they’re just a click or two away from finishing the checkout process. Maybe it’s a security concern, or what if returning the item turns out to be too much of a hassle? Whatever the reason, one study found that as many as 60 percent of online shoppers flee, making shopping cart abandonment a huge and costly problem for any business selling on the Web. The great frustration for online businesses is that a salesperson can’t just walk over to you and offer help.
What Happened at the SFO Web 2.0 Expo?
Is the Web 2.0 economy in limbo? Wrapping up the Web 2.0 conference CNET News.com Editor in Chief Dan Farber and reporter Caroline McCarthy wrap up the Web 2.0 conference in San Francisco and discuss the current Web 2.0 boom and how long it will be sustained.
JSON – Elegant Approach for cross domain AJAX scripting:
Tried it and fell in love with it right away. This is a sure winner for those writing cross domain widgets for the Internet. JSON is a data format that can be handled with ease in JavaScript (or Java or any programming/scripting language). It also allows cross domain scripting which is not supported by AJAX. Here are some cool resources to get started.
Web 2.0 – What have you to offer Sales?
Leveraging Web 2.0 to Sell by Geoffrey James
The Internet is the ultimate disruptive technology. Like telephony, radio, television, and even the printing press, the Internet is dramatically changing nearly every aspect of daily life, both inside businesses and in the daily lives of individuals. Much of this disruption has been both unplanned and unexpected, and nothing more so than the sudden prominence of what’s been called Web 2.0: the blogs, wikis and social networking sites where users generate content for consumption by other users.
Sales 2.0 represents not just a better way of selling, but a substantial enhancement of the customer experience. The Web 1.0 environment, with its emphasis on pushing information out to a wider audience, overloaded customers with information. While they had access to information that in the past belonged entirely to sales professionals (i.e. product features, comparison pricing, customer complaints etc.), many customers saw all that data as an undifferentiated blur of meaningless facts. By creating a more collaborative environment, Sales 2.0 allows the sales professional to use his or her specific expertise to help the customer differentiate between information that’s essential and information that’s not.
Is the Internet Inter-active enough?
Web 2.0 Summit – Did it make the sale?
Sure the Summit (SFO, Oct 17 -19) was sold out. I would have loved to be there, but living in the other corner of US makes it difficult to participate in the excitement. It might have been really refreshing to see Mark Zuckerberg, wearing jeans and his signature sandals. Zuckerberg had informed attendees that he expected the number of workers at Facebook to increase to 700 in a year from the more than 300 employees today.

The line-up of speakers was indeed very impressive: Meg Whitman (eBay), Steve Ballmer, Rupert Murdoch, Stewart Butterfield (Flickr) and more - the complete list here
Get the official scoop:
Any how, Ii am hoping to catch some of the happenings on pod-casts and screen-casts. I am sure you-tube will have a few pretty soon. Here is one that covers the last years (2006) Opening Session. Please post any links you have in the comments.
I hope that many investors walked out of the event with a commitment to support web 2.0 initiatives further. All the software makers and start-up entrepreneurs owe one for Oreilly for coining the terminology and nurturing the concept of web 2.0.



