The Web service endpoint interface is used to define the ‘Web services methods’. It is necessary for an enterprise bean…
August 26th, 2010
What is a remote client?
No Comments, SCBCD, Uncategorized, by Daisy Williams.A remote client is a location independent client of an enterprise bean. A client that runs in the same JVM…
August 24th, 2010
How to build an enterprise bean that allows only local access?
No Comments, SCBCD, Uncategorized, by Daisy Williams.Local accessibility is the default accessibility of an enterprise bean. If the bean’s business interface is not decorated with @Local…
August 23rd, 2010
How to create an enterprise bean that allows remote access?
No Comments, SCBCD, by Daisy Williams.Remote access allows an enterprise bean to run on a different machine with a different Java virtual machine (JVM). An…
June 21st, 2010
What are the characteristics of a message-driven bean?
No Comments, SCBCD, by Daisy Williams.Following are the characteristics of a message-driven bean: It executes upon receipt of a single client message. It is invoked…
May 24th, 2010
Which of the following containers is used to manage the execution of JSP page and servlet components for Java EE applications?
No Comments, SCBCD, by Daisy Williams.A Web container B EJB container C Application client container D Applet container E Java EE server
May 22nd, 2010
What are the begin() and commit() methods of the EntityTransaction interface?
No Comments, SCBCD, by Daisy Williams.begin(): This method is used to start a new transaction. The general form of the method is as follows: void…
May 21st, 2010
What is the getTransaction() method?
No Comments, SCBCD, by Daisy Williams.The getTransaction() method is used to get the instance of the EntityTransaction interface. The following is the general form of…
May 20th, 2010
What is the isActive() method?
No Comments, SCBCD, by Daisy Williams.The isActive() method is used to indicate whether a transaction is in progress. This method is used by the begin(),…
May 19th, 2010
What is persistence unit?
No Comments, SCBCD, by Daisy Williams.Persistence unit packaging specifies that a persistent unit can be packaged as part of a WAR or EJB JAR file,…