<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-13358653</id><updated>2024-09-21T20:11:36.195-07:00</updated><title type='text'>Java Interview Questions</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://javainterviewquestions.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-13358653.post-1279966959348579436</id><published>2017-04-11T23:00:00.000-07:00</published><updated>2017-04-11T23:00:04.653-07:00</updated><title type='text'>Middleware questions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1. How is REST different from SOAP?&lt;br /&gt;
2. How can you map CRUD operations to REST operations?&lt;br /&gt;
3. How will you provide authentication and authorization in REST services?&lt;br /&gt;
4. Advantage of using API management tools such as API Connect?&lt;br /&gt;
5. How to use Swagger? Please explain how Swagger can be used for defining REST APIs?&lt;br /&gt;
6. What is MQTT? How is it different from JMS or AMQP?&lt;br /&gt;
7. What QoS of MQTT should we enable for our project?&lt;br /&gt;
8. How does Request/Response RPC work with AMQP?&lt;br /&gt;
9. What are web-sockets? How are they different from REST services? &lt;br /&gt;
10. How do you define API contracts? What are the standards?&lt;br /&gt;
11. What is Docker? What is Kubernetes?&lt;br /&gt;
12. What is ELK? How is it used for Logging along with Log4J?&lt;br /&gt;
13. What is Cloudant? How is data stored in Cloudant?&lt;br /&gt;
14. How can Kibana and ES&amp;nbsp;be used for dashboards and other visualizations?&lt;br /&gt;
15. How to implement materialized views in DashDB?&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/1279966959348579436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/1279966959348579436'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2017/04/middleware-questions.html' title='Middleware questions'/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-2812193138306662462</id><published>2013-03-11T05:14:00.001-07:00</published><updated>2013-03-11T05:14:32.138-07:00</updated><title type='text'>Hibernate questions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Can I pass Hibernate entities across the wire via web services?&lt;/li&gt;
&lt;li&gt;What are hibernate proxies? How are they created?&lt;/li&gt;
&lt;li&gt;What is lazy loading? Why do so many folks struggle with the LazyInitializationException error during lazy loading?&lt;/li&gt;
&lt;li&gt;Do I need to learn Hyper SQL to use Hibernate? Can I use plain SQL?&lt;/li&gt;
&lt;li&gt;What is the best approach - Data Model first and then Hibernate entities or vice versa. What are the pros and cons of each?&lt;/li&gt;
&lt;li&gt;Are Hibernate annotations compile-time or run-time scope?&lt;/li&gt;
&lt;li&gt;When we save/persist an object using Hibernate, how does Hibernate understand what fields/properties to save? Does it save all columns even if only one has changed? Hint: the _dirty flag :)&lt;/li&gt;
&lt;li&gt;Should the Hibernate &#39;increment&#39; id generator be used in production? What are the pitfalls?&lt;/li&gt;
&lt;li&gt;How does Hibernate ENVERS work?&lt;/li&gt;
&lt;li&gt;In Envers, the audit &#39;insert&#39; is part of the same transaction, or async?&lt;/li&gt;
&lt;li&gt;Can Hibernate supports Global Transactions ...i.e. two phase commit?&lt;/li&gt;
&lt;li&gt;Can Hibernate be used in EJB 3.0 as JPA provider? What are the pros/cons? What would you recommend?&lt;/li&gt;
&lt;li&gt;Can Hibernate prevent SQL Injection Attacks? How? &lt;/li&gt;
&lt;/ul&gt;
&amp;nbsp;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/2812193138306662462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/2812193138306662462'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2013/03/hibernate-questions.html' title='Hibernate questions'/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-4474887644296347934</id><published>2012-11-05T05:43:00.000-08:00</published><updated>2012-11-05T05:43:42.294-08:00</updated><title type='text'>Security concepts</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;What is the difference between pseudo-random numbers and real random numbers? PRNG and TRNG...&lt;/li&gt;
&lt;li&gt;Is it even possible to create a true random number?&lt;/li&gt;
&lt;li&gt;Why are random numbers important in cryptography?&lt;/li&gt;
&lt;li&gt;What is the difference between hashing and encryption?&lt;/li&gt;
&lt;li&gt;When would you use symmetric vs asymmetric encryption?&lt;/li&gt;
&lt;li&gt;Does SSL / HTTPS use symmetric key or asymmetric key? What is session key?&lt;/li&gt;
&lt;li&gt;What do you mean by 128-bit encryption? Is it the size of the symmetric key or asymmetric key?&lt;/li&gt;
&lt;li&gt;What is the difference between digital signature and digital certificate?&lt;/li&gt;
&lt;li&gt;What does a digital certificate contain? Also please explain how this all relates to the &quot;Chain of Responsibility&quot; design pattern?&lt;/li&gt;
&lt;li&gt;What&#39;s the difference between a GUID generator and a random number generator?&lt;/li&gt;
&lt;li&gt;When you install a digital certificate on the server, where is the private key stored?&lt;/li&gt;
&lt;li&gt;What digital certs are installed on your brower? Who installs them and why are they required?&lt;/li&gt;
&lt;/ul&gt;
&amp;nbsp;Sample scenarios: What to do? Whose public / private key to use?&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;You want to send a encrypted message to a person&lt;/li&gt;
&lt;li&gt;You want to digitally sign a document/message &lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/4474887644296347934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/4474887644296347934'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2012/11/security-concepts.html' title='Security concepts'/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-3633706869814597000</id><published>2012-11-05T05:26:00.001-08:00</published><updated>2012-11-05T05:27:42.765-08:00</updated><title type='text'>i18N concepts</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;What is the difference between Unicode and UTF-16?&lt;/li&gt;
&lt;li&gt;What is the significance of UTF-8? When to use it?&lt;/li&gt;
&lt;li&gt;If Chinese characters are represented as 2 or 3 bytes, how will you find out the length of a string in Chinese? For e.g. for validating the length of a field on a form.&lt;/li&gt;
&lt;li&gt;When do we need to use Base64 encoding?&lt;/li&gt;
&lt;li&gt;If I need to make an application i18n enabled, besides label/message strings, what are the other areas (data-points) I need to take care of?&lt;/li&gt;
&lt;li&gt;Can you open an unicode file (containing CJK chars) in notepad? If not, then why? What editors support unicode on your desktop? &lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/3633706869814597000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/3633706869814597000'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2012/11/i18n-concepts.html' title='i18N concepts'/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-6645173648258866888</id><published>2012-10-15T09:49:00.000-07:00</published><updated>2012-10-15T09:49:58.290-07:00</updated><title type='text'>BPMN questions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;What is the difference between a pool and a lane in a business process flow diagram?&lt;/li&gt;
&lt;li&gt;What is the difference between a sequence flow and a message flow?&lt;/li&gt;
&lt;li&gt;Can a sequence flow cross pools?&lt;/li&gt;
&lt;li&gt;What are the different standards (diagrams) available for modelling business processes?&lt;/li&gt;
&lt;li&gt;Why do we need BPEL? Is there a one-to-one mapping between BPMN and BPEL elements?&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/6645173648258866888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/6645173648258866888'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2012/10/bpmn-questions.html' title='BPMN questions'/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-3637789626507755326</id><published>2007-01-18T07:10:00.000-08:00</published><updated>2007-01-18T07:39:19.900-08:00</updated><title type='text'>GC questions</title><content type='html'>What is the default heap size allocated?&lt;br /&gt;&lt;br /&gt;What should all threads stop when the GC runs ?&lt;br /&gt;&lt;br /&gt;How does the low pause concurrent GC run?&lt;br /&gt;&lt;br /&gt;What are the different generations/spaces in the heap? Diff between permanent generation, tenured generation and survivors?&lt;br /&gt;&lt;br /&gt;What is the max heap size U can set on a 32-bit system?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/3637789626507755326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/3637789626507755326'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2007/01/gc-questions.html' title='GC questions'/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-115061551709575845</id><published>2006-06-18T00:20:00.000-07:00</published><updated>2006-10-22T23:54:55.412-07:00</updated><title type='text'>JDBC questions</title><content type='html'>-How would U insert a binary file contents into the database?&lt;br /&gt;- What are batch statements in JDBC? Can U add a select sql in batch processing?&lt;br /&gt;- How will U check that the JDBC driver supports batch processing/scrollable resultset etc?&lt;br /&gt;- What are the different types of Rowsets? What is the advantage of a rowset?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/115061551709575845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/115061551709575845'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2006/06/jdbc-questions.html' title='JDBC questions'/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-114668664785414421</id><published>2006-05-03T13:00:00.000-07:00</published><updated>2006-10-22T23:54:55.342-07:00</updated><title type='text'>On Logging</title><content type='html'>What is the difference btw Log4J and java.util.logging?&lt;br /&gt;Explain the concept of receivers and appenders in Log4J.&lt;br /&gt;What is NDC, MDC in Log4J terminology?&lt;br /&gt;I have 2 components - one written in C# and one in Java. How can I store the log of both of them in a single database table?&lt;br /&gt;Can I make changes to the Log4J config file at runtime? (not requiring a server restart)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/114668664785414421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/114668664785414421'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2006/05/on-logging.html' title='On Logging'/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-113834312939604354</id><published>2006-01-26T22:19:00.000-08:00</published><updated>2006-10-22T23:54:55.282-07:00</updated><title type='text'>Messaging Questions</title><content type='html'>How do I gaurantee once and only once delivery of a message in JMS ?&lt;br /&gt;Can a message producer and message consumer be part of the same transaction?&lt;br /&gt;How are message acknowledgements handled in JMS?&lt;br /&gt;&lt;br /&gt;Scenario:&lt;br /&gt;An application makes a remoting call and then puts a message on a queue and then makes one more database call. I want all of these 3 operations to be executed in a single transaction. How can U accomplish this ?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/113834312939604354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/113834312939604354'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2006/01/messaging-questions.html' title='Messaging Questions'/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-113627936003831828</id><published>2006-01-03T00:57:00.000-08:00</published><updated>2006-10-22T23:54:55.225-07:00</updated><title type='text'></title><content type='html'>How would U debug a multi-threaded application?. Say U have a Swing Application that creates 3 threads. Have U tried multi-threading debugging in Eclipse, Sun Studio ?&lt;br /&gt;&lt;br /&gt;In a Swing Application, if the main thread dies, then what happens?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/113627936003831828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/113627936003831828'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2006/01/how-would-u-debug-multi-threaded.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-113274914999587561</id><published>2005-11-23T04:30:00.000-08:00</published><updated>2006-10-22T23:54:55.167-07:00</updated><title type='text'></title><content type='html'>&lt;ul&gt;&lt;li&gt;When would U use thread pooling ?&lt;/li&gt;&lt;li&gt;How would U implement a thread pool ?&lt;/li&gt;&lt;li&gt;What are worker queues and worker threads ?&lt;/li&gt;&lt;li&gt;Have U explored the java.util.concurrent package in Java 5.0 ?&lt;/li&gt;&lt;li&gt;What is a deadlock and a race condition ?&lt;/li&gt;&lt;/ul&gt;&lt;p&gt; &lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/113274914999587561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/113274914999587561'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/11/when-would-u-use-thread-pooling-how.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-112921350989089550</id><published>2005-10-13T07:20:00.000-07:00</published><updated>2006-10-22T23:54:55.104-07:00</updated><title type='text'></title><content type='html'>What&#39;s the advantage of adding a &quot;serialVersionUID&quot; to a Java source file?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112921350989089550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112921350989089550'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/10/whats-advantage-of-adding.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-112903524101116234</id><published>2005-10-11T03:51:00.000-07:00</published><updated>2006-10-22T23:54:55.042-07:00</updated><title type='text'></title><content type='html'>EJB Questions:&lt;br /&gt;-----------------------&lt;br /&gt;Give some examples of services offered by a EJB container?. What&#39;s the advantage of component model of software design?&lt;br /&gt;&lt;br /&gt;How does the EJB container manage to intercept calls to a remote object and apply transactions, security?&lt;br /&gt;&lt;br /&gt;Can an  Entity EJB be dedicated to a single client?&lt;br /&gt;&lt;br /&gt;What protocol is used when a EJB client communicates with a EJB server?&lt;br /&gt;&lt;br /&gt;What&#39;s the difference btw EJB and CORBA models?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112903524101116234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112903524101116234'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/10/ejb-questions-give-some-examples-of.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-112851580163022495</id><published>2005-10-05T04:41:00.000-07:00</published><updated>2006-10-22T23:54:54.985-07:00</updated><title type='text'></title><content type='html'>What&#39;s the difference between JSP include directive and include element?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112851580163022495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112851580163022495'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/10/whats-difference-between-jsp-include.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-112849794810990699</id><published>2005-10-05T00:23:00.000-07:00</published><updated>2013-03-11T05:20:32.394-07:00</updated><title type='text'>Struts Questions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
-- Explain the Struts architecture.&lt;br /&gt;
-- What are form-beans. Why are they required. Heard of DynaActionForm? Are form-beans required in Struts2?&lt;br /&gt;
-- How is form validation done in Struts? &lt;br /&gt;
-- Is validation done on server side of client side or both? Javascript vs Java?&lt;br /&gt;
-- Can there be more than one struts-config file?.&lt;br /&gt;
-- Can I change the name of the struts config file?&lt;br /&gt;
-- Can I use Tiles, Velocity template engine with struts?&lt;br /&gt;
&lt;br /&gt;
-- What is the use of custom tags in JSP?&lt;br /&gt;
-- Would U use JSTL or Struts custom tags in Ur JSP pages?&lt;br /&gt;
-- What does the TLD file contain?&lt;br /&gt;
-- Difference between Struts 1.x and Struts 2.x?&lt;br /&gt;
-- How to use the MDC/NDC in Log4J with Struts? Where to put in the code? Which common place?&lt;br /&gt;
-- Can Struts2 be used with JSF?&lt;br /&gt;
-- How is AJAX handled in Struts 2?&lt;br /&gt;
-- Can we use JQuery instead of DWR?&lt;br /&gt;
-- Tiles vs IFrame? Pros and cons..&lt;br /&gt;
-- Can a single webapplication have some resources to be accessed thru HTTP and some by HTTPS?&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112849794810990699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112849794810990699'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/10/explain-struts-architecture.html' title='Struts Questions'/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-112746743464539981</id><published>2005-09-23T02:23:00.000-07:00</published><updated>2006-10-22T23:54:54.858-07:00</updated><title type='text'></title><content type='html'>If I declare a class as &#39;protected&#39;, can other classes in the same package access the class?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112746743464539981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112746743464539981'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/09/if-i-declare-class-as-protected-can.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-112713300116872878</id><published>2005-09-19T05:25:00.000-07:00</published><updated>2006-10-22T23:54:54.798-07:00</updated><title type='text'></title><content type='html'>What is &quot;inversion of control&quot; design pattern? What is &quot;dependency injection&quot; ?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112713300116872878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112713300116872878'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/09/what-is-inversion-of-control-design.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-112617389103057137</id><published>2005-09-08T03:03:00.000-07:00</published><updated>2006-10-22T23:54:54.740-07:00</updated><title type='text'></title><content type='html'>Suppose U have a data collection (say a &quot;arraylist&quot;). U want to make sure that no one else can modify it. i.e. U want to make it immutable. How will U do it?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112617389103057137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112617389103057137'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/09/suppose-u-have-data-collection-say.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-112617300651254856</id><published>2005-09-08T02:49:00.000-07:00</published><updated>2006-10-22T23:54:54.678-07:00</updated><title type='text'></title><content type='html'>What would U do if U need a &quot;Multi-Map&quot; collection? i.e. U have a collection where one key may map to many values.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112617300651254856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112617300651254856'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/09/what-would-u-do-if-u-need-multi-map.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-112617073677703823</id><published>2005-09-08T02:11:00.000-07:00</published><updated>2006-10-22T23:54:54.612-07:00</updated><title type='text'></title><content type='html'>Can a Java class be private or protected?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112617073677703823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112617073677703823'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/09/can-java-class-be-private-or-protected.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-112617011751302653</id><published>2005-09-08T02:00:00.000-07:00</published><updated>2006-10-22T23:54:54.555-07:00</updated><title type='text'></title><content type='html'>What is the advantage of Inner classes over encapsulation?&lt;br /&gt;I can make a class as &quot;package&quot; access. Will this not suffice ? Why do I need Inner classes?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112617011751302653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112617011751302653'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/09/what-is-advantage-of-inner-classes.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-112600253505101098</id><published>2005-09-06T03:27:00.000-07:00</published><updated>2006-10-22T23:54:54.497-07:00</updated><title type='text'></title><content type='html'>How will U debug a Java program that has several threads running?&lt;br /&gt;If U place a break-point somewhere, will all threads be suspended or only a single thread?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112600253505101098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112600253505101098'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/09/how-will-u-debug-java-program-that-has.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-112419079583323636</id><published>2005-08-16T04:12:00.000-07:00</published><updated>2006-10-22T23:54:54.386-07:00</updated><title type='text'></title><content type='html'>What&#39;s the difference between the &#39;java.exe&#39; and &#39;javaw.exe&#39; processes?&lt;br /&gt;When to use what?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112419079583323636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/112419079583323636'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/08/whats-difference-between-java.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-111988363294536906</id><published>2005-06-27T07:47:00.000-07:00</published><updated>2006-10-22T23:54:54.330-07:00</updated><title type='text'></title><content type='html'>A circular project dependency occurs when two or more projects depend on each other. For example: FileOne in ProjectA depends on FileTwo in ProjectB, and FileThree in ProjectB depends on FileFour back in ProjectA.&lt;br /&gt;&lt;br /&gt;How will U solve such dependencies in Java ?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/111988363294536906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/111988363294536906'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/06/circular-project-dependency-occurs.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-13358653.post-111950714008848065</id><published>2005-06-22T23:11:00.000-07:00</published><updated>2006-10-22T23:54:54.276-07:00</updated><title type='text'></title><content type='html'>Suppose U have a file that needs to be shared between a Java application and a non-Java application for writing/reading. How will U do it ?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/111950714008848065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13358653/posts/default/111950714008848065'/><link rel='alternate' type='text/html' href='http://javainterviewquestions.blogspot.com/2005/06/suppose-u-have-file-that-needs-to-be.html' title=''/><author><name>Narendra Naidu</name><uri>http://www.blogger.com/profile/14883940950404721626</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcaF65GIZ_oFRWns64evF5JJZ9dlA0b-PT2KFV9far76_tVK9TMYrykzjmtjWezU8arfTv8zAAVS4i8cHGGh5YF4X-wA5cVgcvRhnR8lcVwk_29xBGonoccCDELzm-X9w/s220/naren_simple_grey.jpg'/></author></entry></feed>