Top Java J2EE AllOther Interview Questions :: ALLInterview.com http://www.allinterview.com Top Java J2EE AllOther Interview Questions en-us 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 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 Difference between Spring framework and Struts framework? http://www.allinterview.com/showanswers/75688.html STRUTS : 1.Struts framework is based on MVC pattern to develop web applications and which is used to generate integration logic dynamically. 2.Struts allows only JSP as a view component. SPRING: 1.Spring framework is used to develop enterpris 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 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 which book is the best for preparing for SCWCD 1.5 http://www.allinterview.com/showanswers/67470.html SCWCD1.5 by Kathy Sierra is the Best Book 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. 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 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 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(); 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 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 difference between struts1.2 and struts2.0 http://www.allinterview.com/showanswers/80835.html 1. Servlet Dependency: Actions in Struts1 have dependencies on the servlet API since the HttpServletRequest and HttpServletResponse objects are passed to the execute method when an Action is invoked but in case of Struts 2, Actions are not co What is the difference between Eclipse and MyEclipse? http://www.allinterview.com/showanswers/79612.html Eclipse needs MyEclipse plugable source But MyEclipse did not required any plugable source