What is the difference between connection pool and data source
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.
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?
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.ThanksPrasanna
Explain text to speech?
text to speech reads out customer data retrieved from database
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
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.
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?
String and stringtokenizer serves different string operations. there is no point in comparing these two.
stringtokeniser can devide the the string into tokens.where string is
group of characters within " ">
What are the differences between ejb and Java beans
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...
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?
Answered by: email@example.com
View all answers by firstname.lastname@example.org
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
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
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.
The SAX parser we can parse it by tag by tag, SAX Parser will not store in MemoryWhere as in DOM parser the Document will be read fully and store it in Memory and Start Parsing.
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 ?
According to Javasoft, "a Java bean is a reusable software component that can be manipulated visually in a builder tool."
Java bean is a simple java class with setter and getter methods which can hold data.
What do you do when someone criticizes you?
Has anyone asked you for help? What did you do?
Do you find yourself busy most of the time? Why?
Career Options for BCA Graduates
Give me good reasons why should I choose you over others.
Do you have any questions that you want to ask?
Aptitude Test Preparation Tips
How to Overcome Employment Gap during interview.
Describe a time when you had to convince a friend ?
How do you handle difficult situations?
Ask Interview Question?
Have Career Question?
Ask Only Career questions.