Wednesday, March 10, 2010

Oracle Service Bus Interview Questions

Q1. How can you generate File Based Events using Oracle Service Bus? 
Service Bus allows you to create Proxy Services that can poll to ftp and sftp servers . Create a Messaging Type Proxy Service and choose , ftp or sft as the protocol on transport configuration. You can also use File protocol for the same.

Q2. How can you invoke an EJB method from Oracle Service Bus? EJBs can be invoked as Web Services by first registering a Business Service with ejb transport and then getting the WSDL from the Business Service.

Q3. How can you achieve parallel processing in Oracle Service Bus? Oracle Service bus has the Split Join capability. A request can be broken to multiple childs each of which can be processed parallel and the results can be joined and then sent to requester.

Q4. What is difference between a WSDL Proxy Service and Any SOAP Proxy service? Any SOAP proxy service can accept any payload that conforms to SOAP schema.

Q5. Can you interact directly with Database from Service Bus? Yes by using the BEA XQuery method execute-sql

Q6. How can you interact transaction ally with multiple EIS such as JMS EJB and DB in Service Bus? Invoke the Business Services and xqueries(for DB) representing the different EIS in the request pipeline

Q7. For a Proxy Service listening to a JMS Queue how can you ensure that the JMS Message is retried if an error occurs during processing? Use an XA JMS Connection factory in the jms url.

Q8. What purpose do the Stage components serve in Service Bus? They are the containers for actions. A stage is the smallest group to have its error handling

Q9. How can you jump control from one stage to next stage without using if then else logic? Use the Skip action

Q10. How can you end a Proxy flow without using if then else logic ? By using the Reply action


Q11. What dows FLOWR in XQuery terminology stand for ? For,Let,Order By,Where and Return are key words for writing XQuery Expressions. FLOWR stands for these key words .

Q12. How can you find out the tag name of an XML Element excluding the namespace? By using the local-name() Xpath function e.g.

For the Xml node Request xmlns:ns0=”blah blah”>abc local-name function will return ‘Request’

Q13. How do you specify namespace definitions in XQuery File? By using the ‘declare namespace ‘ statement.

Q14. How can you read external xml document in XQuery ? By Using the document() function

Q15. What does the Xquery expression ‘element xyz{“abc”}’ result into? It will result into xml element abc.

Q16. How can you avoid getting xquery transformation errors? By doing data validation before invoking the core xquery functions/constructs.

Q17. How can you concatenate Strings in Xquery ? By using the concat xquery function

Q18. How can you remove multiple newline ,space and tab characters from a string ? By using the normalize-space xquery function

Q19. How will you iterate over the child nodes of an xml node in XQuery? By using the for… expression.

Q20. How will you return a Boolean true value from xquery ? By using the true() function.

Friday, May 8, 2009

Market Correction

Election time, how do you think it would be related to market ups and down?
Being a new investor this never did hit my mind that elections can also have an impact on market.
This phase is called “Market Correction” as many of my friends in stock market use.
There is a great impact of election on market which is in 2 phase. Just like election which starts with voting , there is a pre election phase in market wherein you would see a rise in market. There is also a post election phase where in you could see a change in market which depends on the stability of the government.
If you would have analysed the market now its has been rising, which started just before the election and would carry on till the date of counting. During election readers of newspaper goes up and so does the news chaneel. Sales of alcoholic beverages go up during election, with increse in money supply in market, people care product also gets benefited. Auto sales also rise up with use of SUVs during election campaigns, all these things directly affect the market. Post election there had been always a rise in market which is expectation on ploicy initiative. To be precise 16th May to 18th may would be the time when there would be a fall in market which is the correction time for market.
At the end let me provide you with some data that would provide some support to my blog:
· For the last eight elections from 1980 onwards sensex on an average showed 4% gain in the three months preceding elections. Barring the May 2004 elections, sensex has, in fact, gained more than 5% in the three months preceding the elections the last five times since 1980.
· The benchmark index was up 13.5% before the October 1999 polls, 5.1% before the March 1998 polls, 5.9% in 1996 and 8.1% in 1991.
· In 2004 (after five years of the NDA government) and 1980 (following the Janata Party's short-lived rule), sensex recorded less than 1% returns in the three-month period before the polls, but mind you, it still made gains.
· In 2009 index has already risen upto 5%.

Wednesday, May 6, 2009

Investment

Investment the golden word that comes into mind of every youngster as soon as they turn out to be a proffessional.
Investment is a method of purchasing assets to gain profit , this dosent mean that you invest for a sort period and dream about becoming a billionare in an year.
Investment is not as easy as many of we think, it takes years to understand the art of investment. People have spend a large part of their life planning their investment and learning about it.
There are certain things that one should keep in mind before thinking to invest in market.
As it is said investment is a process to grow your money and shield yourself against rising inflation.
The sooner you invest the more time you have to grow your assets. The concepet of compounding interest which we used to learn in our school comes into picture. The dividends starts accumulating together with your income, as an end result you see growth in your wealth.
The reserach and history of the unpredictable market have 3 golden rules to investment:
1. Invest early
2. Invest regularly
3. Invest for long term

Saturday, April 25, 2009

Trade Union.....No More A Distant Reality

I don’t know, How many of you have felt the heat of the slowdown in your working environment or ambience. But the reality is that it is changing gradually and eventually becoming harsh every moment going by. Now I wonder, can this event coin the term “Labour Union” in White Collar and extremely sophisticated industries like IT industry too. Let me just cite you an example, in my organization half yearly appraisals are in process and the situation is like this for even things as small as accessing internet, an employee is threatened to be terminated. Is this not the extreme? Is it not the situation which corporate houses are cashing in? I think it is. Every single employee can be considered as the building block of the Service Sector industry like IT industry, so he should get his due bite. “Termination” and “Sacking” have become the major contents of the grapevine these days. Labour Union may seem to be a distant reality right now but take my words if this situation persist then it has to break out this way only. Is there anything wrong in it? Look when you toil yourself all day long for your organization just to hear that you can be terminated any moment sounds morally wrong and here comes a group or union consisting of assets within who should fight for their share. So guys pull up your socks, we are ready to bear the heat in the form of no increments, no promotions but we cannot work under threatened conditions. We are the One who transformed the way they do business, we are the one make them global, we are the one that is why they exists. So why should we always be at the receiving end. I think this is the testing time and time for some introspection.........

Sunday, April 19, 2009

Demand for IT skills down in first 3 months of 2009

A new study shows that demand for IT skills is down slightly in first three months of 2009.  Pay for both IT certifications and non-certified skills fell 0.5% overall during the first three months. Out of 371 skills and certifications considered in survey, 60 skills and certifications declined in value and 46 increased in value.

As per the survey by Foote Partners, LLC, demand for IT skills went down but depending on the specialization, pay is still rising for niche skills and certifications in IT Security, methodology/process, networking/systems, database, and enterprise apps. 

The survey has come up with the Hot List for IT Skills and Certifications. In IT Skills category(non-certified), JAVA EE, SE, ME were the hottest followed by Linux, Virtualization, and Microsoft .Net.  Business Process Management/Modeling/Improvement stood at #6, Security at #8(IDS/IPS, forensics, identity/access mgmt, compliance, firewalls, threat/vulnerability assessment and mgmt), Project Management at #10. Various SAP flavours are in the list ranked between #11 and #27 with MySQL(#22) and PHP(#23) in between.

Among IT Certifications Hot List, HP/Accredited Systems Engineer walked away with numero uno position. It was folllowed by GIAC Certified Incident Handler. Citrix Certified Integration Architect stood at #4.