Why wait(), notify() and notyfyAll() methods are avialble in Object class but not in Thread class? Explain.
Latest Answer: All the common and system security method is defined in Object class and "wait, notify, notrifyAll" is related with system and process security so they are defined in object class in spite of Thread class; ...
Which are the jar files that need to be externally added to run a simple java program that accesses a session bean in EJB 2.0, using Jboss 4.X application server.
Latest Answer: You just need to add either j2ee.jar file or jboss related j2ee jar file ...
what are the serious problems you had faced while using EJB's
Latest Answer: Just deploying the jar file will not help in Weblogic, you need to compile the ejb source using the ejb compiler "ejbc" supplied by weblogic.Otherwise we will see version miss match errors and it will not be deployed.I forgot the exact error ...
How are parameters passed to a method of a distributed object using RMI-IIOP?
Latest Answer: In remote calls, parameters passed by value not by reference. ...
Latest Answer: They are call back methods.They are used to notify ejb beans of the state.Called at the boundaries of the transaction.Whenever tx.begin(), ejbload() is called to notify beans of data being refreshedWhenever tx.commit, ejbstore() is called to notify beans ...
Latest Answer: In the JSP page we specify an error page for that exception and forward the control to the specified error page when an exception comes and we can display the exception in a good manner. ...
Entity bean is an abstract class and its local and home interfaces also extends an abstact class. So how can we instantiate home or local interface?
Latest Answer: SessionSynchronization is an interface in the javax.ejb package. This interface can be implemented by the ejb to show the transactional state of the bean.The different methods that come into this interface are:1. aferBegin() - Container call this method ...
Latest Answer: Session Facade is a design pattern. It is used to reduce the network round trips between client and EJB comp. SLSB comp will act as session facade and it is receiving request from client and communicate with other components by generating local calls ...
Latest Answer: The main difference lies in the persistence, In case of EJB 3.0 there is JPA, Java persistence API which makes the mapping of EntityBeans with the database easy, with the help of a service called as EntityManager.Mapping is done with the help of annotations ...
View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Go Top