[jboss-cvs] JBossAS SVN: r86303 - projects/ejb3/examples/trunk/firstejb/src/test/java/org/jboss/ejb3/examples/ch04/firstejb.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Mar 25 08:10:04 EDT 2009


Author: ALRubinger
Date: 2009-03-25 08:10:03 -0400 (Wed, 25 Mar 2009)
New Revision: 86303

Modified:
   projects/ejb3/examples/trunk/firstejb/src/test/java/org/jboss/ejb3/examples/ch04/firstejb/CalculatorIntegrationTestCase.java
Log:
Formatting only for ejb3-examples-firstejb

Modified: projects/ejb3/examples/trunk/firstejb/src/test/java/org/jboss/ejb3/examples/ch04/firstejb/CalculatorIntegrationTestCase.java
===================================================================
--- projects/ejb3/examples/trunk/firstejb/src/test/java/org/jboss/ejb3/examples/ch04/firstejb/CalculatorIntegrationTestCase.java	2009-03-25 12:07:21 UTC (rev 86302)
+++ projects/ejb3/examples/trunk/firstejb/src/test/java/org/jboss/ejb3/examples/ch04/firstejb/CalculatorIntegrationTestCase.java	2009-03-25 12:10:03 UTC (rev 86303)
@@ -87,8 +87,10 @@
       // Create the naming context, using jndi.properties on the CP
       namingContext = new InitialContext();
 
-      // Obtain views (vendor-specific)
+      // Obtain EJB 3.x Business Reference
       calcRemoteBusiness = (CalculatorRemoteBusiness) namingContext.lookup(JNDI_NAME_CALC_REMOTE_BUSINESS);
+
+      // Obtain EJB 2.x Component Reference via Home
       final Object calcRemoteHomeReference = namingContext.lookup(JNDI_NAME_CALC_REMOTE_HOME);
       final CalculatorRemoteHome calcRemoteHome = (CalculatorRemoteHome) PortableRemoteObject.narrow(
             calcRemoteHomeReference, CalculatorRemoteHome.class);




More information about the jboss-cvs-commits mailing list