GeekInterview.com
Answered Questions

What is the difference between connection pool and data source

Asked By: Raj | Asked On: Apr 17th, 2007

Answered by: shaik subhani on: Feb 14th, 2008

Actually to use connection objects in the connection pool we need datasource object .
if you take weblogic , if u want to contact to connection pool , u must get data source object. Thats all.

Answered by: prasanna_b2001@yahoo.com on: Feb 7th, 2008

I dont think we can compare connection pool and data source.Both serves to access the database thru our application.If you create a connection pool in your web/app server then you can use them and acc...

What is schema checking in voicexml?

Asked By: GregMark | Asked On: Feb 1st, 2007

Answered by: prasanna_b2001@yahoo.com on: Feb 7th, 2008

I guess you are asking about validating voice XML files.

This is just validating our voice xml files against the vxml.dtd. This will tell us whether we are following the standards and syntax are not.

Thanks
Prasanna

Explain text to speech?

Asked By: StephenRaj | Asked On: Feb 1st, 2007

Answered by: seenu on: Mar 21st, 2012

text to speech reads out customer data retrieved from database

Answered by: prasanna_b2001@yahoo.com on: Feb 7th, 2008

Text to speech is a way of playing dynamic text to user where as the .wav file will play only static (recorded) messageFor example if you want to play standard greeting message "Welcome to Geek I...

How to call method in JSP from servlet

Asked By: Murthy | Asked On: Nov 24th, 2005

Answered by: sekhar on: Apr 24th, 2006

Even though we call a jsp page from servlet through request dispatcher,we can not call a perticular method of a jsp from servlet.there is no such mechanism in servlet API.but iam not sure.

Answered by: Subrahmanyam Mamidi on: Feb 20th, 2006

RequestDispatcher reqDis = request.getRequestDispatcher("Jspfile.jsp");reqDis.forward(request, response);This will work ... :)You can get RequestDispatcher from ServletConetext object, then you should...

What is difference between string and stringtokenizer?

Asked By: tulasi | Asked On: Oct 31st, 2005

Answered by: prasanna_b2001@yahoo.com on: Dec 16th, 2005

String and stringtokenizer serves different string operations. there is no point in comparing these two.

Answered by: katam on: Nov 14th, 2005

stringtokeniser can devide the the string into tokens.where string is

group of characters within " ">

What are the differences between ejb and Java beans

Asked By: Interview Candidate | Asked On: Sep 1st, 2005

Answered by: naresh17201 on: Jul 14th, 2010

1. Java beans live in a single local JVM (address spaces) and can be either visual or non-visualEJB are non-visual distributable components, which can live across multiple JVMs2. Java beans designed t...

Answered by: aleemkh on: Jul 30th, 2008

JavaBeans are just regular class files. They have get and set methods only. They are not controlled by separate EJB server like JBOSS etc, They can easily work on JVM itself and they dont require any ...

What are the differences between sax and dom parsers?

Asked By: Interview Candidate | Asked On: Jun 16th, 2005

Star Read Best Answer

Editorial / Best Answer

Answered by: prasanna_b2001@yahoo.com

View all answers by prasanna_b2001@yahoo.com

Member Since Dec-2005 | Answered On : Dec 19th, 2005

Both SAX and DOM are used to parse the XML document. Both has advantages and disadvantages and can be used in our programming depending on the situation

SAX:

1. Parses node by node

2. Doesnt store the XML in memory

3. We cant insert or delete a node

4. Top to bottom traversing

DOM

1. Stores the entire XML document into memory before processing

2. Occupies more memory

3. We can insert or delete nodes

4. Traverse in any direction.

If we need to find a node and doesnt need to insert or delete we can go with SAX itself otherwise DOM provided we have more memory.

Prasanna Balaraman.

Answered by: venkateshadhi on: Oct 30th, 2010

The SAX parser we can parse it by tag by tag, SAX Parser will not store in Memory
Where as in DOM parser the Document will be read fully and store it in Memory and Start Parsing.

Answered by: samirshaikh on: May 6th, 2008

The main difference between DOM and SAX is in the representation of the XML document they use. DOM uses an in-memory tree-like structure, whereas, SAX uses linear event driven approach.

What is Java beans ?

Asked By: Interview Candidate | Asked On: Aug 27th, 2004

According to Javasoft, "a Java bean is a reusable software component that can be manipulated visually in a builder tool."

Answered by: prasanna_b2001@yahoo.com on: Dec 19th, 2005

Java bean is a simple java class with setter and getter methods which can hold data.

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: