Mock tests, Interview questions, Tutorials and Tech news
 
 

Archive

Archive for December, 2009

Braindump for certification

December 15th, 2009 Vinay No comments

Skill-Guru was started with the intent to create and share your knowledge with the community.  Most of the time we take help from forums , sites and blogs when we are stuck in problem so I thought let there be a site where users can create tests based on their learning and share with others.  I had taken my first certification in year 2000 and next one on year 2004 and had to run around  to look for mock tests.

At that time never heard of brain dump . But these days this is one of the most serached term. “Brain dump for Java certifcation” , “brain  dump for microsoft ” , “brain dump for CCNA” etc.

So what exactly is the brain dump ? Read more…

Categories: Tech news Tags:

What Matters Now – Seth Godin

December 14th, 2009 Vinay No comments

I have read it and now I want you to read it. Seth Godin is giving it free and I am spreading word.

Here is the link to What Matters Now

Categories: Miscellaneous Tags:

Winner for best comments on Java Script Regular Expression test

December 14th, 2009 Vinay No comments

@jasonwyatt is the winner this week for the best comment on Java Script Regular Expression test on Skill-Guru
He has been mailed the Regular Expression Java Script book by Vikas Shukla worth $30

Categories: Miscellaneous Tags:

Web Services with ASP .NET- Part-II

December 13th, 2009 Arunava 3 comments

This is second part of the tutorial ‘Web Services with ASP.NET’. Please go through Web Services with ASP.NET–Part-I before you continue further.

Consuming a XML Web Service

Exposing data and logic as SOAP to disparate systems across the world becomes simple with the help of ASP.NET. But users are not limited to consuming XML Web services only into ASP.NET application. Web Services can be consumed in Windows forms, mobile applications, databases and more. But here we show the example of how to consume a web service from a .net based web application. Again we are describing the whole process step by step. Read more…

Categories: Programming / tutorials Tags: ,

Web Services with ASP .NET- Part I

December 13th, 2009 Arunava No comments

Introduction

Web services are a new way of performing remote method calls over HTTP with the use of Simple Object Access Protocol (SOAP) . It becomes very easy for us to use all of this with the help of .Net framework. This tutorial covers building XML Web services and how we can consume XML Web service interfaces and integrate them into ASP.NET applications. But first we examine what is Web service some of the underlying technologies such as SOAP, WSDL and more.

Objective

The main objectives of this tutorial are
a.Give a simple idea about XML web service and the backend technologies.
b.How to build XML web service with the help of Visual Studio 2008
c.How to consume the web service within a web application built in .Net
We will cover the first two portions in Part-I of this tutorial and Part-II will cover the remaining portion. Read more…

Categories: Programming / tutorials Tags: ,

Regular Expression in Javascript – Quiz

December 5th, 2009 Vinay No comments

Vikas Shukla , a man gifted with multiple skills has recently written and published a book  Regular Expression In Javascript . He has taken out some time and created a quiz out of his book for our readers. I would encourage our readers to take the JavaScript Regular Expression Quiz and give the feedback to Vikas. The person with the best feedback with get one free copy of the book , worth $30.

ASP.Net Chart Control Quiz

December 2nd, 2009 Vinay No comments

Arunava is an experienced .NEt developer with very good knowledge of ASP.Net Chart Control. He has added some very good tutorials on

Microsoft Chart Control Tutorial
Advanced features of ASP .Net Chart Control

Recently he created a quiz on ASP .net Chart control Quiz which you will find helpful to test your knowledge on chart controls.

Categories: Programming / tutorials Tags: ,

Groovy Tutorial – Calling a stored procedure

December 2nd, 2009 sadhna No comments

Calling a stored procedure from a Sql server MySQL database or any other database in groovy is simple. First we need a datasource which spring could provide for us. Do the necessary datasource mapping in the resources.xml ( spring folder) in your grails folder &/Or datasources.groovy.

In service, use the datasource to call a store procedure as below example

import groovy.sql.Sql
class TestService{
def dataSource // using the datasource we define in the spring's resources.xml

<strong>/**Calling Procedure with in-parameters only- use sql.query**/</strong>
def abcList = { params -&gt;
Sql sql = new Sql(dataSource)
def clientkey = (SecurityUtils.getSecureClientKey(params) !=
null)?SecurityUtils.getSecureClientKey(params):1
//calling proc that returns resultset
sql.query("{call svr_RetrieveClientPreferences(?)}",[clientkey]) { rs -&gt;
if (rs != null) {
int i = 0
while (rs.next()) {
/ *all functionality ...... */
}
}
}
}

<strong>/**Calling Procedure with in &amp; Out parameters - use sql.call **/</strong>
def abcCalc = { params -&gt;
Sql sql = new Sql(dataSource)
guid = params.guide
userKey = params.user
//calling proc that returns out parameters
sql.call("{call gdx_ReadSessionData(?,?,?,?,?,?)}",
[guid, userKey, Sql.out(Sql.INTEGER.type),
Sql.INTEGER, Sql.VARCHAR, Sql.INTEGER])
{ date,userKeyCode,msgCode,retCode -&gt; /* The out parameters will be returned in the same order it passed to procedure */
userKey = userKeyCode
println(" return code" + retCode)
}
}
}

Note-
in-Out Param can be passed as Sql.out(Sql.<DATATYPE>.type) OR Sql.<DATATYPE> .
See more for DATATYPE here – http://groovy.codehaus.org/api/groovy/sql/Sql.html
LIMITATION -
Some issues with groovy sql; where we want to use out parameters & resultset both as a return of proc execution.

In this case we have to use the jdbc way (callable stmt) where stored procedure that return ResultSet and OUT parameter.

Categories: Programming / tutorials Tags:
Get Adobe Flash playerPlugin by wpburn.com wordpress themes