Top Java J2EE AllOther Interview Questions :: ALLInterview.com http://www.allinterview.com Top Java J2EE AllOther Interview Questions en-us what is diff string and stringbuffer http://www.allinterview.com/showanswers/27940.html string is immutable, that is it can not be extended.whereas StringBuffer is mutable and can be extended. Fro example : Consider 2 statement : "Welcome " and "to Java World". now assign first statement to string and string what are callback methods? http://www.allinterview.com/showanswers/4927.html These methods allow the container to notify the bean of events in its life cycle.These methods are defined in javax.ejb.EntityBean whats the relation ship between LDAP and JNDI? http://www.allinterview.com/showanswers/6749.html JNDI has classes provided by SUN that will help ur appln interact with and LDAP server. JNDI appln work similarly to JDBC applns once and be free to use 'drivers' from different vendors. SUN provides the "driver" that will h what is difference between business deligate and session facade ? http://www.allinterview.com/showanswers/58552.html asdf Why do you use Context Object http://www.allinterview.com/showanswers/6874.html To access a value as Global for a particular application. what is class/object diagram http://www.allinterview.com/showanswers/62202.html 1.class/object digram shows the relationship between classes or objects. 2.class object digram shows the attributs and functions of perticular class. 3.It also shows the class involve in the system. 4.It gives the basic idea about the system w How to use ANT? http://www.allinterview.com/showanswers/6679.html setup the domain environment by running setEnv.cmd in windows or setEnv.sh in UNIX. Go into ur source directory and type ANT to build the build.xml file. if u want to build ur own build script,u can pass in the name of the build script by typing where is JNDI being used in java platform? http://www.allinterview.com/showanswers/6747.html HOtJava views using JNDI to access LDAP. Enterprise APIs such as Enterprise Java Beans,Java Message Service, and JDBC 2.0 make use of JNDI for their naming and directory needs. RMI over IIOP applications can use JNDI to access the CORBA(COS How do you create UserTransaction Object? How do you rollback a tra http://www.allinterview.com/showanswers/6875.html the user transactin object created using session Transaction tx=session.beginTransaction(); the rollback is: tx.rollback(); What is an Ioc pattern? There are assemblies in .net for establishing http://www.allinterview.com/showanswers/23711.html Inversion of control or dependency injection, its used to resolve component dependencies by injecting an instantiated component to satisfy dependency as opposed to explicitly requesting a component.There is a saying about this the servicing c what is the IDE that you have used to write your java programs? http://www.allinterview.com/showanswers/8569.html IDE used by me to write java application is netbeans. wnet use DAO design in u r project? http://www.allinterview.com/showanswers/59518.html Bascially DAO is used in three tier architecture. Three tire architecture is comprised of the following layers 1.Presentaion layer 2.Business layer 3.Data Access layer Data Access layer will have all the code to intercat with the data bas what is hibernate ceteria ? http://www.allinterview.com/showanswers/58551.html asdf what is difference between vector and arraylist?. http://www.allinterview.com/showanswers/70770.html vector is synchronized . collection object and variable slow acess. muntable array list is never snchronized. collection variable fast acess who should use JNDI? http://www.allinterview.com/showanswers/6746.html any java appln. that needs to access information abt users,machines,networks and services. User infn. includes security credentials ,phone no's ,electronic and postal mail addresses and appln preferences,machine infn. include network a