geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r499651 - in /geronimo/samples/trunk/calculator-stateless-pojo: calculator-stateless-ear/pom.xml calculator-stateless-war/src/main/webapp/sample-docu.jsp
Date Thu, 25 Jan 2007 02:44:54 GMT
Author: prasad
Date: Wed Jan 24 18:44:53 2007
New Revision: 499651

URL: http://svn.apache.org/viewvc?view=rev&rev=499651
Log:
* use {project.build.outputDirectory} to refer to target/classes
* corrected some typos in docu

Modified:
    geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-ear/pom.xml
    geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/sample-docu.jsp

Modified: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-ear/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-ear/pom.xml?view=diff&rev=499651&r1=499650&r2=499651
==============================================================================
--- geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-ear/pom.xml (original)
+++ geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-ear/pom.xml Wed
Jan 24 18:44:53 2007
@@ -92,7 +92,7 @@
                         <groupId>org.apache.geronimo.plugins</groupId>
                         <artifactId>geronimo-maven-plugin</artifactId>
                         <configuration>
-                            <modulePlan>${project.build.directory}/classes/META-INF/geronimo-application.xml</modulePlan>
+                            <modulePlan>${project.build.outputDirectory}/META-INF/geronimo-application.xml</modulePlan>
                         </configuration>
                     </plugin>
                 </plugins>

Modified: geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/sample-docu.jsp
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/sample-docu.jsp?view=diff&rev=499651&r1=499650&r2=499651
==============================================================================
--- geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/sample-docu.jsp
(original)
+++ geronimo/samples/trunk/calculator-stateless-pojo/calculator-stateless-war/src/main/webapp/sample-docu.jsp
Wed Jan 24 18:44:53 2007
@@ -89,12 +89,12 @@
   <H3>Dependency Injection</H3>
   <font style="font-size:12px">
   Notice that the servlet <A HREF="./xref/org/apache/geronimo/samples/calculator/CalculatorServlet.html"
target="source_window"><CODE>CalculatorServlet.java</CODE></A> 
-  declares an instance variable whose an @EJB annotation. The variable is that of a session
bean and it's type is the same as that of it's business interface. 
+  declares an instance variable with an @EJB annotation. The variable is that of a session
bean and it's type is the same as that of it's business interface. 
   In earlier versions, the servlet would have done a JNDI lookup of the bean's home interface
in the component's environment. 
   It then would have had to create the instance using the create method of the home interface.

   However in Java EE 5.0, the servlet can just declare its dependency on the bean by just
annotating the instance variable with the @EJB annotation. 
   When the servlet instance is created during runtime, the container automatically initializes
these annotated variables with an instance of an object that implements the business interface.
-  This initialization occurs before any business methods are invoked on the bean instance
and after the time the the bean’s EJBContext is set.
+  This initialization occurs before any business methods are invoked on the bean instance
and after the time the bean’s EJBContext is set.
   </FONT>
   
   <H3>No deployment descriptor</H3>



Mime
View raw message