Skip to main content

Posts

Showing posts from June, 2012

model 2 architecture in struts

model 2 architecture in struts  controlling  logic is completely secerated  from presentation logic  .   model 2 architecture controller part can be implemented  using servlet model 2 architecture view  part can be implemented  using  jsp model 2 architecture model  part can be implemented  using ejb3 or spring  in the model 2 architecture servlet is providing single entry point to all of the client .

Struts 2 Interview Questions

Struts 1.x vs Struts 2.x Main Differences  In struts 1  front controller is ActionServlet         In 2.x front controller is FilterDispatcher     In struts 1.x we have RequestProcessor class         In 2.x we have Interceptors instead RequestProcessor will see about this concept later just remember as of now     In struts 1.x we have multiple tag libraries like, html, logic, bean..etc         In 2.x we do not have multiple libraries, instead we have single library which includes all tags     In struts 1.x the configuration fine name can be [any name].xml and we used to place in web-inf folder         In 2.x the configuration file must be struts.xml only and this must be in classes folder     In struts 1.x we have form beans and Action classes separately         In 2.x form bean, Action classes are combinedly given as Action class only, of course we can take separately if we want ;)     In struts 1.x properties file must be configured in struts-config.xml         But in 2.x we need to c

What is difference between array & arraylist in java ?

An ArrayList is resizable, where as, an array is not. ArrayList is a part of the Collection Framework. We can store any type of objects, and we can deal with only objects. It is growable. Array is collection of similar data items. We can have array of primitives or objects. It is of fixed size. We can have multi dimensional arrays. Array: can store primitive            ArrayList: Stores object only Array: fix size                            ArrayList: resizable Array: can have multi dimensional Array: lang                                ArrayList: Collection framework

java interview questions

core java interview questions WHAT IS  JAVA ? The Java Platform? what is Unicode? what is Byte code? who developed the java? when java is invented? what is the advantage of java? what is oops concept in java ?? WHERE IT AS USE? WHY JAVA USE?  what is the use of oops? why java intermediate language? what are the dis advantage of oops?  how many java language keywords? what is the use of keywords? why we are using java keywords? what are the use of data types? how many  data types are supported in java? how many numeric data types are supported in java? java control structures? what is break? what is continue in java loop? java control  statements ?  java Control loops? how to declare the variable in java? what is array ? how to initialize array in java? how many types of arrays in java ? what is the use of array? array index out of bounds exception java? how to  Accessing Array Element? how to  manipulation and replacement in array? how to calculate the array length in java? what is the

java interview question and answers for freshers

core java interview questions WHAT IS  JAVA ? The Java Platform? what is Unicode? what is Byte code? who developed the java? when java is invented? what is the advantage of java? what is oops concept in java ?? WHERE IT AS USE? WHY JAVA USE?  what is the use of oops? why java intermediate language? what are the dis advantage of oops?  how many java language keywords? what is the use of keywords? why we are using java keywords? what are the use of data types? how many  data types are supported in java? how many numeric data types are supported in java? java control structures? what is break? what is continue in java loop? java control  statements ?  java Control loops? how to declare the variable in java? what is array ? how to initialize array in java? how many types of arrays in java ? what is the use of array? array index out of bounds exception java? how to  Accessing Array Element? how to  manipulation and replacement in array? how to calculate the array length in java? what is the

100 Java Questions

core java interview questions WHAT IS  JAVA ? The Java Platform? what is Unicode? what is Byte code? who developed the java? when java is invented? what is the advantage of java? what is oops concept in java ?? WHERE IT AS USE? WHY JAVA USE?  what is the use of oops? why java intermediate language? what are the dis advantage of oops?  how many java language keywords? what is the use of keywords? why we are using java keywords? what are the use of data types? how many  data types are supported in java? how many numeric data types are supported in java? java control structures? what is break? what is continue in java loop? java control  statements ?  java Control loops? how to declare the variable in java? what is array ? how to initialize array in java? how many types of arrays in java ? what is the use of array? array index out of bounds exception java? how to  Accessing Array Element? how to  manipulation and replacement in array? how to calculate the array length in java? what is the