SCJP Certification

Sun Certified Java Programmer Certification exam essentials

Archive for the ‘SCBCD’ Category

August 27th, 2010

What is the Web service endpoint interface?

No Comments, SCBCD, Uncategorized, by Daisy Williams.

The Web service endpoint interface is used to define the ‘Web services methods’. It is necessary for an enterprise bean…

Share

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…

Share

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…

Share

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…

Share

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

Share

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…

Share

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…

Share

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(),…

Share

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,…

Share