at-m42:lecture15
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
at-m42:lecture15 [2009/04/25 11:12] – eechris | at-m42:lecture15 [2011/01/14 12:45] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~SLIDESHOW~~ | ~~SLIDESHOW~~ | ||
- | ====== | + | ====== |
In principle, the business logic of an enterprise application could be performed by //domain objects// which implement a model of the business concept as Plain-Old Java Objects (POJOs). | In principle, the business logic of an enterprise application could be performed by //domain objects// which implement a model of the business concept as Plain-Old Java Objects (POJOs). | ||
Line 15: | Line 15: | ||
* [[#The key business tier services]] | * [[#The key business tier services]] | ||
* [[#The Java solution: Enterprise Java Beans]] | * [[#The Java solution: Enterprise Java Beans]] | ||
- | * [[# | + | * [[# |
* [[#Is the Java solution a good solution?]] | * [[#Is the Java solution a good solution?]] | ||
Line 107: | Line 107: | ||
* **[[#The key business tier services]]** | * **[[#The key business tier services]]** | ||
* [[#The Java solution: Enterprise Java Beans]] | * [[#The Java solution: Enterprise Java Beans]] | ||
- | * [[# | + | * [[# |
* [[#Is the Java solution a good solution?]] | * [[#Is the Java solution a good solution?]] | ||
Line 172: | Line 172: | ||
* [[#The key business tier services]] | * [[#The key business tier services]] | ||
* **[[#The Java solution: Enterprise Java Beans]]** | * **[[#The Java solution: Enterprise Java Beans]]** | ||
- | * [[# | + | * [[# |
* [[#Is the Java solution a good solution?]] | * [[#Is the Java solution a good solution?]] | ||
Line 273: | Line 273: | ||
* [[#The key business tier services]] | * [[#The key business tier services]] | ||
* [[#The Java solution: Enterprise Java Beans]] | * [[#The Java solution: Enterprise Java Beans]] | ||
- | * **[[# | + | * **[[# |
* [[#Is the Java solution a good solution?]] | * [[#Is the Java solution a good solution?]] | ||
Line 291: | Line 291: | ||
package uk.ac.swan.atm42.ejb; | package uk.ac.swan.atm42.ejb; | ||
- | public interface | + | public interface |
- | public String | + | public String |
} | } | ||
</ | </ | ||
Line 334: | Line 334: | ||
- The return value and arguments of all methods must be valid RMI-IIOP data types. | - The return value and arguments of all methods must be valid RMI-IIOP data types. | ||
- | ===== PerfectTimeBean | + | ===== TimeHereBean |
<code java 1| Example 4: SessionBean implemented using EJB 2 conventions> | <code java 1| Example 4: SessionBean implemented using EJB 2 conventions> | ||
Line 368: | Line 368: | ||
* EJB is now a "Plain Old Java Object" | * EJB is now a "Plain Old Java Object" | ||
- | ===== PerfectTimeBean | + | ===== TimeHereBean |
<code java 1| Example 5: SessionBean implemented using EJB 3 conventions (at-m42/ | <code java 1| Example 5: SessionBean implemented using EJB 3 conventions (at-m42/ | ||
extern> http:// | extern> http:// | ||
Line 391: | Line 391: | ||
* Here a simple Java program but could just as easily be a servlet, a JSP or even a CORBA or RMI distributed object. | * Here a simple Java program but could just as easily be a servlet, a JSP or even a CORBA or RMI distributed object. | ||
- | <code java 1|Example 7: Client program for PerfectTimeBean | + | <code java 1|Example 7: Client program for TimeHereBean |
extern> http:// | extern> http:// | ||
</ | </ | ||
- | <code java 1| Example 7: Client program for PerfectTimeBean | + | <code java 1| Example 7: Client program for TimeHereBean |
extern> http:// | extern> http:// | ||
</ | </ | ||
Line 403: | Line 403: | ||
* [[#The key business tier services]] | * [[#The key business tier services]] | ||
* [[#The Java solution: Enterprise Java Beans]] | * [[#The Java solution: Enterprise Java Beans]] | ||
- | * [[# | + | * [[# |
* **[[#Is the Java solution a good solution? | * **[[#Is the Java solution a good solution? | ||
Line 418: | Line 418: | ||
* [[#The key business tier services]] | * [[#The key business tier services]] | ||
* [[#The Java solution: Enterprise Java Beans]] | * [[#The Java solution: Enterprise Java Beans]] | ||
- | * [[# | + | * [[# |
* [[#Is the Java solution a good solution?]] | * [[#Is the Java solution a good solution?]] | ||
at-m42/lecture15.1240657947.txt.gz · Last modified: 2011/01/14 12:24 (external edit)