-How would U insert a binary file contents into the database?
- What are batch statements in JDBC? Can U add a select sql in batch processing?
- How will U check that the JDBC driver supports batch processing/scrollable resultset etc?
- What are the different types of Rowsets? What is the advantage of a rowset?
Sunday, June 18, 2006
Wednesday, May 03, 2006
On Logging
What is the difference btw Log4J and java.util.logging?
Explain the concept of receivers and appenders in Log4J.
What is NDC, MDC in Log4J terminology?
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?
Can I make changes to the Log4J config file at runtime? (not requiring a server restart)
Explain the concept of receivers and appenders in Log4J.
What is NDC, MDC in Log4J terminology?
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?
Can I make changes to the Log4J config file at runtime? (not requiring a server restart)
Thursday, January 26, 2006
Messaging Questions
How do I gaurantee once and only once delivery of a message in JMS ?
Can a message producer and message consumer be part of the same transaction?
How are message acknowledgements handled in JMS?
Scenario:
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 ?
Can a message producer and message consumer be part of the same transaction?
How are message acknowledgements handled in JMS?
Scenario:
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 ?
Tuesday, January 03, 2006
Wednesday, November 23, 2005
Thursday, October 13, 2005
Tuesday, October 11, 2005
EJB Questions:
-----------------------
Give some examples of services offered by a EJB container?. What's the advantage of component model of software design?
How does the EJB container manage to intercept calls to a remote object and apply transactions, security?
Can an Entity EJB be dedicated to a single client?
What protocol is used when a EJB client communicates with a EJB server?
What's the difference btw EJB and CORBA models?
-----------------------
Give some examples of services offered by a EJB container?. What's the advantage of component model of software design?
How does the EJB container manage to intercept calls to a remote object and apply transactions, security?
Can an Entity EJB be dedicated to a single client?
What protocol is used when a EJB client communicates with a EJB server?
What's the difference btw EJB and CORBA models?
Wednesday, October 05, 2005
Struts Questions
-- Explain the Struts architecture.
-- What are form-beans. Why are they required. Heard of DynaActionForm? Are form-beans required in Struts2?
-- How is form validation done in Struts?
-- Is validation done on server side of client side or both? Javascript vs Java?
-- Can there be more than one struts-config file?.
-- Can I change the name of the struts config file?
-- Can I use Tiles, Velocity template engine with struts?
-- What is the use of custom tags in JSP?
-- Would U use JSTL or Struts custom tags in Ur JSP pages?
-- What does the TLD file contain?
-- Difference between Struts 1.x and Struts 2.x?
-- How to use the MDC/NDC in Log4J with Struts? Where to put in the code? Which common place?
-- Can Struts2 be used with JSF?
-- How is AJAX handled in Struts 2?
-- Can we use JQuery instead of DWR?
-- Tiles vs IFrame? Pros and cons..
-- Can a single webapplication have some resources to be accessed thru HTTP and some by HTTPS?
-- What are form-beans. Why are they required. Heard of DynaActionForm? Are form-beans required in Struts2?
-- How is form validation done in Struts?
-- Is validation done on server side of client side or both? Javascript vs Java?
-- Can there be more than one struts-config file?.
-- Can I change the name of the struts config file?
-- Can I use Tiles, Velocity template engine with struts?
-- What is the use of custom tags in JSP?
-- Would U use JSTL or Struts custom tags in Ur JSP pages?
-- What does the TLD file contain?
-- Difference between Struts 1.x and Struts 2.x?
-- How to use the MDC/NDC in Log4J with Struts? Where to put in the code? Which common place?
-- Can Struts2 be used with JSF?
-- How is AJAX handled in Struts 2?
-- Can we use JQuery instead of DWR?
-- Tiles vs IFrame? Pros and cons..
-- Can a single webapplication have some resources to be accessed thru HTTP and some by HTTPS?
Friday, September 23, 2005
Monday, September 19, 2005
Thursday, September 08, 2005
Tuesday, September 06, 2005
Tuesday, August 16, 2005
Monday, June 27, 2005
Wednesday, June 22, 2005
Friday, June 17, 2005
Wednesday, June 08, 2005
Monday, June 06, 2005
Thursday, June 02, 2005
- What's the difference between an ArrayList and a Vector?
- Can I make a ArrayList shynchronized?
- What's the difference between a List and a Set?
- What data-structures have U used in Ur project and what were Ur deciding factors on the choice of collection object?
- Ever heard of a "Muti-Map" collection object?
- Which collection object in Java is best if U want fast searching?
- How will U do a binary search on a ArrayList?
Subscribe to:
Posts (Atom)